diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-01-27 22:42:39 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-01-27 22:42:39 +0000 |
commit | 417348c68a53a9317b6afbf343381518a405f682 (patch) | |
tree | 2436ae4cc1751690d448293f351e3fa529909437 /net-p2p | |
parent | 4f5eafd9cc8e9b40e20b0a1abd96f1bcd634d0a0 (diff) |
gentoo auto-resync : 27:01:2025 - 22:42:39
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/Manifest.gz | bin | 6768 -> 6771 bytes | |||
-rw-r--r-- | net-p2p/qbittorrent/Manifest | 5 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild | 4 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild | 135 |
4 files changed, 141 insertions, 3 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz Binary files differindex 23aa9603f4ce..27b20b78f4f7 100644 --- a/net-p2p/Manifest.gz +++ b/net-p2p/Manifest.gz diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest index d0a9a5a0cc60..9d1b57862755 100644 --- a/net-p2p/qbittorrent/Manifest +++ b/net-p2p/qbittorrent/Manifest @@ -6,8 +6,11 @@ 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 EBUILD qbittorrent-4.6.7.ebuild 3133 BLAKE2B 22bbb7549b402d91a0626f2bd0b55c88172777a3c6f5ea613970f8442102044a633535adcf8b031f9da0551a2ca3ebe2032264fb8547b0020e18273849a34b67 SHA512 2fe64e7c99bc8e9cad0a623073321d16b8cd7ce80b7dfce6c8dbede8fdf0bb0f46fb31e8be123f77ea10b924dd4bedc63ffe1f4044e4b02081bffef03463ad74 EBUILD qbittorrent-5.0.1.ebuild 2934 BLAKE2B 95119b2fb76fb06613c0b840e237afa60e574572b990f7c38247302f33be0a14fb4a09754ae65765cdda76be75fff7d7955c3c5ebdb6974748950f8bb6aa1471 SHA512 25929cdb070bbc85e500fbabb5bf7ceaadc395c3d9f2ca97d6a84568ac22d2c3067e6b68839108bd08f9601c617bf890736a88b5c990f3fd1ecc82a36900b7a3 -EBUILD qbittorrent-5.0.2.ebuild 2936 BLAKE2B 45a4c9d302848f3f06bbf3847cdd2eeab8a6e75dc87f7b9c2a4a01c0aa3de812ab4550d92b5e138684adb69802415d1091813958ca06e7fb0432dd072315ec20 SHA512 b05cc99407d53b8f3886c6e5d91d175cfc0042e32f64d8030c16e2cf69a97198e9a7c19bee687c931a2c8854f06254c6b570f31a80ada8ee366e2802821d548b +EBUILD qbittorrent-5.0.2.ebuild 2935 BLAKE2B 1cd06f2b04fe61bbd752a24dc15b39d604fbc443ad50557b2093a08306536fe0a27be0e33afc7e854952507badd365b587d9f184ff99f49d89b3e0d108490344 SHA512 d692e419fc11a9c153206d51a05c2a062e8328c699647219c61e813204b8224263cc4fdf485d9c77b699de06033344d79852f8b64578968e94354e817f319a42 +EBUILD qbittorrent-5.0.3.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/qbittorrent-5.0.2.ebuild b/net-p2p/qbittorrent/qbittorrent-5.0.2.ebuild index e40ab0f8d98e..7b8e8b552237 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 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 000000000000..e40ab0f8d98e --- /dev/null +++ b/net-p2p/qbittorrent/qbittorrent-5.0.3.ebuild @@ -0,0 +1,135 @@ +# 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 ) + + 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 +} |