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, 31 Oct 2021 20:16:22
Message-Id: 1635711375.9d99d1b2d4d56710ea6a9e1897549a6896205dc2.zlogene@gentoo
1 commit: 9d99d1b2d4d56710ea6a9e1897549a6896205dc2
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 31 20:15:06 2021 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 31 20:16:15 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d99d1b2
7
8 net-p2p/qbittorrent: Version bump (v4.3.9)
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-p2p/qbittorrent/Manifest | 1 +
14 net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild | 68 ++++++++++++++++++++++++++++
15 2 files changed, 69 insertions(+)
16
17 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
18 index 762b43e25a3..131553e3d8e 100644
19 --- a/net-p2p/qbittorrent/Manifest
20 +++ b/net-p2p/qbittorrent/Manifest
21 @@ -4,3 +4,4 @@ DIST qbittorrent-4.3.4.1.tar.gz 8057119 BLAKE2B a5e59aab555feaa2638c3ff60df97ae0
22 DIST qbittorrent-4.3.5.tar.gz 8128281 BLAKE2B 656b64cfcddba37197b7a87ff3281168649d51e127a69dd489c89f11d8ff6cca7de722f4a5188742cf4efb592e0acbf3b1be69dd804d52d25d8c3e13fdf39e32 SHA512 7bfc9e280e70093b74dafae9a6f921cf27f6828ea03ac3510c3419131b40a1610090d335a831697c9b690f47e396700f7b5a4b14dec47a9f12f4ed797f30d0dd
23 DIST qbittorrent-4.3.7.tar.gz 8494224 BLAKE2B 68f402619069fea87c5120e97f381d589f2acdede125644feb6b9e57f334ffebe8d9f95dc3da2b819f783414249da78357fcba64910ca4e77af8860afbcc046c SHA512 53a7bd7b21f0439d9407e8c823086004c1f01d856903e22a7f5a5b97c5ef39f807d6168158af1eb008fab21c78f7c81b8d8e142a3f3f74d5232653f43559cafd
24 DIST qbittorrent-4.3.8.tar.gz 8506355 BLAKE2B e59be1556ad0be697e32d69d890115df6ce20a46f883a9060994558db02f06cf87fbf68a17e6317e1b5819af523281bdd8cfdcc8ae68a0d707a238023dcc7840 SHA512 bb03f27f0807dfac867ddf5a6fcec1687946068a7e7d88483f0ded34d7279aa0d3324fe25f23c22ce80ee98437d8914229c5969ea8849eed1d4ad68e031601e2
25 +DIST qbittorrent-4.3.9.tar.gz 8510414 BLAKE2B de98aff6d81f43c3ad87f6c5f800a4488e18173fb96713d0a2420cf4d4708c9b1f2f54c8d0aa566e7738b4f94d192aad9f0196a05d43724582ef81833901727f SHA512 ec33f67895fbf47acc2f79d9c9e16db8b96c756cf493b76eb24b90e13a790a709104ea9aa378ee111d8c38b605bed5192b366d1917bbf160b21aa2ae3aacd2d1
26
27 diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild b/net-p2p/qbittorrent/qbittorrent-4.3.9.ebuild
28 new file mode 100644
29 index 00000000000..43ca7eae242
30 --- /dev/null
31 +++ b/net-p2p/qbittorrent/qbittorrent-4.3.9.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=8
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 +}