Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/qbittorrent/
Date: Sat, 15 May 2021 13:12:04
Message-Id: 1621084318.c43a5330d7ff7c1bd47a4e14bb5d6e4f6d545d03.zlogene@gentoo
1 commit: c43a5330d7ff7c1bd47a4e14bb5d6e4f6d545d03
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 15 13:11:13 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sat May 15 13:11:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c43a5330
7
8 net-p2p/qbittorrent: Version bump (v4.3.5)
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-p2p/qbittorrent/Manifest | 1 +
14 net-p2p/qbittorrent/qbittorrent-4.3.5.ebuild | 68 ++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index 438350a3757..624d9aca535 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -1,3 +1,4 @@
22 DIST qbittorrent-4.3.1.tar.gz 7836727 BLAKE2B aca72922c2fef567eaa8ecc54774f6ec7417d3b15fc9ef1aef87a5b5f0a96ec332e3ab59c49b1c62e85e73c8a8e61cd1da2e172290df8581b909ee3ad336b34e SHA512 078efb45ec65d7e1342624e71d11fc93516925b08084907266cb6154623bc8b817ecae0ce99489c48b294f8c94f5f6c5ea3f24a9a6ad005fe3249e2a67d0b815
23 DIST qbittorrent-4.3.3.tar.gz 8044667 BLAKE2B 574193e22529e57f69cfe0892f6076aa6ac7162457bf5e405d24427ebf27b934d3b819451eeba6acfe935e3327491c5d6f3ca8dc13b7e7c1ff491ddda96264be SHA512 58898760814a42b81ffbc7e108a29d8ea6a3f1603b84967ceb9fa489683eb67679e4e8d5e54581a01f8452e68c8385ce3991cc489b7bb13a8bb82169e3059bc4
24 DIST qbittorrent-4.3.4.1.tar.gz 8057119 BLAKE2B a5e59aab555feaa2638c3ff60df97ae0214871bc85a97fad956b2f0d990eb3ca8a54a9bb5ddf4bade73f70393bd3f522ec5bf2a39d15f50db01f098602875e0b SHA512 f1f2d6dd445b37b7397f38f965221d2f440e3aae208f19508d9b68c507f2461216bba7240f1ead21fa5ab4c08c437dc9f2b4030daca6c27a20ad0c4e66c6ecc0
25 +DIST qbittorrent-4.3.5.tar.gz 8128281 BLAKE2B 656b64cfcddba37197b7a87ff3281168649d51e127a69dd489c89f11d8ff6cca7de722f4a5188742cf4efb592e0acbf3b1be69dd804d52d25d8c3e13fdf39e32 SHA512 7bfc9e280e70093b74dafae9a6f921cf27f6828ea03ac3510c3419131b40a1610090d335a831697c9b690f47e396700f7b5a4b14dec47a9f12f4ed797f30d0dd
26
27 diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.5.ebuild b/net-p2p/qbittorrent/qbittorrent-4.3.5.ebuild
28 new file mode 100644
29 index 00000000000..df56a568b98
30 --- /dev/null
31 +++ b/net-p2p/qbittorrent/qbittorrent-4.3.5.ebuild
32 @@ -0,0 +1,68 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit xdg-utils
39 +
40 +DESCRIPTION="BitTorrent client in C++ and Qt"
41 +HOMEPAGE="https://www.qbittorrent.org
42 + https://github.com/qbittorrent"
43 +
44 +if [[ ${PV} == *9999 ]]; then
45 + inherit git-r3
46 + EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git"
47 +else
48 + SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
49 + KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
50 + S="${WORKDIR}/qBittorrent-release-${PV}"
51 +fi
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +IUSE="+dbus debug webui +X"
56 +REQUIRED_USE="dbus? ( X )"
57 +
58 +RDEPEND="
59 + >=dev-libs/boost-1.62.0-r1:=
60 + dev-qt/qtcore:5
61 + dev-qt/qtnetwork:5[ssl]
62 + dev-qt/qtxml:5
63 + >=net-libs/libtorrent-rasterbar-1.2.12:0=
64 + sys-libs/zlib
65 + dbus? ( dev-qt/qtdbus:5 )
66 + X? (
67 + dev-libs/geoip
68 + dev-qt/qtgui:5
69 + dev-qt/qtsvg:5
70 + dev-qt/qtwidgets:5
71 + )"
72 +DEPEND="${RDEPEND}
73 + dev-qt/linguist-tools:5"
74 +
75 +BDEPEND="virtual/pkgconfig"
76 +
77 +DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
78 +
79 +src_configure() {
80 + econf \
81 + $(use_enable dbus qt-dbus) \
82 + $(use_enable debug) \
83 + $(use_enable webui) \
84 + $(use_enable X gui)
85 +}
86 +
87 +src_install() {
88 + emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
89 + einstalldocs
90 +}
91 +
92 +pkg_postinst() {
93 + xdg_icon_cache_update
94 + xdg_desktop_database_update
95 +}
96 +
97 +pkg_postrm() {
98 + xdg_icon_cache_update
99 + xdg_desktop_database_update
100 +}