1 |
commit: 306e7836b66babd6e468a28d6ef6e142ffe77819 |
2 |
Author: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 21:20:09 2022 +0000 |
4 |
Commit: Piotr Karbowski <slashbeast <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 21:22:46 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306e7836 |
7 |
|
8 |
net-p2p/qbittorrent: 4.5.0 version bump. |
9 |
|
10 |
Signed-off-by: Piotr Karbowski <slashbeast <AT> gentoo.org> |
11 |
|
12 |
net-p2p/qbittorrent/Manifest | 1 + |
13 |
net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild | 103 +++++++++++++++++++++++++++ |
14 |
2 files changed, 104 insertions(+) |
15 |
|
16 |
diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest |
17 |
index d80dea94b35b..8a1348475f29 100644 |
18 |
--- a/net-p2p/qbittorrent/Manifest |
19 |
+++ b/net-p2p/qbittorrent/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST qbittorrent-4.3.9.tar.gz 8510414 BLAKE2B de98aff6d81f43c3ad87f6c5f800a4488e |
21 |
DIST qbittorrent-4.4.3.1.tar.gz 7736308 BLAKE2B 9177f0c629418a5f9e7f117b7d1f990181ef910193fed9763f2137cbc91c9de07ad96884d57e96782b5a2f6089fe73d3fab0a2f2f54f72dd8c2cec00dd179e5f SHA512 e3d63c4090e27387f4a5524d0daab26eab70f70ef81ad607e9661e128ccccbf33f2d240cd219bbb1fb138d6e78493ce73055d5128bf888e0ad3949922774efba |
22 |
DIST qbittorrent-4.4.4.tar.gz 7738480 BLAKE2B 2a3157a732fda6eaff809d3ea717ebcc2cb7f4364cc3209bd1836196541e83cf8c7430b32037a6a6c4f517d17edb576dd80c834185d7cb764567bd5ce699bd52 SHA512 3bd26021f45287ff5b6c9a1629ff470204121c4056d452a5c00bc94b69a198093127916d33797b357eaacdb9ffd01d0de13daecb7503088cde440d5e4895ec3e |
23 |
DIST qbittorrent-4.4.5.tar.gz 7739170 BLAKE2B b40a3ca63c787e0b9b9aac00a6fef452b461ba36b1ef030bc3cdd5fbefcca42d58ff6c3bd382e49f7937161afc6a37bc2c29de4f804db10c7031b9f1ad5f4e2b SHA512 a2b6ecd9a6f087a7ecaad2774d395ee4b2164cb8540b9f32574640f485fa3fc8688046d30e0179863a0aff1524d69b83c00bc232c7feb9ad737c79a05734ad95 |
24 |
+DIST qbittorrent-4.5.0.tar.gz 8703851 BLAKE2B 1d124921726124650073f5ae2bc078213d82d95b5986145f8570da3af38bc3f70e67046cf22db2e3a196343715b60c0896ed933bec45f5d746e6ad410748223d SHA512 3a7ae1e5d8b92748ea87b3bd07ea76fc19f4ce1c5cfbb76e57dae3e4fee1ca1c4d650db28e9571463c34b9d1af7c7c8475851911398f57e24b395223683727e7 |
25 |
|
26 |
diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..c12b6e9850c3 |
29 |
--- /dev/null |
30 |
+++ b/net-p2p/qbittorrent/qbittorrent-4.5.0.ebuild |
31 |
@@ -0,0 +1,103 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit cmake multibuild systemd xdg |
38 |
+ |
39 |
+DESCRIPTION="BitTorrent client in C++ and Qt" |
40 |
+HOMEPAGE="https://www.qbittorrent.org" |
41 |
+ |
42 |
+if [[ ${PV} == *9999 ]]; then |
43 |
+ EGIT_REPO_URI="https://github.com/qbittorrent/qBittorrent.git" |
44 |
+ inherit git-r3 |
45 |
+else |
46 |
+ SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
48 |
+ S="${WORKDIR}"/qBittorrent-release-${PV} |
49 |
+fi |
50 |
+ |
51 |
+LICENSE="GPL-2" |
52 |
+SLOT="0" |
53 |
+IUSE="+dbus +gui webui" |
54 |
+REQUIRED_USE="dbus? ( gui ) |
55 |
+ || ( gui webui )" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-libs/boost:= |
59 |
+ >=dev-libs/openssl-1.1.1:= |
60 |
+ dev-qt/qtcore:5 |
61 |
+ dev-qt/qtnetwork:5[ssl] |
62 |
+ dev-qt/qtsql:5 |
63 |
+ dev-qt/qtxml:5 |
64 |
+ <net-libs/libtorrent-rasterbar-2:= |
65 |
+ >=sys-libs/zlib-1.2.11 |
66 |
+ dbus? ( dev-qt/qtdbus:5 ) |
67 |
+ gui? ( |
68 |
+ dev-libs/geoip |
69 |
+ dev-qt/qtgui:5 |
70 |
+ dev-qt/qtsvg:5 |
71 |
+ dev-qt/qtwidgets:5 |
72 |
+ )" |
73 |
+DEPEND="${RDEPEND}" |
74 |
+BDEPEND="dev-qt/linguist-tools:5 |
75 |
+ virtual/pkgconfig" |
76 |
+ |
77 |
+DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md ) |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ MULTIBUILD_VARIANTS=() |
81 |
+ use gui && MULTIBUILD_VARIANTS+=( gui ) |
82 |
+ use webui && MULTIBUILD_VARIANTS+=( nogui ) |
83 |
+ |
84 |
+ cmake_src_prepare |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ multibuild_src_configure() { |
89 |
+ local mycmakeargs=( |
90 |
+ # musl lacks execinfo.h |
91 |
+ -DSTACKTRACE=$(usex !elibc_musl) |
92 |
+ |
93 |
+ # More verbose build logs are preferable for bug reports |
94 |
+ -DVERBOSE_CONFIGURE=ON |
95 |
+ |
96 |
+ # Not yet in ::gentoo |
97 |
+ -DQT6=OFF |
98 |
+ |
99 |
+ -DWEBUI=$(usex webui) |
100 |
+ ) |
101 |
+ |
102 |
+ if [[ ${MULTIBUILD_VARIANT} == gui ]]; then |
103 |
+ # We do this in multibuild, see bug #839531 for why. |
104 |
+ # Fedora has to do the same thing. |
105 |
+ mycmakeargs+=( |
106 |
+ -DGUI=ON |
107 |
+ -DDBUS=$(usex dbus) |
108 |
+ -DSYSTEMD=OFF |
109 |
+ ) |
110 |
+ else |
111 |
+ mycmakeargs+=( |
112 |
+ -DGUI=OFF |
113 |
+ -DDBUS=OFF |
114 |
+ # The systemd service calls qbittorrent-nox, which is only |
115 |
+ # installed when GUI=OFF. |
116 |
+ -DSYSTEMD=ON |
117 |
+ -DSYSTEMD_SERVICES_INSTALL_DIR="$(systemd_get_systemunitdir)" |
118 |
+ ) |
119 |
+ fi |
120 |
+ |
121 |
+ cmake_src_configure |
122 |
+ } |
123 |
+ |
124 |
+ multibuild_foreach_variant multibuild_src_configure |
125 |
+} |
126 |
+ |
127 |
+src_compile() { |
128 |
+ multibuild_foreach_variant cmake_src_compile |
129 |
+} |
130 |
+ |
131 |
+src_install() { |
132 |
+ multibuild_foreach_variant cmake_src_install |
133 |
+ einstalldocs |
134 |
+} |