From 51e7ea94956939599972c733f5b65fe71c7eb857 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Feb 2023 14:11:13 +0000 Subject: gentoo auto-resync : 18:02:2023 - 14:11:13 --- net-p2p/Manifest.gz | Bin 7423 -> 7425 bytes net-p2p/qbittorrent/Manifest | 13 +-- net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild | 68 -------------- net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild | 109 ---------------------- net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild | 107 --------------------- net-p2p/qbittorrent/qbittorrent-4.4.4.ebuild | 108 --------------------- net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild | 103 -------------------- net-p2p/qbittorrent/qbittorrent-4.5.1.ebuild | 103 ++++++++++++++++++++ net-p2p/qbittorrent/qbittorrent-9999.ebuild | 64 ++++++++----- 9 files changed, 145 insertions(+), 530 deletions(-) delete mode 100644 net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild delete mode 100644 net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild delete mode 100644 net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild delete mode 100644 net-p2p/qbittorrent/qbittorrent-4.4.4.ebuild delete mode 100644 net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild create mode 100644 net-p2p/qbittorrent/qbittorrent-4.5.1.ebuild (limited to 'net-p2p') diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz index c453eedecde4..7fb7cf19e33c 100644 Binary files a/net-p2p/Manifest.gz and b/net-p2p/Manifest.gz differ diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest index d226f0a30fd0..b0b8f706489b 100644 --- a/net-p2p/qbittorrent/Manifest +++ b/net-p2p/qbittorrent/Manifest @@ -1,13 +1,6 @@ -DIST qbittorrent-4.3.9.tar.gz 8510414 BLAKE2B de98aff6d81f43c3ad87f6c5f800a4488e18173fb96713d0a2420cf4d4708c9b1f2f54c8d0aa566e7738b4f94d192aad9f0196a05d43724582ef81833901727f SHA512 ec33f67895fbf47acc2f79d9c9e16db8b96c756cf493b76eb24b90e13a790a709104ea9aa378ee111d8c38b605bed5192b366d1917bbf160b21aa2ae3aacd2d1 -DIST qbittorrent-4.4.3.1.tar.gz 7736308 BLAKE2B 9177f0c629418a5f9e7f117b7d1f990181ef910193fed9763f2137cbc91c9de07ad96884d57e96782b5a2f6089fe73d3fab0a2f2f54f72dd8c2cec00dd179e5f SHA512 e3d63c4090e27387f4a5524d0daab26eab70f70ef81ad607e9661e128ccccbf33f2d240cd219bbb1fb138d6e78493ce73055d5128bf888e0ad3949922774efba -DIST qbittorrent-4.4.4.tar.gz 7738480 BLAKE2B 2a3157a732fda6eaff809d3ea717ebcc2cb7f4364cc3209bd1836196541e83cf8c7430b32037a6a6c4f517d17edb576dd80c834185d7cb764567bd5ce699bd52 SHA512 3bd26021f45287ff5b6c9a1629ff470204121c4056d452a5c00bc94b69a198093127916d33797b357eaacdb9ffd01d0de13daecb7503088cde440d5e4895ec3e DIST qbittorrent-4.4.5.tar.gz 7739170 BLAKE2B b40a3ca63c787e0b9b9aac00a6fef452b461ba36b1ef030bc3cdd5fbefcca42d58ff6c3bd382e49f7937161afc6a37bc2c29de4f804db10c7031b9f1ad5f4e2b SHA512 a2b6ecd9a6f087a7ecaad2774d395ee4b2164cb8540b9f32574640f485fa3fc8688046d30e0179863a0aff1524d69b83c00bc232c7feb9ad737c79a05734ad95 -DIST qbittorrent-4.5.0.tar.gz 8703851 BLAKE2B 1d124921726124650073f5ae2bc078213d82d95b5986145f8570da3af38bc3f70e67046cf22db2e3a196343715b60c0896ed933bec45f5d746e6ad410748223d SHA512 3a7ae1e5d8b92748ea87b3bd07ea76fc19f4ce1c5cfbb76e57dae3e4fee1ca1c4d650db28e9571463c34b9d1af7c7c8475851911398f57e24b395223683727e7 -EBUILD qbittorrent-4.3.9.ebuild 1362 BLAKE2B 6106817ed42c625617fd496dc1eae4a28f87688bd10d5608a78d55d4dd7b36f55f3f43ee8e5724cf9a1a1d97a6617bb7e1a580fe4eec34b5b5a1db2eb91d1379 SHA512 2b799366d1e5900ca8f379aaa2effb52a429047cf413fbb994746bb64abb94d7cca043ee7cedb045dc65dd10e719486fae9888ed7437602709822029b78bd7f4 -EBUILD qbittorrent-4.4.3.1-r1.ebuild 2352 BLAKE2B 230145a96bdbc09cb22e4cb50a884747cb2f839be1f64b887e5d5d62c788accee17d93fba183ffd12a055b9bf57faf220f47f1b261ed088b0e811f9c4521075a SHA512 b5ce026aa2709b21ccbc6dc838ed297ef9859ad6230abebc112f63932a123b43f0dddd0650138c30f9b22a73d7b955438f294783da6e557c848ceb789e485f4d -EBUILD qbittorrent-4.4.3.1.ebuild 2246 BLAKE2B f3371154bc570260986ac64cb0939701feaf9f337a3a091d2f2febc84014942995310b40dcfe55d01914de4d78cadbc82b38f893af087ed0f355347000049981 SHA512 bdcefaf7424e155bab24545de21691050966b352cc6a56ba6855de1ef49b7c4bcc9ba4618be7ee25e692e9989a9c056b602d1d2263940bf7b6772681b058667e -EBUILD qbittorrent-4.4.4.ebuild 2341 BLAKE2B ee24cf7b2eea7eed8c5693b52a59ba14ee55fff3c82b485e020d8a9de8dd757c0ec91b9795b883fc9829bc457c3c44a89adcf226fae9ecb60c9fd2ade0520cca SHA512 62ddd28777814c08af483d0c4fa36bb2409ae567b6bbb1f40f9740b41cc63e03203e18959a45205ba67f052fa9a394199e09a60bfde16c3e3a217747b22f84ef +DIST qbittorrent-4.5.1.tar.gz 8780065 BLAKE2B 5c910722d778272972b90f8a2680b0450ea4220a760335e09bf078a63bbdc0c35788de6d75375c4de808582f386cc7d4c372b87d3a6308aa41f575a72927de5e SHA512 46042e55618b9bb24b61b88695a2ab01e5aef39fcad465d47aabe9965d2b66c96e0f35af49bb19b597c009de5b844969819d9dc700b883b1c0d99e2b9671f405 EBUILD qbittorrent-4.4.5-r2.ebuild 2198 BLAKE2B caf8f385026da31d28caf3df67e9bc6f640763a409ac07a16e9e44e442cf09e1c696c50d286da1973ed1243b9f841c06d137f59157fd1464d04e85e79182e1a5 SHA512 8da09c0b5d4748f8b44dd31227ce8a8997bba4a8deaf26e0d3577b7348965552c7c09e082f966b09548e0dd1dcd382bfbf8d0f22cdd4f3980b896ee2c0947dec -EBUILD qbittorrent-4.5.0.ebuild 2195 BLAKE2B df816dc9932e40ded609e03e260439197cd6163018bb50261285d2276aef8cc9e422609838021923e5e92c7948c9942684b12cfe479866bf180dc82c0387d881 SHA512 3c2bcbfe186383ebe4c33dc81ccb3d0d763b4a79bc9e3e1db6ed1a7467803bc8164e737d686dd53e73f8c5b081edbd7006d750a8a7ea2cda92e8c77900cad2c1 -EBUILD qbittorrent-9999.ebuild 2400 BLAKE2B 43bd3d95c41f48a9559a6d1ea4425dd6403829f578eced5ad8ff573d78ed5eef728abd43fcee20ffaffe6076bf633aebe76e24af791e8864cc0971b7a5d2bb7a SHA512 29cd2977a885952192ce2d5580e38be1dfaf734cf665a528a384894ef905ef210d30c0c6919113a1134458e70101b68117ec732c0d8ea554698a3275af038edb +EBUILD qbittorrent-4.5.1.ebuild 2195 BLAKE2B df816dc9932e40ded609e03e260439197cd6163018bb50261285d2276aef8cc9e422609838021923e5e92c7948c9942684b12cfe479866bf180dc82c0387d881 SHA512 3c2bcbfe186383ebe4c33dc81ccb3d0d763b4a79bc9e3e1db6ed1a7467803bc8164e737d686dd53e73f8c5b081edbd7006d750a8a7ea2cda92e8c77900cad2c1 +EBUILD qbittorrent-9999.ebuild 2654 BLAKE2B 829ac53a41b19cff2d3e5ef336a318a7c7cdd549170309efe097a8a0269d121c26aaf165f5e23aeadb4420069af7ca6f8ce8ac3921442d88fe7ff71e4b052f1a SHA512 3b31f1b971842302b126da635e0b7982f148cb0dd71f57ff0a95a0707140cfb0f61237709fa70d94a6b1945b0667d42af99893dc1bc724afde2cfe142046d954 MISC metadata.xml 458 BLAKE2B 8c13d95038dafa12073f44243d8881ec80deaf0f4802da0590b944a4eb99731e6ac8064b0c24a1ef5e7228409ecb5c37031efe6f14bd949170cbc25efd06fb5b SHA512 550b920dfb04cc2b18d1c993af8fe989fd4b7e58a97dd619f45b08eb051b9ceb7f22f0defe9c2bda40bea3e626c9f32b47903474f6216f8ebdcdf40f44b9fe3d diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild b/net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild deleted file mode 100644 index 90ba6c0b58a6..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit xdg-utils - -DESCRIPTION="BitTorrent client in C++ and Qt" -HOMEPAGE="https://www.qbittorrent.org - https://github.com/qbittorrent" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" -else - SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~ppc64 x86" - S="${WORKDIR}/qBittorrent-release-${PV}" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus debug webui +X" -REQUIRED_USE="dbus? ( X )" - -RDEPEND=" - dev-libs/boost:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtxml:5 - >=net-libs/libtorrent-rasterbar-1.2.12:0= - sys-libs/zlib - dbus? ( dev-qt/qtdbus:5 ) - X? ( - dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND} - dev-qt/linguist-tools:5" - -BDEPEND="virtual/pkgconfig" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) - -src_configure() { - econf \ - $(use_enable dbus qt-dbus) \ - $(use_enable debug) \ - $(use_enable webui) \ - $(use_enable X gui) -} - -src_install() { - emake STRIP="/bin/false" INSTALL_ROOT="${D}" install - einstalldocs -} - -pkg_postinst() { - xdg_icon_cache_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_icon_cache_update - xdg_desktop_database_update -} diff --git a/net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild deleted file mode 100644 index 90f3d561373a..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild +++ /dev/null @@ -1,109 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake multibuild systemd xdg - -DESCRIPTION="BitTorrent client in C++ and Qt" -HOMEPAGE="https://www.qbittorrent.org - https://github.com/qbittorrent" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" -else - SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" - S="${WORKDIR}/qBittorrent-release-${PV}" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus +gui webui" -REQUIRED_USE="dbus? ( gui ) - || ( gui webui )" - -RDEPEND=" - dev-libs/boost:= - dev-libs/openssl:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtxml:5 - >=net-libs/libtorrent-rasterbar-1.2.14:= - sys-libs/zlib - dbus? ( dev-qt/qtdbus:5 ) - gui? ( - dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5 - virtual/pkgconfig" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) - -src_prepare() { - MULTIBUILD_VARIANTS=( base ) - use webui && MULTIBUILD_VARIANTS+=( webui ) - - cmake_src_prepare -} - -src_configure() { - multibuild_src_configure() { - local mycmakeargs=( - -DDBUS=$(usex dbus) - - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - - # We always want to install unit files - -DSYSTEMD=ON - -DSYSTEMD_SERVICES_INSTALL_DIR=$(systemd_get_systemunitdir) - - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - - # Not yet in ::gentoo - -DQT6=OFF - - # We do these in multibuild, see bug #839531 for why. - # Fedora has to do the same thing. - -DGUI=$(usex gui) - ) - - if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then - mycmakeargs+=( - # Need to specify GUI here to allow webui settings - # to appear in the GUI. bug #864731. - -DGUI=$(usex gui) - -DWEBUI=ON - ) - else - mycmakeargs+=( -DWEBUI=OFF ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant multibuild_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install - - if ! use webui ; then - # No || die deliberately as it doesn't always exist - rm "${D}/$(systemd_get_systemunitdir)"/qbittorrent-nox*.service - fi - - einstalldocs -} diff --git a/net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild deleted file mode 100644 index 94ae8dbb81fc..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-4.4.3.1.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake multibuild systemd xdg - -DESCRIPTION="BitTorrent client in C++ and Qt" -HOMEPAGE="https://www.qbittorrent.org - https://github.com/qbittorrent" - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git" -else - SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" - S="${WORKDIR}/qBittorrent-release-${PV}" -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus +gui webui" -REQUIRED_USE="dbus? ( gui ) - || ( gui webui )" - -RDEPEND=" - dev-libs/boost:= - dev-libs/openssl:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtxml:5 - >=net-libs/libtorrent-rasterbar-1.2.14:= - sys-libs/zlib - dbus? ( dev-qt/qtdbus:5 ) - gui? ( - dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5 - virtual/pkgconfig" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) - -src_prepare() { - MULTIBUILD_VARIANTS=( base ) - use webui && MULTIBUILD_VARIANTS+=( webui ) - - cmake_src_prepare -} - -src_configure() { - multibuild_src_configure() { - local mycmakeargs=( - -DDBUS=$(usex dbus) - - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - - # We always want to install unit files - -DSYSTEMD=ON - -DSYSTEMD_SERVICES_INSTALL_DIR=$(systemd_get_systemunitdir) - - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - - # Not yet in ::gentoo - -DQT6=OFF - - # We do these in multibuild, see bug #839531 for why. - # Fedora has to do the same thing. - -DGUI=$(usex gui) - ) - - if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then - mycmakeargs+=( - -DGUI=OFF - -DWEBUI=ON - ) - else - mycmakeargs+=( -DWEBUI=OFF ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant multibuild_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install - - if ! use webui ; then - # No || die deliberately as it doesn't always exist - rm "${D}/$(systemd_get_systemunitdir)"/qbittorrent-nox*.service - fi - - einstalldocs -} diff --git a/net-p2p/qbittorrent/qbittorrent-4.4.4.ebuild b/net-p2p/qbittorrent/qbittorrent-4.4.4.ebuild deleted file mode 100644 index c84808b9cbcc..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-4.4.4.ebuild +++ /dev/null @@ -1,108 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake 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 ~x86" - S="${WORKDIR}"/qBittorrent-release-${PV} -fi - -LICENSE="GPL-2" -SLOT="0" -IUSE="+dbus +gui webui" -REQUIRED_USE="dbus? ( gui ) - || ( gui webui )" - -RDEPEND=" - dev-libs/boost:= - >=dev-libs/openssl-1.1.1:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtxml:5 - >=net-libs/libtorrent-rasterbar-1.2.14:= - >=sys-libs/zlib-1.2.11 - dbus? ( dev-qt/qtdbus:5 ) - gui? ( - dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5 - virtual/pkgconfig" - -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO ) - -src_prepare() { - MULTIBUILD_VARIANTS=( base ) - use webui && MULTIBUILD_VARIANTS+=( webui ) - - cmake_src_prepare -} - -src_configure() { - multibuild_src_configure() { - local mycmakeargs=( - -DDBUS=$(usex dbus) - - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - - # We always want to install unit files - -DSYSTEMD=ON - -DSYSTEMD_SERVICES_INSTALL_DIR=$(systemd_get_systemunitdir) - - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - - # Not yet in ::gentoo - -DQT6=OFF - - # We do these in multibuild, see bug #839531 for why. - # Fedora has to do the same thing. - -DGUI=$(usex gui) - ) - - if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then - mycmakeargs+=( - # Need to specify GUI here to allow webui settings - # to appear in the GUI. bug #864731. - -DGUI=$(usex gui) - -DWEBUI=ON - ) - else - mycmakeargs+=( -DWEBUI=OFF ) - fi - - cmake_src_configure - } - - multibuild_foreach_variant multibuild_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install - - if ! use webui ; then - # No || die deliberately as it doesn't always exist - rm "${D}/$(systemd_get_systemunitdir)"/qbittorrent-nox*.service - fi - - einstalldocs -} diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild deleted file mode 100644 index c12b6e9850c3..000000000000 --- a/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake 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 webui" -REQUIRED_USE="dbus? ( gui ) - || ( gui webui )" - -RDEPEND=" - dev-libs/boost:= - >=dev-libs/openssl-1.1.1:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtxml:5 - =sys-libs/zlib-1.2.11 - dbus? ( dev-qt/qtdbus:5 ) - gui? ( - dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - )" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5 - 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() { - multibuild_src_configure() { - local mycmakeargs=( - # musl lacks execinfo.h - -DSTACKTRACE=$(usex !elibc_musl) - - # More verbose build logs are preferable for bug reports - -DVERBOSE_CONFIGURE=ON - - # Not yet in ::gentoo - -DQT6=OFF - - -DWEBUI=$(usex webui) - ) - - 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 - # 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 multibuild_src_configure -} - -src_compile() { - multibuild_foreach_variant cmake_src_compile -} - -src_install() { - multibuild_foreach_variant cmake_src_install - einstalldocs -} diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.1.ebuild new file mode 100644 index 000000000000..c12b6e9850c3 --- /dev/null +++ b/net-p2p/qbittorrent/qbittorrent-4.5.1.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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 webui" +REQUIRED_USE="dbus? ( gui ) + || ( gui webui )" + +RDEPEND=" + dev-libs/boost:= + >=dev-libs/openssl-1.1.1:= + dev-qt/qtcore:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtsql:5 + dev-qt/qtxml:5 + =sys-libs/zlib-1.2.11 + dbus? ( dev-qt/qtdbus:5 ) + gui? ( + dev-libs/geoip + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + )" +DEPEND="${RDEPEND}" +BDEPEND="dev-qt/linguist-tools:5 + 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() { + multibuild_src_configure() { + local mycmakeargs=( + # musl lacks execinfo.h + -DSTACKTRACE=$(usex !elibc_musl) + + # More verbose build logs are preferable for bug reports + -DVERBOSE_CONFIGURE=ON + + # Not yet in ::gentoo + -DQT6=OFF + + -DWEBUI=$(usex webui) + ) + + 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 + # 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 multibuild_src_configure +} + +src_compile() { + multibuild_foreach_variant cmake_src_compile +} + +src_install() { + multibuild_foreach_variant cmake_src_install + einstalldocs +} diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index c6292efff901..42048dfcddbe 100644 --- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake multibuild systemd xdg +inherit cmake edo multibuild systemd xdg DESCRIPTION="BitTorrent client in C++ and Qt" HOMEPAGE="https://www.qbittorrent.org" @@ -13,35 +13,50 @@ if [[ ${PV} == *9999 ]]; then inherit git-r3 else SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" S="${WORKDIR}"/qBittorrent-release-${PV} fi LICENSE="GPL-2" SLOT="0" -IUSE="+dbus +gui test webui" +IUSE="+dbus +gui qt6 test webui" RESTRICT="!test? ( test )" -REQUIRED_USE="dbus? ( gui ) - || ( gui webui )" +REQUIRED_USE="|| ( gui webui )" RDEPEND=" dev-libs/boost:= >=dev-libs/openssl-1.1.1:= - dev-qt/qtcore:5 - dev-qt/qtnetwork:5[ssl] - dev-qt/qtsql:5 - dev-qt/qtxml:5 - >=net-libs/libtorrent-rasterbar-1.2.14:= + >=net-libs/libtorrent-rasterbar-1.2.18:= >=sys-libs/zlib-1.2.11 - dbus? ( dev-qt/qtdbus:5 ) + virtual/libiconv gui? ( dev-libs/geoip - dev-qt/qtgui:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 + !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 + ) + ) + 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 + )" +DEPEND="${RDEPEND} + test? ( + !qt6? ( dev-qt/qttest:5 ) + qt6? ( dev-qt/qtbase:6[test] ) )" -DEPEND="${RDEPEND}" -BDEPEND="dev-qt/linguist-tools:5 +BDEPEND=" + !qt6? ( dev-qt/linguist-tools:5 ) + qt6? ( dev-qt/qttools:6[linguist] ) virtual/pkgconfig" DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) @@ -55,7 +70,7 @@ src_prepare() { } src_configure() { - multibuild_src_configure() { + my_src_configure() { local mycmakeargs=( # musl lacks execinfo.h -DSTACKTRACE=$(usex !elibc_musl) @@ -63,15 +78,14 @@ src_configure() { # More verbose build logs are preferable for bug reports -DVERBOSE_CONFIGURE=ON - # Not yet in ::gentoo - -DQT6=OFF + -DQT6=$(usex qt6) -DWEBUI=$(usex webui) -DTESTING=$(usex test) ) - if [[ ${MULTIBUILD_VARIANT} == gui ]] ; then + if [[ ${MULTIBUILD_VARIANT} == "gui" ]]; then # We do this in multibuild, see bug #839531 for why. # Fedora has to do the same thing. mycmakeargs+=( @@ -93,7 +107,7 @@ src_configure() { cmake_src_configure } - multibuild_foreach_variant multibuild_src_configure + multibuild_foreach_variant my_src_configure } src_compile() { @@ -101,12 +115,12 @@ src_compile() { } src_test() { - qbittorrent_run_tests() { + my_src_test() { cd "${BUILD_DIR}"/test || die - ctest . || die + edo ctest . } - multibuild_foreach_variant qbittorrent_run_tests + multibuild_foreach_variant my_src_test } src_install() { -- cgit v1.2.3