summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-11-26 10:34:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-11-26 10:34:57 +0000
commit6819e3514f137590abb4b6a9a7ec68f82d4e8d4d (patch)
treea180edfec1f5b5e91db0b4cbcffc23d261d40e7d /net-p2p
parentc5ca18eee76dfed87e06ea7b99017878b77d4d24 (diff)
gentoo auto-resync : 26:11:2023 - 10:34:57
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6922 -> 6924 bytes
-rw-r--r--net-p2p/qbittorrent/Manifest2
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.6.1.ebuild132
3 files changed, 134 insertions, 0 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index 3615fa5f02e4..576ff120a51f 100644
--- a/net-p2p/Manifest.gz
+++ b/net-p2p/Manifest.gz
Binary files differ
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index 6a927f2617ea..e9d9c3e7958f 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -4,9 +4,11 @@ DIST qbittorrent-4.5.2.tar.gz 8890525 BLAKE2B 48585b703ce6edf862ea3c8cfad6cab2ed
DIST qbittorrent-4.5.4.tar.gz 8791236 BLAKE2B 70b3194d6c4819655998406e0a13d22f3a5068e724048010daebd83d8b8db9e17daee943ca8dabaacd92a0fbc5249257de6d175b35287c748dc2d15395bd71fc SHA512 2e7988922137c9fade99e90236cc0c5b8b30f09021472f8ffc9048a7a2d989925eed7bfab4d79c93ca7d0f21acfde2e7feee5e6c43b557bf2c6f472fd52fbcea
DIST qbittorrent-4.5.5.tar.gz 8802492 BLAKE2B 1d20d7900b5b65603c5cf13452fb5aebe396473290d4904641b78867c5345d783482c46edc7042a2e86e79afd790e8c470df62131595eba288f195cc5e716eec SHA512 8b5c2654b3bc03c0b4de77e8388ee543c3892ef9453749ea737aaee999a16d50bd1b30ebe0519a86d7ab8ffc6224d7d9cf678464aebf96433cd71dd57b46dd53
DIST qbittorrent-4.6.0.tar.gz 9024538 BLAKE2B 5addeee21c9a5f05ca4b33a908c6480948dd22cc03524baf8f06429c2f1abb3c88115a53d434023e379561dda27ae43336068071c7f92949c550f6f8b4336a87 SHA512 217b3efe9c8e98eb5c9457d9aede91034b27f85a57ff93d57f51485b5224e85c63b51645b3f5126a51e48894d5065ed2ae3929dcabfcbbe6b036270286ffef3a
+DIST qbittorrent-4.6.1.tar.gz 9054911 BLAKE2B ace2f102f21287d7005fdd383bd44bed17894ad370ec7782684669f07c537e0c773acc90e89105794c02c023a4116dbe00fc99ba4ffae49c18159854baca9e5d SHA512 ed6db8174562cd2b96fec1e0c1532a65507cb7034841c9424f654a33866cbf9edc5974f101f0c01cd6c8fd7d76380b4252c4a804ee9776b34ec8ad1b386bdcd1
EBUILD qbittorrent-4.5.2-r1.ebuild 2193 BLAKE2B a1cca9de23750e3a0b3a724f7ba21b0b398a97202fc0a41fd8efb10039e5e4a67bf97c97d4662855672c85ec398718699c2befd953339dac42259a49142ba2a8 SHA512 2c06ef6f6c768ed51f769a367fee57c82948f7d09d578c0bd1408e4ac7a525b4ca003b0124d77b666014b483792084262bb7be5be905a4ef09285b3d59bdebae
EBUILD qbittorrent-4.5.4.ebuild 2193 BLAKE2B a1cca9de23750e3a0b3a724f7ba21b0b398a97202fc0a41fd8efb10039e5e4a67bf97c97d4662855672c85ec398718699c2befd953339dac42259a49142ba2a8 SHA512 2c06ef6f6c768ed51f769a367fee57c82948f7d09d578c0bd1408e4ac7a525b4ca003b0124d77b666014b483792084262bb7be5be905a4ef09285b3d59bdebae
EBUILD qbittorrent-4.5.5-r1.ebuild 2832 BLAKE2B 2d860392538a555d287637f6093bc0a63a9fd596015bccc99547ab0ce4dc7d3db0016e5481555dcf67c70ee220f17342d32ce2555dbf1c9430e969bc31aa9c3d SHA512 2f65b8783aa8e09f4610ec019b70a7b25daa5e49443e13936263e0687cfecb5790a4265ca8f119fa4df513caf7fa5c6941787bef5a2b809c2583425b5e398c04
EBUILD qbittorrent-4.6.0.ebuild 2813 BLAKE2B 669ab3d20fcb3eb4a0f151a5d74e8c8626b6e0867d2bee6d2615f8c7c0c696ec700336e410f6f91f5545ecac32a80a5f0f2585fc3f24ed9bd8c4c397b8e26a03 SHA512 b931620bdd20ec21132fe28107275d63013b9ede54f431ca5b322d8d280148414372b96c70b6a6f08365a1100036275909b9f81e665a477eb111d66952ba9e97
+EBUILD qbittorrent-4.6.1.ebuild 2790 BLAKE2B 875d411245c52e53fb4a4ec4ca2a097bfdddda61f428d1968eca0ff94fb549255e063a4bdfd6c8e352543133f113adbc6f7ec0fa10f55faa66f29c6eddfbade9 SHA512 4e617107d06acfa936ed682ecb9275469571a7ed207915940574138f9196936f21e16f7fc4cd4e1e85b6635a668f135ebf4ba16a34eedef69a212c8db43f9ccb
EBUILD qbittorrent-9999.ebuild 2832 BLAKE2B 2d860392538a555d287637f6093bc0a63a9fd596015bccc99547ab0ce4dc7d3db0016e5481555dcf67c70ee220f17342d32ce2555dbf1c9430e969bc31aa9c3d SHA512 2f65b8783aa8e09f4610ec019b70a7b25daa5e49443e13936263e0687cfecb5790a4265ca8f119fa4df513caf7fa5c6941787bef5a2b809c2583425b5e398c04
MISC metadata.xml 682 BLAKE2B b95ac37db808995fd7eb868d0e944d41c328fb084e9e2ac0d04a55ba6505cad9fb215922af491492b9caaaf66114330f71560f954dfc07e653b6490271aa3b1d SHA512 5b5752a6079f9919521c4e4f7af3ab5dbfddbb3b7d8f49a68513ebb2eb90b0170e3cc44fcf85d4f6d321294f2b9e9bae3f89ee7c17d1ca17fce11de912d867b9
diff --git a/net-p2p/qbittorrent/qbittorrent-4.6.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.6.1.ebuild
new file mode 100644
index 000000000000..af2d2004687f
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-4.6.1.ebuild
@@ -0,0 +1,132 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo multibuild systemd xdg
+
+DESCRIPTION="BitTorrent client in C++ and Qt"
+HOMEPAGE="https://www.qbittorrent.org"
+
+if [[ ${PV} == *9999 ]]; then
+ EGIT_REPO_URI="https://github.com/qbittorrent/qBittorrent.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ S="${WORKDIR}"/qBittorrent-release-${PV}
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+dbus +gui qt6 systemd test webui"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="|| ( gui webui )"
+
+RDEPEND="
+ acct-group/qbittorrent
+ acct-user/qbittorrent
+ >=dev-libs/openssl-1.1.1:=
+ >=net-libs/libtorrent-rasterbar-1.2.18:=
+ >=sys-libs/zlib-1.2.11
+ qt6? ( dev-qt/qtbase:6[network,ssl,sql,sqlite,xml] )
+ !qt6? (
+ dev-qt/qtcore:5
+ dev-qt/qtnetwork:5[ssl]
+ dev-qt/qtsql:5[sqlite]
+ dev-qt/qtxml:5
+ )
+ gui? (
+ !qt6? (
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dbus? ( dev-qt/qtdbus:5 )
+ )
+ qt6? (
+ dev-qt/qtbase:6[dbus?,gui,widgets]
+ dev-qt/qtsvg:6
+ )
+ )"
+DEPEND="
+ ${RDEPEND}
+ dev-libs/boost
+ test? (
+ !qt6? ( dev-qt/qttest:5 )
+ qt6? ( dev-qt/qtbase:6[test] )
+ )"
+BDEPEND="
+ !qt6? ( dev-qt/linguist-tools:5 )
+ qt6? ( dev-qt/qttools:6[linguist] )
+ virtual/pkgconfig"
+
+DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md )
+
+src_prepare() {
+ MULTIBUILD_VARIANTS=()
+ use gui && MULTIBUILD_VARIANTS+=( gui )
+ use webui && MULTIBUILD_VARIANTS+=( nogui )
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ my_src_configure() {
+ local mycmakeargs=(
+ # musl lacks execinfo.h
+ -DSTACKTRACE=$(usex !elibc_musl)
+ # More verbose build logs are preferable for bug reports
+ -DVERBOSE_CONFIGURE=ON
+ -DQT6=$(usex qt6)
+ -DWEBUI=$(usex webui)
+ -DTESTING=$(usex test)
+ )
+
+ if [[ ${MULTIBUILD_VARIANT} == "gui" ]]; then
+ # We do this in multibuild, see bug #839531 for why.
+ # Fedora has to do the same thing.
+ mycmakeargs+=(
+ -DGUI=ON
+ -DDBUS=$(usex dbus)
+ -DSYSTEMD=OFF
+ )
+ else
+ mycmakeargs+=(
+ -DGUI=OFF
+ -DDBUS=OFF
+ )
+
+ use systemd && mycmakeargs+=(
+ # The systemd service calls qbittorrent-nox, which is only
+ # installed when GUI=OFF.
+ -DSYSTEMD=ON
+ -DSYSTEMD_SERVICES_INSTALL_DIR="$(systemd_get_systemunitdir)"
+ )
+ fi
+
+ cmake_src_configure
+ }
+
+ multibuild_foreach_variant my_src_configure
+}
+
+src_compile() {
+ multibuild_foreach_variant cmake_src_compile
+}
+
+src_test() {
+ my_src_test() {
+ cd "${BUILD_DIR}"/test || die
+ edo ctest .
+ }
+
+ multibuild_foreach_variant my_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant cmake_src_install
+ einstalldocs
+
+ newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+ newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+}