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: Fri, 01 Nov 2019 06:40:05
Message-Id: 1572590384.5bda9e060fdfa9909e5701c8357d12452b4ea4ad.zlogene@gentoo
1 commit: 5bda9e060fdfa9909e5701c8357d12452b4ea4ad
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 1 06:39:44 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 1 06:39:44 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bda9e06
7
8 net-p2p/qbittorrent: Version bump (v4.1.9.1)
9
10 Package-Manager: Portage-2.3.76, 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.9.1.ebuild | 70 ++++++++++++++++++++++++++
15 2 files changed, 71 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index 5790de685fc..ae7ee2ed06c 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qbittorrent-4.1.7.tar.gz 7803389 BLAKE2B 6a8cf01c2bd86b63b629877fd3446db4aedd1591058af24c14dd4b69f0abae7f3ca715190fa0496b1a3ec742d4ee12585dd27e27c1465a1d22a149c2d47608ca SHA512 59fc6dc9696fbcfb9325017dcb5514f866e7f9e9eda9b4487c29c94d445709f1f3fab35f9817b62da75757360239362d77024d708eae48e89dffdde4ed272be4
23 DIST qbittorrent-4.1.8.tar.gz 7803739 BLAKE2B ee56e004945025f06b179b08e938c6a3182f252c3bed6990158634ea1fdfd525fd67d105fd7ecdf0217a4bd73d847c5007d1e95f492f4f4e41c32d22dd6b7523 SHA512 8920e98f8db5dd738caab8815cc4a10950c34ba2eaa19b50479bb2ab548f6f297534759d71791caa4c8bfbea92d4b71d223a27fae150e00cc0a262eb3370a1e3
24 +DIST qbittorrent-4.1.9.1.tar.gz 7804066 BLAKE2B b5fddfdef8773318991ee5a3a818101b46fd0f258c24eebe2a9dde3f9e806544159c373406f609a911b330e32257b3d58a7d81e830ed91cce205182cde16052a SHA512 2a132202762461293ee8e4248bf7d512b3c33ec73670bf4c5c22261be546a69a69775b6c4baacd97a3f9055145cdb4153de17704b6b574b33370f3b454b1def9
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-4.1.9.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.1.9.1.ebuild
27 new file mode 100644
28 index 00000000000..e4e1c16a315
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-4.1.9.1.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 +}