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: Sun, 29 Sep 2019 17:39:59
Message-Id: 1569778789.272c16db22b792f527d862ffb8bdd3c1437946f1.zlogene@gentoo
1 commit: 272c16db22b792f527d862ffb8bdd3c1437946f1
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 29 17:39:12 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 29 17:39:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272c16db
7
8 net-p2p/qbittorrent: Version bump (v4.1.8)
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-p2p/qbittorrent/Manifest | 1 +
14 net-p2p/qbittorrent/qbittorrent-4.1.8.ebuild | 70 ++++++++++++++++++++++++++++
15 2 files changed, 71 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index df672967553..ad3dd5feb43 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qbittorrent-4.1.6.tar.gz 7780676 BLAKE2B fe2572bece5a014d821cf905a13a45f71c63eda661b338a90517a23d257d83f556c1ad1bd064cc2840e9731886d7afaafa36ea50f8c3fe8ff05fc3ec3a12c478 SHA512 14c337257a71a7a6f850bbbbe3effe6f34c299fe71486c1a71160f54ccc7377a5c8e742ca2fd85cf198b2a603fdfee50bdb19b33a10899f86f8499468ca8a735
23 DIST qbittorrent-4.1.7.tar.gz 7803389 BLAKE2B 6a8cf01c2bd86b63b629877fd3446db4aedd1591058af24c14dd4b69f0abae7f3ca715190fa0496b1a3ec742d4ee12585dd27e27c1465a1d22a149c2d47608ca SHA512 59fc6dc9696fbcfb9325017dcb5514f866e7f9e9eda9b4487c29c94d445709f1f3fab35f9817b62da75757360239362d77024d708eae48e89dffdde4ed272be4
24 +DIST qbittorrent-4.1.8.tar.gz 7803739 BLAKE2B ee56e004945025f06b179b08e938c6a3182f252c3bed6990158634ea1fdfd525fd67d105fd7ecdf0217a4bd73d847c5007d1e95f492f4f4e41c32d22dd6b7523 SHA512 8920e98f8db5dd738caab8815cc4a10950c34ba2eaa19b50479bb2ab548f6f297534759d71791caa4c8bfbea92d4b71d223a27fae150e00cc0a262eb3370a1e3
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-4.1.8.ebuild b/net-p2p/qbittorrent/qbittorrent-4.1.8.ebuild
27 new file mode 100644
28 index 00000000000..e4e1c16a315
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-4.1.8.ebuild
31 @@ -0,0 +1,70 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit xdg-utils
38 +
39 +DESCRIPTION="BitTorrent client in C++ and Qt"
40 +HOMEPAGE="https://www.qbittorrent.org
41 + https://github.com/qbittorrent"
42 +
43 +if [[ ${PV} == *9999 ]]; then
44 + inherit git-r3
45 + EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git"
46 +else
47 + SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
48 + KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
49 + S="${WORKDIR}/qBittorrent-release-${PV}"
50 +fi
51 +
52 +LICENSE="GPL-2"
53 +SLOT="0"
54 +IUSE="+dbus debug webui +X"
55 +REQUIRED_USE="dbus? ( X )"
56 +
57 +BDEPEND="
58 + dev-qt/linguist-tools:5
59 + virtual/pkgconfig
60 +"
61 +RDEPEND="
62 + >=dev-libs/boost-1.62.0-r1:=
63 + dev-qt/qtcore:5
64 + dev-qt/qtnetwork:5[ssl]
65 + >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt5(+),X?]
66 + dev-qt/qtxml:5
67 + =net-libs/libtorrent-rasterbar-1.1*:0=
68 + sys-libs/zlib
69 + dbus? ( dev-qt/qtdbus:5 )
70 + X? (
71 + dev-libs/geoip
72 + dev-qt/qtgui:5
73 + dev-qt/qtsvg:5
74 + dev-qt/qtwidgets:5
75 + )"
76 +DEPEND="${RDEPEND}"
77 +
78 +DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
79 +
80 +src_configure() {
81 + econf --with-qtsingleapplication=system \
82 + $(use_enable dbus qt-dbus) \
83 + $(use_enable debug) \
84 + $(use_enable webui) \
85 + $(use_enable X gui)
86 +}
87 +
88 +src_install() {
89 + emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
90 + einstalldocs
91 +}
92 +
93 +pkg_postinst() {
94 + xdg_icon_cache_update
95 + xdg_desktop_database_update
96 +}
97 +
98 +pkg_postrm() {
99 + xdg_icon_cache_update
100 + xdg_desktop_database_update
101 +}