diff options
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Manifest.gz | bin | 6751 -> 6757 bytes | |||
-rw-r--r-- | net-p2p/mldonkey/Manifest | 4 | ||||
-rw-r--r-- | net-p2p/mldonkey/metadata.xml | 1 | ||||
-rw-r--r-- | net-p2p/mldonkey/mldonkey-3.2.1.ebuild | 128 | ||||
-rw-r--r-- | net-p2p/qbittorrent/Manifest | 10 | ||||
-rw-r--r-- | net-p2p/qbittorrent/metadata.xml | 10 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-5.0.0.ebuild (renamed from net-p2p/qbittorrent/qbittorrent-4.6.5.ebuild) | 52 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-9999.ebuild | 50 |
8 files changed, 186 insertions, 69 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz Binary files differindex 10c32d06bcb5..3e3c557ef259 100644 --- a/net-p2p/Manifest.gz +++ b/net-p2p/Manifest.gz diff --git a/net-p2p/mldonkey/Manifest b/net-p2p/mldonkey/Manifest index b108191ebb1d..d8483d7e0fb3 100644 --- a/net-p2p/mldonkey/Manifest +++ b/net-p2p/mldonkey/Manifest @@ -3,6 +3,8 @@ AUX mldonkey.confd 573 BLAKE2B 35ed4b2648f550ffaf0108485a89b8b2f49d7241b581cbe69 AUX mldonkey.initd 1488 BLAKE2B 062bc7f00dc798bab4da0a0bdef87c5d2a3388a67ceddbbbb73b2fd702225198fe575972785689201073bf2e6ff678e2ba8bc7567e54c65230c16285f94cd7e3 SHA512 2e7f9a42c3dd6f50c62ea5c031c89d0b13000d6be768d374d1ffe063f1d5d598c15862c683c989c7539f77da083ba2a86eee0154aae06b89be74d60e5e136909 AUX mldonkey.service 274 BLAKE2B 2ff70c85d4f8f07435ce973d4b8bd3f90999b433187060ebb1500f9964a5df7b3aa05cd0391efa748201b5d3ce496f985b971200bdf19e36a9edc6cf66f24fa2 SHA512 62fab67f8ca13e539b3ecfefe8d16a8cfbaad296f1a9d3f16dea8dcaa189946f2631545c940bb88e29ae119ad7285fbd7cd1cd047fe7a85b746d1ee36e13d8ce DIST mldonkey-3.1.7-2.tar.bz2 2801815 BLAKE2B f914648b4e2a358e51518f3b58dc0df803cdb28d7706783504644266690514c17c2cae0688011073391db221eb8f38c7cbaf1e913220d824e41ca2e23d4c8587 SHA512 11cb0fa0db95e918c291009f4121a1b34cf485e5ac6826a72a4dc520dd78d21ced40d205fa26eb451c7d3eb31f2193cbb64e46c99c85dc932762c1bcc4da4934 +DIST mldonkey-3.2.1.tar.bz2 2839613 BLAKE2B 87d02fb4dd81a894b241793cfe872a0e0860ca33c2dceae7c6a6b2e17b2dc8bf0352e5a8a573dc0088b62acc1e9b7ff8608514355dc96397b997117bcf7e06bf SHA512 7f2657ea3e5eedf2429b157f8157178d8357c19d323f812f3bf1cd965ee209aaa760b8af6983603eeccf53efea7321f41910eca1c5649ce1baf5bc6cf0284f0c EBUILD mldonkey-3.1.7-r3.ebuild 4795 BLAKE2B a415301f6dcb17181fca4cec52a32f605cb2962bb08a118b232fd7f981442b1e55d8cfe5caa036e80f6b2373d0ba244a8ad4e3aa4048cca8315f753da67a5f39 SHA512 98da370749cdb90c868c291344f4ffd1976f77ab4a70eb5ed39229c7c78ff3fd6a5b27eef0af2f9dca844822620b1ca132e3b4b6d43d8da4273f1b47cddb0d77 EBUILD mldonkey-3.1.7-r4.ebuild 3537 BLAKE2B 9c366a9012176eab584d6d3c9441a3d408a5127fbac2da6c9374028b221ff856e459bb588d6d169a6a7abcf30ea8b14e3d0f1196b0785d08146d0a24a64d379f SHA512 8a2254cfd4bcd00704ce5b8884e591bdb9ab7d433092a483cdab566d8d485844127319f5509862cb1b6ec946da22b43a820e770873adcff4fb845d4692b6ec1a -MISC metadata.xml 810 BLAKE2B 111ab6f9b165a59465beb7ac8c7cdf6651c72484dc2a5f77f0b6cbad44d6a71d44ca27aeb3785af9b2cbb0a5ae624b784db88b7790abdae98b36bf393a1cca08 SHA512 e59c710af7fab80b1da8ec97acd5d43cf8e725bc97c6b1d6257134e689ef6abdf9a8b5716131e512ee1ae4abc1fdb2f15a36dc09f40ef7aa726d414e2e0614a6 +EBUILD mldonkey-3.2.1.ebuild 3420 BLAKE2B 0a106d5897e56fcdb9ae8789dc117a9c9f4f573457bc7022d30a6ff0b2772eca3b036cb5457e99ab6104d471db5258be6eb8cfe4b3c346e32b5c4606b8d34196 SHA512 a9cb8cf5232a3cbd67188a1e77db9ea7498e093afb6b907d8484126f20518ddee51df49681c582b76f95edfc3b0ee0c9401779cd19c1a5342b161fa96f6b8547 +MISC metadata.xml 755 BLAKE2B eefbad9b7c93e1ceb2b95297219ba74010d3a55ba424d9567fcf3bdcd8bb56891c778d5e6fe421aca67443a7ca8e1d753247bb63ddf0c7295926c731712ff67e SHA512 39ca04ab21dda0856dcc95ad3489b1b7427fc60b18949e916c5f38fe00cfe0eae30b95280ab3806fd4f0ce72b5ababd7fb30728ff8f4a2fd76ddde2b5bc7b7a3 diff --git a/net-p2p/mldonkey/metadata.xml b/net-p2p/mldonkey/metadata.xml index 1ee19fe7c50a..9faf0e9d2cc9 100644 --- a/net-p2p/mldonkey/metadata.xml +++ b/net-p2p/mldonkey/metadata.xml @@ -16,7 +16,6 @@ <flag name="guionly">enable client build only</flag> </use> <upstream> - <remote-id type="sourceforge">mldonkey</remote-id> <remote-id type="github">ygrek/mldonkey</remote-id> </upstream> </pkgmetadata> diff --git a/net-p2p/mldonkey/mldonkey-3.2.1.ebuild b/net-p2p/mldonkey/mldonkey-3.2.1.ebuild new file mode 100644 index 000000000000..c918a08fe99c --- /dev/null +++ b/net-p2p/mldonkey/mldonkey-3.2.1.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit autotools flag-o-matic systemd toolchain-funcs + +DESCRIPTION="Multi-network P2P application written in Ocaml, with Gtk, web & telnet interface" +HOMEPAGE="https://github.com/ygrek/mldonkey" +SRC_URI="https://github.com/ygrek/mldonkey/releases/download/release-${PV//./-}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" + +IUSE="bittorrent doc fasttrack gd gnutella magic +ocamlopt upnp" + +RDEPEND="dev-lang/perl + dev-ml/camlp4:= + gd? ( media-libs/gd:2=[truetype] ) + magic? ( sys-apps/file ) + upnp? ( + net-libs/libnatpmp + net-libs/miniupnpc:= + ) + acct-user/p2p + app-arch/bzip2 + sys-libs/zlib +" +# Can't yet use newer OCaml +# -unsafe-string usage: +# https://github.com/ygrek/mldonkey/issues/46 +DEPEND="${RDEPEND} + <dev-lang/ocaml-5:=[ocamlopt?] + bittorrent? ( dev-ml/num ) +" + +RESTRICT="!ocamlopt? ( strip )" + +pkg_setup() { + # dev-lang/ocaml creates its own objects but calls gcc for linking, which will + # results in relocations if gcc wants to create a PIE executable + if gcc-specs-pie ; then + append-ldflags -nopie + ewarn "Ocaml generates its own native asm, you're using a PIE compiler" + ewarn "We have appended -nopie to ocaml build options" + ewarn "because linking an executable with pie while the objects are not pic will not work" + fi +} + +src_prepare() { + cd config || die + eautoconf + cd .. || die + if ! use ocamlopt; then + sed -i -e "s/ocamlopt/idontwantocamlopt/g" "${S}/config/configure" || die "failed to disable ocamlopt" + fi + + default +} + +src_configure() { + local myconf=() + + local my_extra_libs + if use gd; then + my_extra_libs="-lpng" + fi + + econf LIBS="${my_extra_libs}"\ + --sysconfdir=/etc/mldonkey \ + --sharedstatedir=/var/mldonkey \ + --localstatedir=/var/mldonkey \ + --enable-checks \ + --disable-batch \ + $(use_enable bittorrent) \ + $(use_enable fasttrack) \ + $(use_enable gnutella) \ + $(use_enable gnutella gnutella2) \ + $(use_enable gd) \ + $(use_enable magic) \ + $(use_enable upnp upnp-natpmp) \ + --disable-force-upnp-natpmp \ + --disable-gui + ${myconf[@]} +} + +src_compile() { + export OCAMLRUNPARAM="l=256M" + emake -j1 # Upstream bug #48 + emake utils +} + +src_install() { + local myext i + use ocamlopt || myext=".byte" + for i in mlnet mld_hash get_range copysources subconv; do + newbin "${i}${myext}" "${i}" + done + use bittorrent && newbin "make_torrent${myext}" make_torrent + + systemd_dounit "${FILESDIR}/${PN}.service" + newconfd "${FILESDIR}/mldonkey.confd" mldonkey + newinitd "${FILESDIR}/mldonkey.initd" mldonkey + + if use doc ; then + docompress -x "/usr/share/doc/${PF}/scripts" "/usr/share/doc/${PF}/html" + + dodoc distrib/ChangeLog distrib/*.txt docs/*.txt docs/*.tex docs/*.pdf docs/developers/*.{txt,tex} + + docinto scripts + dodoc distrib/{kill_mldonkey,mldonkey_command,mldonkey_previewer,make_buginfo} + + docinto html + dodoc docs/*.html + + docinto html/images + dodoc docs/images/* + fi +} + +pkg_postinst() { + if [ -f /etc/conf.d/mldonkey ] && grep -qE "^(BASEDIR|SUBDIR|LOW_DOWN|LOW_UP|HIGH_DOWN|HIGH_UP|SERVER|PORT|TELNET_PORT|USERNAME|PASSWORD|MLDONKEY_TIMEOUT)=" /etc/conf.d/mldonkey; then + ewarn "The following settings are deprecated and will be ignored," + ewarn "please remove them from /etc/conf.d/mldonkey:" + ewarn "LOW_DOWN LOW_UP HIGH_DOWN HIGH_UP SERVER PORT TELNET_PORT USERNAME PASSWORD MLDONKEY_TIMEOUT" + fi +} diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest index e28935e23e38..e47e24dc7001 100644 --- a/net-p2p/qbittorrent/Manifest +++ b/net-p2p/qbittorrent/Manifest @@ -1,13 +1,13 @@ AUX qbittorrent.confd 494 BLAKE2B 862037a6237dd0104ca0717d8cfe1cced3b0e5d15d2629e33a78bfd2ea963a47a344246a2cda085357103762427bc1142d26c53b2a3df11cee9196030ce74407 SHA512 685e65344ed313ec24b8fad48fc9b5fcfcf6ca460fd3ac30861f27e6773ce9d74d45c68b5b21c804c95f5c69fb7139d192113eddea3a8359d43e47f696662846 AUX qbittorrent.initd 911 BLAKE2B 6c776811d97d8eec38104e7fa4df6b3c80f1f50ea985c05e24034f636d73b9b0227ae34a6f4080bf25970cb0ee7ae4edd679bfb402c6d69eb59aa5b4f9c77f28 SHA512 1e1cd4d4163aeacf8c30fdd2b8842fd3565495d6ffa80189ad46a5e928c6bcb4eb30bf3c22fe14237f2e9e6b798680cab058d0a8bd7aa80e6e57a81f718b689c -DIST qbittorrent-4.6.5.tar.xz 4521852 BLAKE2B e988e73e2493d49a4f5e0ce64ac0d80ced288b9a324cbf8e31392e456aa8155a2d5d7109cd3aa0dd12e5d0332445fad2cc3b13b55e7c5844f53990a50f152e9a SHA512 a6e3c3c87eef6c547e602184105cb40da0b94d9887c61ba393bc71888943a9fa6a0fa990a7e6f69627b6d05208f7d39593ddf337125127985e90f859b6edc877 -DIST qbittorrent-4.6.5.tar.xz.asc 849 BLAKE2B c4ca92c7fc3ced048c068b9f0f805e0b511d86d30647e5310bc64ebbb186f35b6d3345436e9176e9e095ac9427d6a4b07b0bc3994e693098adfec07074e10b24 SHA512 b3c3d3740691346f3f48aa556e55702917b031d6f10802ca2a58c94097e096d2bc87d90cf2fefed30cd426f94fc108c7cbed44c95bf3cc0a0128dab0413c147b DIST qbittorrent-4.6.6.tar.xz 4524468 BLAKE2B 20141bf0bca5dd851950e070172d509b8f7d9d59125808b304ca321f31e4ed2f6fc8e012c05c37485a900db65c5e64b88b807196270a7328e2258ec550de8a7a SHA512 5062a2fe4fa821e76b6f058c1ca761572623bb2c5bf0df288119cd67563a5e2f1811b8c24bac9a9696b4620c3a1068136523add146691b483ed19e00d1000610 DIST qbittorrent-4.6.6.tar.xz.asc 849 BLAKE2B 56ec7c17d3c49661bc156400d6a721767fa2b90e9946b4a6e737fa712bc60dc61ec08a4db638dcc440875a217ae36823d645bbd2a913e14b35747a3128ad9d21 SHA512 09975d8200f9c6c46ace2de95f43f42924ddfebb3140a20f10db2389fc63f1f2117e28bc3084da5605b01a0c040f272bd1e638feea51ebcc4cd56df1e9cb2af4 DIST qbittorrent-4.6.7.tar.xz 4539016 BLAKE2B 8565fdc298e5085b10b52442874ce2d9b9f253ba57bb2d1bef065d603847e5d3d838197ea2077aa80cc3db56aea4b1100fad2d7a0398fa13128d4a064286afc6 SHA512 3664c89f91a3443c74a5c76da8f66ab595bf4f48cbba2421a287d4f8bf780e06605cd0a6fa9598a5ab09e876a46d31b2f85461ef65f17410df1914acd9d37262 DIST qbittorrent-4.6.7.tar.xz.asc 849 BLAKE2B e63d1fc1c8c6b9a70551bd717a2614b8548bd93656b578f4289d720c2784508ca90971f995fa6c8b6dc26ed6a7f976d294e44d4e384bb3de30791f26ff930017 SHA512 820e329921d23409560fa2a2f3e714b233154783da5bb8fdcf7ed70c90df69d5140d8159f8d52dc1a9b5cc32306580a08e56c02b55f0e2b00c16cbf9f6982baa -EBUILD qbittorrent-4.6.5.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172777a3c6f5ea613970f8442102044a633535adcf8b031f9da0551a2ca3ebe2032264fb8547b0020e18273849a34b67 SHA512 2fe64e7c99bc8e9cad0a623073321d16b8cd7ce80b7dfce6c8dbede8fdf0bb0f46fb31e8be123f77ea10b924dd4bedc63ffe1f4044e4b02081bffef03463ad74 +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 EBUILD qbittorrent-4.6.6.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172777a3c6f5ea613970f8442102044a633535adcf8b031f9da0551a2ca3ebe2032264fb8547b0020e18273849a34b67 SHA512 2fe64e7c99bc8e9cad0a623073321d16b8cd7ce80b7dfce6c8dbede8fdf0bb0f46fb31e8be123f77ea10b924dd4bedc63ffe1f4044e4b02081bffef03463ad74 EBUILD qbittorrent-4.6.7.ebuild 3135 BLAKE2B d500e2a486e40df93db5b0b351b7f964604fb9fc5fd00e310700d5bba6e4918cb7f6db5a25046b91cc03c38fae9eb1c1bd556391c04d26f79eddfa22cf4fa4ee SHA512 2401536a41f68cc5fae87fd0d8a5824d8c4b3ff159bd2f94a770fa0f7fe48d9c40998dc70f2762054e05587baa67954659a434652bf80a27e6c6dcfde849256b -EBUILD qbittorrent-9999.ebuild 3135 BLAKE2B d500e2a486e40df93db5b0b351b7f964604fb9fc5fd00e310700d5bba6e4918cb7f6db5a25046b91cc03c38fae9eb1c1bd556391c04d26f79eddfa22cf4fa4ee SHA512 2401536a41f68cc5fae87fd0d8a5824d8c4b3ff159bd2f94a770fa0f7fe48d9c40998dc70f2762054e05587baa67954659a434652bf80a27e6c6dcfde849256b -MISC metadata.xml 517 BLAKE2B a5d73199471ab60a22e52ddc4720c270d6dbcc4f3e3f2eb558a28ca0eb97cd8793e5aafea9839951fc26067b8e6da4582b3107dd94ca64415af298b8aad606aa SHA512 ef031bee43bef78bea23cd5bb77e2dc9d788cc97b8c4761cc5dcba1485fa2dcdc47b3cd56ffd9376c68f2541f2a89474e7516b4a7bb37a19611d469f47556435 +EBUILD qbittorrent-5.0.0.ebuild 2936 BLAKE2B 45a4c9d302848f3f06bbf3847cdd2eeab8a6e75dc87f7b9c2a4a01c0aa3de812ab4550d92b5e138684adb69802415d1091813958ca06e7fb0432dd072315ec20 SHA512 b05cc99407d53b8f3886c6e5d91d175cfc0042e32f64d8030c16e2cf69a97198e9a7c19bee687c931a2c8854f06254c6b570f31a80ada8ee366e2802821d548b +EBUILD qbittorrent-9999.ebuild 2936 BLAKE2B 45a4c9d302848f3f06bbf3847cdd2eeab8a6e75dc87f7b9c2a4a01c0aa3de812ab4550d92b5e138684adb69802415d1091813958ca06e7fb0432dd072315ec20 SHA512 b05cc99407d53b8f3886c6e5d91d175cfc0042e32f64d8030c16e2cf69a97198e9a7c19bee687c931a2c8854f06254c6b570f31a80ada8ee366e2802821d548b +MISC metadata.xml 870 BLAKE2B c6cd86df29112cf22aacaa1aeab2e7a89e079c3a69c20cda566b7f41cf3cf4927372634eb31c7eb98466bb7507d201ebddd11fe1dd7f3fbfb3c6bda7fcfdaf6b SHA512 e74f65416253e8ec68d1ca0062766eef5b2e040c1dcbee77675afb7c6ac9ccbcada48028ebc1db80783c22d58be0dad9fe2075ab9e350b359fab2c5b987cc040 diff --git a/net-p2p/qbittorrent/metadata.xml b/net-p2p/qbittorrent/metadata.xml index 39a17e7714e6..f62d4813b542 100644 --- a/net-p2p/qbittorrent/metadata.xml +++ b/net-p2p/qbittorrent/metadata.xml @@ -5,13 +5,21 @@ <email>eschwartz@gentoo.org</email> <name>Eli Schwartz</name> </maintainer> + <maintainer type="person" proxied="yes"> + <email>fkobi@pm.me</email> + <name>Filip Kobierski</name> + </maintainer> <use> <flag name="webui"> Install qBittorrent Web UI (qbittorrent-nox) and systemd/OpenRC service </flag> </use> <upstream> - <remote-id type="github">qbittorrent/qBittorrent</remote-id> + <bugs-to>https://github.com/qbittorrent/qBittorrent/issues</bugs-to> <changelog>https://www.qbittorrent.org/news</changelog> + <doc>https://github.com/qbittorrent/qBittorrent/wiki</doc> + <remote-id type="github">qbittorrent/qBittorrent</remote-id> + <!-- Sourceforge hosts the distfiles. + Ignore the "redirection" and "missing remote-id" warnings --> </upstream> </pkgmetadata> diff --git a/net-p2p/qbittorrent/qbittorrent-4.6.5.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.0.ebuild index d003502d13d5..e40ab0f8d98e 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.6.5.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-5.0.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake edo multibuild systemd verify-sig xdg +inherit cmake edo multibuild optfeature systemd verify-sig xdg DESCRIPTION="BitTorrent client in C++ and Qt" HOMEPAGE="https://www.qbittorrent.org" @@ -16,42 +16,29 @@ 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 fi -LICENSE="GPL-2" +LICENSE="GPL-2+ GPL-3+" SLOT="0" -IUSE="+dbus +gui qt6 systemd test webui" +IUSE="+dbus +gui systemd test webui" RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( gui webui ) +REQUIRED_USE=" + || ( gui webui ) dbus? ( gui ) " RDEPEND=" - >=dev-libs/openssl-1.1.1:= + >=dev-libs/openssl-3.0.2:= >=net-libs/libtorrent-rasterbar-1.2.19:= >=sys-libs/zlib-1.2.11 - qt6? ( >=dev-qt/qtbase-6.2: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 - ) + >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml] gui? ( - !qt6? ( - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dbus? ( dev-qt/qtdbus:5 ) - ) - qt6? ( - >=dev-qt/qtbase-6.2:6[dbus?,gui,widgets] - >=dev-qt/qtsvg-6.2:6 - ) + >=dev-qt/qtbase-6.5:6[dbus?,gui,widgets] + >=dev-qt/qtsvg-6.5:6 ) webui? ( acct-group/qbittorrent @@ -60,14 +47,12 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - >=dev-libs/boost-1.71 - test? ( - !qt6? ( dev-qt/qttest:5 ) - )" + >=dev-libs/boost-1.76 +" BDEPEND+=" - !qt6? ( dev-qt/linguist-tools:5 ) - qt6? ( >=dev-qt/qttools-6.2:6[linguist] ) - virtual/pkgconfig" + >=dev-qt/qttools-6.5:6[linguist] + virtual/pkgconfig +" DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) @@ -86,7 +71,6 @@ src_configure() { -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) ) @@ -143,3 +127,9 @@ src_install() { 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-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index 534975068940..e40ab0f8d98e 100644 --- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake edo multibuild systemd verify-sig xdg +inherit cmake edo multibuild optfeature systemd verify-sig xdg DESCRIPTION="BitTorrent client in C++ and Qt" HOMEPAGE="https://www.qbittorrent.org" @@ -22,36 +22,23 @@ else VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/qBittorrent.asc fi -LICENSE="GPL-2" +LICENSE="GPL-2+ GPL-3+" SLOT="0" -IUSE="+dbus +gui qt6 systemd test webui" +IUSE="+dbus +gui systemd test webui" RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( gui webui ) +REQUIRED_USE=" + || ( gui webui ) dbus? ( gui ) " RDEPEND=" - >=dev-libs/openssl-1.1.1:= + >=dev-libs/openssl-3.0.2:= >=net-libs/libtorrent-rasterbar-1.2.19:= >=sys-libs/zlib-1.2.11 - qt6? ( >=dev-qt/qtbase-6.2: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 - ) + >=dev-qt/qtbase-6.5:6[network,ssl,sql,sqlite,xml] gui? ( - !qt6? ( - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dbus? ( dev-qt/qtdbus:5 ) - ) - qt6? ( - >=dev-qt/qtbase-6.2:6[dbus?,gui,widgets] - >=dev-qt/qtsvg-6.2:6 - ) + >=dev-qt/qtbase-6.5:6[dbus?,gui,widgets] + >=dev-qt/qtsvg-6.5:6 ) webui? ( acct-group/qbittorrent @@ -60,14 +47,12 @@ RDEPEND=" " DEPEND=" ${RDEPEND} - >=dev-libs/boost-1.71 - test? ( - !qt6? ( dev-qt/qttest:5 ) - )" + >=dev-libs/boost-1.76 +" BDEPEND+=" - !qt6? ( dev-qt/linguist-tools:5 ) - qt6? ( >=dev-qt/qttools-6.2:6[linguist] ) - virtual/pkgconfig" + >=dev-qt/qttools-6.5:6[linguist] + virtual/pkgconfig +" DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) @@ -86,7 +71,6 @@ src_configure() { -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) ) @@ -143,3 +127,9 @@ src_install() { newinitd "${FILESDIR}/${PN}.initd" "${PN}" fi } + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "I2P anonymyzing network support" net-vpn/i2pd net-vpn/i2p +} |