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: Tue, 01 Dec 2020 11:58:52
Message-Id: 1606823924.9c6e0fc3fa97306e5e65efdba6fcbfafe8193b7a.zlogene@gentoo
1 commit: 9c6e0fc3fa97306e5e65efdba6fcbfafe8193b7a
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 1 11:57:54 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 1 11:58:44 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c6e0fc3
7
8 net-p2p/qbittorrent: Version bump (v4.3.1)
9
10 Package-Manager: Portage-3.0.8, 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.1.ebuild | 68 ++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index f9391264ab4..d7599dbcb34 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qbittorrent-4.2.5.tar.gz 7961612 BLAKE2B 61d2f2154a291a6d1ddab7d4775d4ac4d19f471dceb783cb7933015ed9159afdca4075f429891dbbd7249f09d910ef643d27da4c4b7307adbf29354222265027 SHA512 8808029bdb3a1638fcf792e92c36bd39889dbc2ceb26c8d45ff17b086bd076f0b3a8ed78dd6a1e3debd32e5b0ce212eea194ec601210ae29093cfb567eb4ca0f
23 DIST qbittorrent-4.3.0.1.tar.gz 7752986 BLAKE2B c4541a5e93a9674dcaee02ef8f7d0335644e5530116070a4fac74952ab8a4ebaec2ae03b95f001c15c491d5f6963e6d305cef2392bd61bd615278a34a0ebb121 SHA512 b49ddafe8c01fa4dae4ee30130237456aee3eba2cdb666c4939d84f44d6b523c5ed7aba1174fad6d168db4de11210d2b97c0d304f5ee653cbf1c8ca2dd96afe3
24 +DIST qbittorrent-4.3.1.tar.gz 7836727 BLAKE2B aca72922c2fef567eaa8ecc54774f6ec7417d3b15fc9ef1aef87a5b5f0a96ec332e3ab59c49b1c62e85e73c8a8e61cd1da2e172290df8581b909ee3ad336b34e SHA512 078efb45ec65d7e1342624e71d11fc93516925b08084907266cb6154623bc8b817ecae0ce99489c48b294f8c94f5f6c5ea3f24a9a6ad005fe3249e2a67d0b815
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.3.1.ebuild
27 new file mode 100644
28 index 00000000000..15913a17fc0
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-4.3.1.ebuild
31 @@ -0,0 +1,68 @@
32 +# Copyright 1999-2020 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 +RDEPEND="
58 + >=dev-libs/boost-1.62.0-r1:=
59 + dev-qt/qtcore:5
60 + dev-qt/qtnetwork:5[ssl]
61 + dev-qt/qtxml:5
62 + >=net-libs/libtorrent-rasterbar-1.2.0:0=
63 + sys-libs/zlib
64 + dbus? ( dev-qt/qtdbus:5 )
65 + X? (
66 + dev-libs/geoip
67 + dev-qt/qtgui:5
68 + dev-qt/qtsvg:5
69 + dev-qt/qtwidgets:5
70 + )"
71 +DEPEND="${RDEPEND}
72 + dev-qt/linguist-tools:5"
73 +
74 +BDEPEND="virtual/pkgconfig"
75 +
76 +DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
77 +
78 +src_configure() {
79 + econf \
80 + $(use_enable dbus qt-dbus) \
81 + $(use_enable debug) \
82 + $(use_enable webui) \
83 + $(use_enable X gui)
84 +}
85 +
86 +src_install() {
87 + emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
88 + einstalldocs
89 +}
90 +
91 +pkg_postinst() {
92 + xdg_icon_cache_update
93 + xdg_desktop_database_update
94 +}
95 +
96 +pkg_postrm() {
97 + xdg_icon_cache_update
98 + xdg_desktop_database_update
99 +}