summaryrefslogtreecommitdiff
path: root/net-p2p
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-26 23:40:45 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-26 23:40:45 +0000
commite53a98716127eb7be20f46713a7442d5b8820633 (patch)
tree65a649f66422bc6677cae851cf42a166e45d2ced /net-p2p
parentfab95e98818bada1626a7723a1348f4e920d25e0 (diff)
gentoo auto-resync : 26:02:2024 - 23:40:45
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/Manifest.gzbin6913 -> 6913 bytes
-rw-r--r--net-p2p/qbittorrent/Manifest9
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.2-r1.ebuild104
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.4.ebuild104
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.5-r1.ebuild137
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild149
6 files changed, 0 insertions, 503 deletions
diff --git a/net-p2p/Manifest.gz b/net-p2p/Manifest.gz
index ef3ec621256f..aa7eca20ddae 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 0b5caae7f367..861a8342991e 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -1,18 +1,9 @@
AUX qbittorrent.confd 494 BLAKE2B 862037a6237dd0104ca0717d8cfe1cced3b0e5d15d2629e33a78bfd2ea963a47a344246a2cda085357103762427bc1142d26c53b2a3df11cee9196030ce74407 SHA512 685e65344ed313ec24b8fad48fc9b5fcfcf6ca460fd3ac30861f27e6773ce9d74d45c68b5b21c804c95f5c69fb7139d192113eddea3a8359d43e47f696662846
AUX qbittorrent.initd 911 BLAKE2B 6c776811d97d8eec38104e7fa4df6b3c80f1f50ea985c05e24034f636d73b9b0227ae34a6f4080bf25970cb0ee7ae4edd679bfb402c6d69eb59aa5b4f9c77f28 SHA512 1e1cd4d4163aeacf8c30fdd2b8842fd3565495d6ffa80189ad46a5e928c6bcb4eb30bf3c22fe14237f2e9e6b798680cab058d0a8bd7aa80e6e57a81f718b689c
-DIST qbittorrent-4.5.2.tar.gz 8890525 BLAKE2B 48585b703ce6edf862ea3c8cfad6cab2edcb65a138c6e8d232322b4f4fd682c87447ff11d29c04c26b5623e730ab9a1ce0496456b3ba6122f97913bd92b86790 SHA512 e900a1c5f0f70163463557aec3de0d31394fac56cfed91ea53ee5cf852cce4b2998bf79be60fc547c1c34a1658378f3ed9dbfb30aae5a772b85d819c7e7ce458
-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.5.5.tar.xz 4352524 BLAKE2B 16252e43ca7dc5090bd385079ee2116cb03945808a0a5150ff9fa3573f31eab1ecfa9daff4bb1fd250373b282fb38902c169d412f5c24588eececd2446b8f988 SHA512 178e41d97067f94ff9d24cc62a24178c260116c1e4d6a12785fcb392d8391664c9ae054b46c623510a11c3ee753ae115fbfc40db09ddc4dc218c4b28942062ea
-DIST qbittorrent-4.5.5.tar.xz.asc 849 BLAKE2B d9d3d18c0c26898eccbad2c92b62f4f72f71f132cfbad5aa7ecefe0bde70f1e5890a2b6051178e98eacafb770a58ec3f55d6d0f5d29c5c32ffc33b4b47667b54 SHA512 3a7215d711fa89e88c47cebdfed57d059dad93836b2dd75b89e39ea46c97820212efb01334eee6149adca3b8dc0eec88f0be6ed71fca8764871428a992409d66
DIST qbittorrent-4.6.2.tar.xz 4506224 BLAKE2B 74c2fa8ffdb6e0787559e943dd6e2c4d09b4d6bc6c72db01e47a001a99599bf7d6b12c0cd954b8db3bdacd2db5bb445d28e04d6abe6114b05242c3f5b5b2b56d SHA512 e4363a30bd722d4bd8144c484830caad5610ca273d40395e593e5b37b94f11f4a786481a770b847ee24517cb355d9bc2e27d07f2c66d4e852d1061a8edb7a75f
DIST qbittorrent-4.6.2.tar.xz.asc 849 BLAKE2B 639dc8a75a926c9ec7ff42e52c93d33aa5494b6c64848778ad885d059c0272239c92fa935bcdab6477c4a20329d2c7538bdb9df5893a5e4264a604e264ed911e SHA512 ced33ae194a18c82c39318c07f160d5cc4a4f7ebebffb03cb16a555e4f277ad8d1305ec0e7c476bb51c5c50004501dbde6a729d05f1b557138414bab52ee21f9
DIST qbittorrent-4.6.3.tar.xz 4512004 BLAKE2B b97022d2380e4cc1c4fdd06e7365136978f64b3ed98a4521e34197dcfa86c6e4032e0f9f7de1310a100a924f9a5250b145236d87f28317c4a79fe5d130d858b6 SHA512 13a7952bc8d0e57c24fcfb00ab8c7e5a1fdcb9c4755cb50f7f6b94a5cb01657e3b21996ff581366d957eaa36d90e14003c544c2376150d6041f14f42c4a03adc
DIST qbittorrent-4.6.3.tar.xz.asc 849 BLAKE2B 34f61400fd340dd3770c600e57be36a434c5fcfed1d2d8ad9e050e7112a141f7aec3e6f94d3bcd7a893a7969344f6d7120aa908a3c8ed9451a475bd25a98a53a SHA512 0d2420be78fd66a7f1e0e8797f73fcbe462f08640adbc0c681f9321423eefb7805d3267ab144e8934f00a7ebeac0931f16c9fef199196e222b57a0153916696e
-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 2802 BLAKE2B 97e857d935338e92f916b0e0f91d169ec26141e863903ef32b1607c5b28f5ef60eb60f65def605b62678f6951d90df6d9e4af6ae59e9eb69326d1ceb7c1b5021 SHA512 1f2fbc6774467124e0547913aa9416dcf1b5dd7e26fbd873cc5835c3fbf372badda82000a2c493350b4cff9b2ee618081bc441bf326f6a6611f23d39d22fce80
-EBUILD qbittorrent-4.5.5-r2.ebuild 3085 BLAKE2B 9ec72e9538d1c35b6970bff9efbf2c116cb3347a4a8e4084706127d569edf39efc8184417fa8d31f8420e745ce23824e8905d87cac484e7339388e9e8686e9ec SHA512 50e12a9888784f12fc424eeae6084d87ff475574d5aa5bc29147179657b2b0fb0afb8d7fdb09bbadf3e7b86440e77279b4159304b5d9c6ccbab1654783671917
EBUILD qbittorrent-4.6.2-r1.ebuild 3107 BLAKE2B e38e756149fda77ae6b43d1445e6aefb4ed8a0489475d0d37719cb1a1355fc5e6ebbf0ac958bb3be81e5273f02758d6a1a56be7cd9d18cfcd50c423505002ba4 SHA512 7552ae7b519b8eda63e47f908868c47d9cc5258ec16813c58d38df5cab82aa03f9c9cf67ee096ee3c0e4c6b703b6c83785476523f14e53951ee50fd9c6b35252
EBUILD qbittorrent-4.6.3.ebuild 3107 BLAKE2B e38e756149fda77ae6b43d1445e6aefb4ed8a0489475d0d37719cb1a1355fc5e6ebbf0ac958bb3be81e5273f02758d6a1a56be7cd9d18cfcd50c423505002ba4 SHA512 7552ae7b519b8eda63e47f908868c47d9cc5258ec16813c58d38df5cab82aa03f9c9cf67ee096ee3c0e4c6b703b6c83785476523f14e53951ee50fd9c6b35252
EBUILD qbittorrent-9999.ebuild 3109 BLAKE2B f30cf9a49a7f53aa6590090aa7ca08be6d34d9edbf374d85e3fc57cf803c2420535208f561d1fb5fd34b0d0642d15ef460bfc24eba06b920d03d6d944801c297 SHA512 f82c047e2f4e8e25b8661cd69a07ddae2fd3a946e5af12659948ff900dd3d04bf01eb7025c3b2d1794a9e1e7fb8714902596e319ffedf4cf88d76fbd81a989a7
diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.2-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.2-r1.ebuild
deleted file mode 100644
index dde05ed0e8f3..000000000000
--- a/net-p2p/qbittorrent/qbittorrent-4.5.2-r1.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 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/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-2:=
- >=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}
- dev-libs/boost"
-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.4.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.4.ebuild
deleted file mode 100644
index dde05ed0e8f3..000000000000
--- a/net-p2p/qbittorrent/qbittorrent-4.5.4.ebuild
+++ /dev/null
@@ -1,104 +0,0 @@
-# Copyright 1999-2023 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/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-2:=
- >=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}
- dev-libs/boost"
-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.5-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.5-r1.ebuild
deleted file mode 100644
index 76ee9ad37ae8..000000000000
--- a/net-p2p/qbittorrent/qbittorrent-4.5.5-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 2023-2024 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 test webui systemd"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( gui webui )"
-
-RDEPEND="
- >=dev-libs/openssl-1.1.1:=
- >=net-libs/libtorrent-rasterbar-1.2.18:=
- >=sys-libs/zlib-1.2.11
- virtual/libiconv
- gui? (
- dev-libs/geoip
- !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
- )
- acct-group/qbittorrent
- acct-user/qbittorrent"
-DEPEND="
- ${RDEPEND}
- dev-libs/boost
- test? (
- !qt6? ( dev-qt/qttest:5 )
- )"
-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}"
-}
diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild
deleted file mode 100644
index a98b2347ddef..000000000000
--- a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake edo multibuild 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="
- mirror://sourceforge/qbittorrent/${P}.tar.xz
- verify-sig? ( mirror://sourceforge/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"
-SLOT="0"
-IUSE="+dbus +gui qt6 test webui systemd"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="|| ( gui webui )
- dbus? ( gui )
-"
-
-RDEPEND="
- >=dev-libs/openssl-1.1.1:=
- >=net-libs/libtorrent-rasterbar-1.2.18:=
- >=sys-libs/zlib-1.2.11
- 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
- )
- )
- 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
- )
- webui? (
- acct-group/qbittorrent
- acct-user/qbittorrent
- )
-"
-DEPEND="
- ${RDEPEND}
- dev-libs/boost
- test? (
- !qt6? ( dev-qt/qttest:5 )
- )"
-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() {
- # 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
-}