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, 24 Apr 2020 10:30:28
Message-Id: 1587724213.3071caefd905f828241a4492711509996bdbe99f.zlogene@gentoo
1 commit: 3071caefd905f828241a4492711509996bdbe99f
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 24 10:29:36 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 24 10:30:13 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3071caef
7
8 net-p2p/qbittorrent: Version bump (v4.2.4)
9
10 Package-Manager: Portage-2.3.89, Repoman-2.3.20
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-p2p/qbittorrent/Manifest | 1 +
14 net-p2p/qbittorrent/qbittorrent-4.2.4.ebuild | 69 ++++++++++++++++++++++++++++
15 2 files changed, 70 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index 509218ca129..916c46379ba 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -1,2 +1,3 @@
22 DIST qbittorrent-4.2.1.tar.gz 7824636 BLAKE2B 06aa493b4e59f8e064955c604846cd4e4d404988819aa4f0b7a555cd3d8c74f42d4b40b581bc5c2360e5b75f0ce33f77882051360453176a9540d03d4d5de82d SHA512 345c702a49d284fe28b45e52719a79195a784ba07339ea49c340d10d387482d3ba59335b2e41616de97e3813531e808c41239e597ef4b710fcebceb0c837483c
23 DIST qbittorrent-4.2.3.tar.gz 7932722 BLAKE2B d16aa81ce683578eea5186a505a5f33da457ef672261520f0fe3af11008d516d7fce8de31e31190c380c9cc3e24d7acce053dbff952f7bb937a610416f23129e SHA512 766cff294b5e2aae99073e9894c683b68af6e7abdd1eae660e444593664f65918132b9fbd7b40843143f2559b4124145e2d08478c2b87b0b6df1ef574e17f763
24 +DIST qbittorrent-4.2.4.tar.gz 7965424 BLAKE2B 7d1f058e3aaa66a857721c4cc915057735bfcf2d24a2076e814c8801fcb7b107d33211f2916654c17dceed0b4c53869cb8b992853a676a55069db615ae5a4663 SHA512 0c6a6226c2503edfc79d077bafd006eab02b0d42cea815cd420044857f3e13157ae068b52c7d67299e5b0a6c0da4bf5ffa702c3bd69fb84b8b734ac17441d0f7
25
26 diff --git a/net-p2p/qbittorrent/qbittorrent-4.2.4.ebuild b/net-p2p/qbittorrent/qbittorrent-4.2.4.ebuild
27 new file mode 100644
28 index 00000000000..3244261dacc
29 --- /dev/null
30 +++ b/net-p2p/qbittorrent/qbittorrent-4.2.4.ebuild
31 @@ -0,0 +1,69 @@
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/qtsingleapplication-2.6.1_p20130904-r1[qt5(+),X?]
62 + dev-qt/qtxml:5
63 + >=net-libs/libtorrent-rasterbar-1.2.0: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 +}