From 0b6715978e4c4a8a500880d9315e163689bbd763 Mon Sep 17 00:00:00 2001
From: Mikle Kolyada <zlogene@gentoo.org>
Date: Sun, 15 Aug 2021 10:39:15 +0300
Subject: net-p2p/qbittorrent: add 4.3.7

Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
---
 net-p2p/qbittorrent/Manifest                 |  1 +
 net-p2p/qbittorrent/qbittorrent-4.3.7.ebuild | 68 ++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)
 create mode 100644 net-p2p/qbittorrent/qbittorrent-4.3.7.ebuild

(limited to 'net-p2p')

diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
index 624d9aca5356..702814f1eb08 100644
--- a/net-p2p/qbittorrent/Manifest
+++ b/net-p2p/qbittorrent/Manifest
@@ -2,3 +2,4 @@ DIST qbittorrent-4.3.1.tar.gz 7836727 BLAKE2B aca72922c2fef567eaa8ecc54774f6ec74
 DIST qbittorrent-4.3.3.tar.gz 8044667 BLAKE2B 574193e22529e57f69cfe0892f6076aa6ac7162457bf5e405d24427ebf27b934d3b819451eeba6acfe935e3327491c5d6f3ca8dc13b7e7c1ff491ddda96264be SHA512 58898760814a42b81ffbc7e108a29d8ea6a3f1603b84967ceb9fa489683eb67679e4e8d5e54581a01f8452e68c8385ce3991cc489b7bb13a8bb82169e3059bc4
 DIST qbittorrent-4.3.4.1.tar.gz 8057119 BLAKE2B a5e59aab555feaa2638c3ff60df97ae0214871bc85a97fad956b2f0d990eb3ca8a54a9bb5ddf4bade73f70393bd3f522ec5bf2a39d15f50db01f098602875e0b SHA512 f1f2d6dd445b37b7397f38f965221d2f440e3aae208f19508d9b68c507f2461216bba7240f1ead21fa5ab4c08c437dc9f2b4030daca6c27a20ad0c4e66c6ecc0
 DIST qbittorrent-4.3.5.tar.gz 8128281 BLAKE2B 656b64cfcddba37197b7a87ff3281168649d51e127a69dd489c89f11d8ff6cca7de722f4a5188742cf4efb592e0acbf3b1be69dd804d52d25d8c3e13fdf39e32 SHA512 7bfc9e280e70093b74dafae9a6f921cf27f6828ea03ac3510c3419131b40a1610090d335a831697c9b690f47e396700f7b5a4b14dec47a9f12f4ed797f30d0dd
+DIST qbittorrent-4.3.7.tar.gz 8494224 BLAKE2B 68f402619069fea87c5120e97f381d589f2acdede125644feb6b9e57f334ffebe8d9f95dc3da2b819f783414249da78357fcba64910ca4e77af8860afbcc046c SHA512 53a7bd7b21f0439d9407e8c823086004c1f01d856903e22a7f5a5b97c5ef39f807d6168158af1eb008fab21c78f7c81b8d8e142a3f3f74d5232653f43559cafd
diff --git a/net-p2p/qbittorrent/qbittorrent-4.3.7.ebuild b/net-p2p/qbittorrent/qbittorrent-4.3.7.ebuild
new file mode 100644
index 000000000000..df56a568b980
--- /dev/null
+++ b/net-p2p/qbittorrent/qbittorrent-4.3.7.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit xdg-utils
+
+DESCRIPTION="BitTorrent client in C++ and Qt"
+HOMEPAGE="https://www.qbittorrent.org
+	  https://github.com/qbittorrent"
+
+if [[ ${PV} == *9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git"
+else
+	SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~ppc64 ~x86"
+	S="${WORKDIR}/qBittorrent-release-${PV}"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="+dbus debug webui +X"
+REQUIRED_USE="dbus? ( X )"
+
+RDEPEND="
+	>=dev-libs/boost-1.62.0-r1:=
+	dev-qt/qtcore:5
+	dev-qt/qtnetwork:5[ssl]
+	dev-qt/qtxml:5
+	>=net-libs/libtorrent-rasterbar-1.2.12:0=
+	sys-libs/zlib
+	dbus? ( dev-qt/qtdbus:5 )
+	X? (
+		dev-libs/geoip
+		dev-qt/qtgui:5
+		dev-qt/qtsvg:5
+		dev-qt/qtwidgets:5
+	)"
+DEPEND="${RDEPEND}
+	dev-qt/linguist-tools:5"
+
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
+
+src_configure() {
+	econf \
+	$(use_enable dbus qt-dbus) \
+	$(use_enable debug) \
+	$(use_enable webui) \
+	$(use_enable X gui)
+}
+
+src_install() {
+	emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
+	einstalldocs
+}
+
+pkg_postinst() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}
+
+pkg_postrm() {
+	xdg_icon_cache_update
+	xdg_desktop_database_update
+}
-- 
cgit v1.2.3-65-gdbad