public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/libressl:master commit in: net-p2p/qbittorrent/
@ 2024-11-13  2:30 orbea
  0 siblings, 0 replies; 4+ messages in thread
From: orbea @ 2024-11-13  2:30 UTC (permalink / raw
  To: gentoo-commits

commit:     0d5e42dca08c9ed418bfae7aa860ff3ba2b4aaaa
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Wed Nov 13 02:26:46 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Wed Nov 13 02:26:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=0d5e42dc

net-p2p/qbittorrent: add 5.0.1, drop 5.0.0

Signed-off-by: orbea <orbea <AT> riseup.net>

 net-p2p/qbittorrent/Manifest                                          | 4 ++--
 .../{qbittorrent-5.0.0.ebuild => qbittorrent-5.0.1.ebuild}            | 0
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index 5aca384..a8a2c63 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -1,2 +1,2 @@
-DIST qbittorrent-5.0.0.tar.xz 4512592 BLAKE2B 156a2aae2c45d877197d50ec0c42b003dcb290d2e612b93d94f10c1c1b55fb24d6bc37cfd489b70f545bb4f390ee35634a808992441ce49e7e27de5ecb508943 SHA512 ab480c181f3a43a3e248daa35d3d3e0b121eb80bfd8a4a4d63fd504ba26441a31e7ca563fe80bc520ad1219104cf929460cfc0a5cfdad13ad61a5a316deeb695
-DIST qbittorrent-5.0.0.tar.xz.asc 849 BLAKE2B c3fee4711f51491c26ca7669ce8746853b886334454b1b6a7ae0fb61e2634cfe3172c00f3b0ac2c1ca498b23969c3d6ac3095fbb380e9a3626a1923705a40fb3 SHA512 60589122b9030f17afa766a757992134430f7bb32ee97acc5f544dcac99f82a0fc00411d46a11c52f350790f86fa686158e06c74cc53dbabcfc96ebb5f4af09e
+DIST qbittorrent-5.0.1.tar.xz 4539900 BLAKE2B c10c183750929da0a1c365668472495afcdc8e677e2cfc8693ade0bb5ad97c522eeb2a0f4ad81d4e997419ad58a596ad6ad0185273d2c0f2c920f1e7239a3326 SHA512 a7bbfb762f60bea9cb0fa3870753171fb6f946790da0e4125fa11d6c1cd6a7548307c506e9947e0676d0c66ee7cdbaefa80a513c436d2e0d0c6383bc390c12d2
+DIST qbittorrent-5.0.1.tar.xz.asc 849 BLAKE2B 881abc7bfb0b65da82e2f5fdaca4ee152b7dafcd11e425416244e682f94af8f68b6f365cc36361909179d9d867047a532efae54dc5454c371cef7b05c7dc8830 SHA512 a75860dcc9e1fc9162c7460b56723586d6ed434f01c2d4e628884e5146ef59d904c864eeff80753d374c2eeb86d59c90a954518b3a2b68d279787313fcfd8a96

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.0.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.1.ebuild
similarity index 100%
rename from net-p2p/qbittorrent/qbittorrent-5.0.0.ebuild
rename to net-p2p/qbittorrent/qbittorrent-5.0.1.ebuild


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/libressl:master commit in: net-p2p/qbittorrent/
@ 2024-11-26 18:34 orbea
  0 siblings, 0 replies; 4+ messages in thread
From: orbea @ 2024-11-26 18:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3d88048cddc1b9331ceea347fa7918b38afa5adb
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Tue Nov 26 18:27:04 2024 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Tue Nov 26 18:27:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=3d88048c

net-p2p/qbittorrent: add 5.0.2

Signed-off-by: orbea <orbea <AT> riseup.net>

 net-p2p/qbittorrent/Manifest                 |   2 +
 net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild | 138 +++++++++++++++++++++++++++
 2 files changed, 140 insertions(+)

diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index a8a2c63..d027422 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -1,2 +1,4 @@
 DIST qbittorrent-5.0.1.tar.xz 4539900 BLAKE2B c10c183750929da0a1c365668472495afcdc8e677e2cfc8693ade0bb5ad97c522eeb2a0f4ad81d4e997419ad58a596ad6ad0185273d2c0f2c920f1e7239a3326 SHA512 a7bbfb762f60bea9cb0fa3870753171fb6f946790da0e4125fa11d6c1cd6a7548307c506e9947e0676d0c66ee7cdbaefa80a513c436d2e0d0c6383bc390c12d2
 DIST qbittorrent-5.0.1.tar.xz.asc 849 BLAKE2B 881abc7bfb0b65da82e2f5fdaca4ee152b7dafcd11e425416244e682f94af8f68b6f365cc36361909179d9d867047a532efae54dc5454c371cef7b05c7dc8830 SHA512 a75860dcc9e1fc9162c7460b56723586d6ed434f01c2d4e628884e5146ef59d904c864eeff80753d374c2eeb86d59c90a954518b3a2b68d279787313fcfd8a96
+DIST qbittorrent-5.0.2.tar.xz 4544624 BLAKE2B 6e651f3aa4254344a9f41cf507154062ee829d34b7dff553d4745594a5d5f73e71af30bc525adb460c56e8e76afe73d1630dd5b9e8dfae75e0222501a0dde897 SHA512 1834a3bce051c1c707c4cf7282241a2985a4d090c69cc62d634033b3c85cac2421a16d510041e5961c31202ae8f304d726c320819591bc4a093d6fd39c80b517
+DIST qbittorrent-5.0.2.tar.xz.asc 849 BLAKE2B 50bf568304b894b228ea92ec4c63e9caa0c59bded5c1b16b034084364f1819816e6d437db64eaf670474e224184e9709acad089d522a54d78a12f8b5b19e6746 SHA512 33854f521881547177590c03be82a61d2eee13fd62a541287626c66b90f0f10e05bc7cbd085caa40d6ed3dcc7a8f585d0466d537e5ff5a50bc728d60d63f6519

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild
new file mode 100644
index 0000000..d89451c
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild
@@ -0,0 +1,138 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo multibuild optfeature systemd verify-sig 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://downloads.sourceforge.net/qbittorrent/${P}.tar.xz
+		verify-sig? ( https://downloads.sourceforge.net/qbittorrent/${P}.tar.xz.asc )
+	"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-qbittorrent )"
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+IUSE="+dbus +gui systemd test webui"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	|| ( gui webui )
+	dbus? ( gui )
+"
+
+RDEPEND="
+	>=dev-libs/openssl-3.0.2:=
+	>=net-libs/libtorrent-rasterbar-1.2.19:=
+	>=sys-libs/zlib-1.2.11
+	>=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
+	gui? (
+		>=dev-qt/qtbase-6.5:6[dbus?,gui,widgets]
+		>=dev-qt/qtsvg-6.5:6
+	)
+	webui? (
+		acct-group/qbittorrent
+		acct-user/qbittorrent
+	)
+"
+DEPEND="
+	${RDEPEND}
+	>=dev-libs/boost-1.76
+"
+BDEPEND+="
+	>=dev-qt/qttools-6.5: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 )
+
+	# Detect LibreSSL
+	sed -e 's/minOpenSSLVersion 3.0.2/minOpenSSLVersion 2.0.0/' -i CMakeLists.txt || die
+
+	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
+			-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() {
+		# cmake does not detect tests by default, if you use enable_testing
+		# in a subdirectory instead of the root CMakeLists.txt
+		cd "${BUILD_DIR}"/test || die
+		edo ctest .
+	}
+
+	multibuild_foreach_variant my_src_test
+}
+
+src_install() {
+	multibuild_foreach_variant cmake_src_install
+	einstalldocs
+
+	if use webui; then
+		newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+		newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+	fi
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/libressl:master commit in: net-p2p/qbittorrent/
@ 2025-05-22 19:28 orbea
  0 siblings, 0 replies; 4+ messages in thread
From: orbea @ 2025-05-22 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     35d838ca168acfe3f9e99cfe22de52d814da38c7
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu May 22 18:26:54 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Thu May 22 18:26:54 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=35d838ca

net-p2p/qbittorrent: stabilize 5.0.2 for amd64, x86

Signed-off-by: orbea <orbea <AT> riseup.net>

 net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild
index d89451c..9c691cb 100644
--- a/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ else
 		https://downloads.sourceforge.net/qbittorrent/${P}.tar.xz
 		verify-sig? ( https://downloads.sourceforge.net/qbittorrent/${P}.tar.xz.asc )
 	"
-	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
 
 	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-qbittorrent )"
 	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/libressl:master commit in: net-p2p/qbittorrent/
@ 2025-05-22 19:28 orbea
  0 siblings, 0 replies; 4+ messages in thread
From: orbea @ 2025-05-22 19:28 UTC (permalink / raw
  To: gentoo-commits

commit:     902f76ab8e88b8e8f9023a2baad608d8da1e0fd8
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Thu May 22 18:30:34 2025 +0000
Commit:     orbea <orbea <AT> riseup <DOT> net>
CommitDate: Thu May 22 18:30:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=902f76ab

net-p2p/qbittorrent: add 5.0.3, 5.0.4

Signed-off-by: orbea <orbea <AT> riseup.net>

 net-p2p/qbittorrent/Manifest                 |   4 +
 net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild | 138 +++++++++++++++++++++++++++
 net-p2p/qbittorrent/qbittorrent-5.0.4.ebuild | 137 ++++++++++++++++++++++++++
 3 files changed, 279 insertions(+)

diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index d027422..1b05e69 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -2,3 +2,7 @@ DIST qbittorrent-5.0.1.tar.xz 4539900 BLAKE2B c10c183750929da0a1c365668472495afc
 DIST qbittorrent-5.0.1.tar.xz.asc 849 BLAKE2B 881abc7bfb0b65da82e2f5fdaca4ee152b7dafcd11e425416244e682f94af8f68b6f365cc36361909179d9d867047a532efae54dc5454c371cef7b05c7dc8830 SHA512 a75860dcc9e1fc9162c7460b56723586d6ed434f01c2d4e628884e5146ef59d904c864eeff80753d374c2eeb86d59c90a954518b3a2b68d279787313fcfd8a96
 DIST qbittorrent-5.0.2.tar.xz 4544624 BLAKE2B 6e651f3aa4254344a9f41cf507154062ee829d34b7dff553d4745594a5d5f73e71af30bc525adb460c56e8e76afe73d1630dd5b9e8dfae75e0222501a0dde897 SHA512 1834a3bce051c1c707c4cf7282241a2985a4d090c69cc62d634033b3c85cac2421a16d510041e5961c31202ae8f304d726c320819591bc4a093d6fd39c80b517
 DIST qbittorrent-5.0.2.tar.xz.asc 849 BLAKE2B 50bf568304b894b228ea92ec4c63e9caa0c59bded5c1b16b034084364f1819816e6d437db64eaf670474e224184e9709acad089d522a54d78a12f8b5b19e6746 SHA512 33854f521881547177590c03be82a61d2eee13fd62a541287626c66b90f0f10e05bc7cbd085caa40d6ed3dcc7a8f585d0466d537e5ff5a50bc728d60d63f6519
+DIST qbittorrent-5.0.3.tar.xz 4548636 BLAKE2B 8aa605fc0815486d5a2df8dc7f9478cdc1d78c4b98ce666ac103db87ac8935a155398228c3c60f02b20766f7c31338de69466116dc8a16b89f5c0b2b25a9426f SHA512 7537d622d66055b83595e06d19d9705f3ecea189c6d8e7107c808e372d63445de2fe49f7e3cfeb5916781fe83a2a5c591514d5e3d4c049115bf78bcc9d5607a8
+DIST qbittorrent-5.0.3.tar.xz.asc 849 BLAKE2B 1fab6ee6dd98f0cb401f8e5e2dd6e7167ddc3e5f457dde34d25cfb8d81e471ed36fb8511981e87cef5f8d5fac4b8a1460fc59a6f708c0e4ffccda997054af675 SHA512 4d3406108e78d299d8115b7170ed7e337c01f88158b81c259116e01173ce0e9e3870c23e4dde421da1132c41aeb35786ce6c77a1261a61426914a5f1780589e3
+DIST qbittorrent-5.0.4.tar.xz 4555524 BLAKE2B d9351c99078a400dbbe5f6e3fce44d552336d44e6bf3ee576cb1244952d9a52d499c7fd7d5bb828f5d9963e5da1ccd0c30e114e7f6efae521c3c67f3f259ed3f SHA512 6d026c1dc5fdee81b15d1cc542626a459650bbb2340d4774cabcdfc3feed4294f92c556d6d2f26009ccc4492d181d6d553cb6cb6fa5a1123650434dcc6b8cb65
+DIST qbittorrent-5.0.4.tar.xz.asc 849 BLAKE2B 9f41ededb1af2580b43aaf6402beb95094325686a7898d75579b5c1a92ef09d0822a6d2468d01e2248923784b97a2bc6e0c4341eef6d2444df935aaea2315215 SHA512 ad2d3647080b69579d898f0aea1666f9ae54df911137ce7477caa89c940e3f8963470c76ab60ef6e43072a1116627a36fae9e9fdf0018b5b02e5edb476143e7b

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild
new file mode 100644
index 0000000..9c691cb
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild
@@ -0,0 +1,138 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo multibuild optfeature systemd verify-sig 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://downloads.sourceforge.net/qbittorrent/${P}.tar.xz
+		verify-sig? ( https://downloads.sourceforge.net/qbittorrent/${P}.tar.xz.asc )
+	"
+	KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
+
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-qbittorrent )"
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc
+fi
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+IUSE="+dbus +gui systemd test webui"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	|| ( gui webui )
+	dbus? ( gui )
+"
+
+RDEPEND="
+	>=dev-libs/openssl-3.0.2:=
+	>=net-libs/libtorrent-rasterbar-1.2.19:=
+	>=sys-libs/zlib-1.2.11
+	>=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
+	gui? (
+		>=dev-qt/qtbase-6.5:6[dbus?,gui,widgets]
+		>=dev-qt/qtsvg-6.5:6
+	)
+	webui? (
+		acct-group/qbittorrent
+		acct-user/qbittorrent
+	)
+"
+DEPEND="
+	${RDEPEND}
+	>=dev-libs/boost-1.76
+"
+BDEPEND+="
+	>=dev-qt/qttools-6.5: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 )
+
+	# Detect LibreSSL
+	sed -e 's/minOpenSSLVersion 3.0.2/minOpenSSLVersion 2.0.0/' -i CMakeLists.txt || die
+
+	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
+			-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() {
+		# cmake does not detect tests by default, if you use enable_testing
+		# in a subdirectory instead of the root CMakeLists.txt
+		cd "${BUILD_DIR}"/test || die
+		edo ctest .
+	}
+
+	multibuild_foreach_variant my_src_test
+}
+
+src_install() {
+	multibuild_foreach_variant cmake_src_install
+	einstalldocs
+
+	if use webui; then
+		newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+		newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+	fi
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p
+}

