summaryrefslogtreecommitdiff
path: root/net-p2p/qbittorrent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-03-02 01:27:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-03-02 01:27:32 +0000
commit5711c6777e7610093a43849c3d874c52ac421b64 (patch)
treecb47974f149d4411c941df05d333b935a53c4db7 /net-p2p/qbittorrent
parent93d7658008fb431ae469d5b6356fd53390998561 (diff)
gentoo auto-resync : 02:03:2023 - 01:27:32
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r--net-p2p/qbittorrent/Manifest2
-rw-r--r--net-p2p/qbittorrent/qbittorrent-4.5.2.ebuild103
2 files changed, 105 insertions, 0 deletions
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index b0b8f706489b..e2d06e2194fe 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -1,6 +1,8 @@
DIST qbittorrent-4.4.5.tar.gz 7739170 BLAKE2B b40a3ca63c787e0b9b9aac00a6fef452b461ba36b1ef030bc3cdd5fbefcca42d58ff6c3bd382e49f7937161afc6a37bc2c29de4f804db10c7031b9f1ad5f4e2b SHA512 a2b6ecd9a6f087a7ecaad2774d395ee4b2164cb8540b9f32574640f485fa3fc8688046d30e0179863a0aff1524d69b83c00bc232c7feb9ad737c79a05734ad95
DIST qbittorrent-4.5.1.tar.gz 8780065 BLAKE2B 5c910722d778272972b90f8a2680b0450ea4220a760335e09bf078a63bbdc0c35788de6d75375c4de808582f386cc7d4c372b87d3a6308aa41f575a72927de5e SHA512 46042e55618b9bb24b61b88695a2ab01e5aef39fcad465d47aabe9965d2b66c96e0f35af49bb19b597c009de5b844969819d9dc700b883b1c0d99e2b9671f405
+DIST qbittorrent-4.5.2.tar.gz 8890525 BLAKE2B 48585b703ce6edf862ea3c8cfad6cab2edcb65a138c6e8d232322b4f4fd682c87447ff11d29c04c26b5623e730ab9a1ce0496456b3ba6122f97913bd92b86790 SHA512 e900a1c5f0f70163463557aec3de0d31394fac56cfed91ea53ee5cf852cce4b2998bf79be60fc547c1c34a1658378f3ed9dbfb30aae5a772b85d819c7e7ce458
EBUILD qbittorrent-4.4.5-r2.ebuild 2198 BLAKE2B caf8f385026da31d28caf3df67e9bc6f640763a409ac07a16e9e44e442cf09e1c696c50d286da1973ed1243b9f841c06d137f59157fd1464d04e85e79182e1a5 SHA512 8da09c0b5d4748f8b44dd31227ce8a8997bba4a8deaf26e0d3577b7348965552c7c09e082f966b09548e0dd1dcd382bfbf8d0f22cdd4f3980b896ee2c0947dec
EBUILD qbittorrent-4.5.1.ebuild 2195 BLAKE2B df816dc9932e40ded609e03e260439197cd6163018bb50261285d2276aef8cc9e422609838021923e5e92c7948c9942684b12cfe479866bf180dc82c0387d881 SHA512 3c2bcbfe186383ebe4c33dc81ccb3d0d763b4a79bc9e3e1db6ed1a7467803bc8164e737d686dd53e73f8c5b081edbd7006d750a8a7ea2cda92e8c77900cad2c1
+EBUILD qbittorrent-4.5.2.ebuild 2195 BLAKE2B 4e0db0cbdb4dea7c42867b11420204e7b78240c0b7a70a06347708cb07af868f33af7e75b500d4c551e25e2cff7914f9bb08ee4eaee36cc8070aacfff2f0b7ab SHA512 9344cf96a2a12f4227ff08cde3091e55b85098545f1a9689f26c768923d0e0327fa5d0744ace3bd6edb0849bbc71caa61fa4e0430b8e21986a9155e3439cd107
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.5.2.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.2.ebuild
new file mode 100644
index 000000000000..47567072162d
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-4.5.2.ebuild
@@ -0,0 +1,103 @@
+# 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/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-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}"
+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
+}