diff --git a/net-p2p/qbittorrent/qbittorrent-5.0.4.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.4.ebuild
new file mode 100644
index 0000000..dc4fed2
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-5.0.4.ebuild
@@ -0,0 +1,137 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake edo multibuild optfeature systemd verify-sig 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://downloads.sourceforge.net/qbittorrent/${P}.tar.xz
+		verify-sig? ( https://downloads.sourceforge.net/qbittorrent/${P}.tar.xz.asc )
+	"
+	KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+
+	BDEPEND="verify-sig? ( sec-keys/openpgp-keys-qbittorrent )"
+	VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc
+fi
+
+LICENSE="GPL-2+-with-openssl-exception GPL-3+-with-openssl-exception"
+SLOT="0"
+IUSE="+dbus +gui systemd test webui"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+	|| ( gui webui )
+	dbus? ( gui )
+"
+
+RDEPEND="
+	>=dev-libs/openssl-3.0.2:=
+	>=net-libs/libtorrent-rasterbar-1.2.19:=
+	>=sys-libs/zlib-1.2.11
+	>=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml]
+	gui? (
+		>=dev-qt/qtbase-6.5:6[dbus?,gui,widgets]
+		>=dev-qt/qtsvg-6.5:6
+	)
+	webui? (
+		acct-group/qbittorrent
+		acct-user/qbittorrent
+	)
+"
+DEPEND="
+	${RDEPEND}
+	>=dev-libs/boost-1.76
+"
+BDEPEND+="
+	>=dev-qt/qttools-6.5:6[linguist]
+	virtual/pkgconfig
+"
+
+DOCS=( AUTHORS Changelog {CONTRIBUTING,README}.md )
+
+src_prepare() {
+	MULTIBUILD_VARIANTS=()
+	use gui && MULTIBUILD_VARIANTS+=( gui )
+	use webui && MULTIBUILD_VARIANTS+=( nogui )
+
+	# Detect LibreSSL
+	sed -e 's/minOpenSSLVersion 3.0.2/minOpenSSLVersion 2.0.0/' -i CMakeLists.txt || die
+
+	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
+			-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() {
+		# cmake does not detect tests by default, if you use enable_testing
+		# in a subdirectory instead of the root CMakeLists.txt
+		cd "${BUILD_DIR}"/test || die
+		edo ctest .
+	}
+
+	multibuild_foreach_variant my_src_test
+}
+
+src_install() {
+	multibuild_foreach_variant cmake_src_install
+
+	if use webui; then
+		newconfd "${FILESDIR}/${PN}.confd" "${PN}"
+		newinitd "${FILESDIR}/${PN}.initd" "${PN}"
+	fi
+}
+
+pkg_postinst() {
+	xdg_pkg_postinst
+
+	optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-05-22 19:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13  2:30 [gentoo-commits] repo/proj/libressl:master commit in: net-p2p/qbittorrent/ orbea
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26 18:34 orbea
2025-05-22 19:28 orbea
2025-05-22 19:28 orbea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox