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/files/, net-p2p/qbittorrent/
Date: Sun, 29 Sep 2019 17:42:37
Message-Id: 1569778934.0c5afb448d4a3f83ba60a25337376511c20e3511.zlogene@gentoo
1 commit: 0c5afb448d4a3f83ba60a25337376511c20e3511
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 29 17:42:14 2019 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 29 17:42:14 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c5afb44
7
8 net-p2p/qbittorrent: Drop old
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
12
13 net-p2p/qbittorrent/Manifest | 1 -
14 ...-4.1.6-no-screenblank-on-close-to-systray.patch | 25 --------
15 net-p2p/qbittorrent/qbittorrent-4.1.6-r1.ebuild | 72 ----------------------
16 3 files changed, 98 deletions(-)
17
18 diff --git a/net-p2p/qbittorrent/Manifest b/net-p2p/qbittorrent/Manifest
19 index ad3dd5feb43..5790de685fc 100644
20 --- a/net-p2p/qbittorrent/Manifest
21 +++ b/net-p2p/qbittorrent/Manifest
22 @@ -1,3 +1,2 @@
23 -DIST qbittorrent-4.1.6.tar.gz 7780676 BLAKE2B fe2572bece5a014d821cf905a13a45f71c63eda661b338a90517a23d257d83f556c1ad1bd064cc2840e9731886d7afaafa36ea50f8c3fe8ff05fc3ec3a12c478 SHA512 14c337257a71a7a6f850bbbbe3effe6f34c299fe71486c1a71160f54ccc7377a5c8e742ca2fd85cf198b2a603fdfee50bdb19b33a10899f86f8499468ca8a735
24 DIST qbittorrent-4.1.7.tar.gz 7803389 BLAKE2B 6a8cf01c2bd86b63b629877fd3446db4aedd1591058af24c14dd4b69f0abae7f3ca715190fa0496b1a3ec742d4ee12585dd27e27c1465a1d22a149c2d47608ca SHA512 59fc6dc9696fbcfb9325017dcb5514f866e7f9e9eda9b4487c29c94d445709f1f3fab35f9817b62da75757360239362d77024d708eae48e89dffdde4ed272be4
25 DIST qbittorrent-4.1.8.tar.gz 7803739 BLAKE2B ee56e004945025f06b179b08e938c6a3182f252c3bed6990158634ea1fdfd525fd67d105fd7ecdf0217a4bd73d847c5007d1e95f492f4f4e41c32d22dd6b7523 SHA512 8920e98f8db5dd738caab8815cc4a10950c34ba2eaa19b50479bb2ab548f6f297534759d71791caa4c8bfbea92d4b71d223a27fae150e00cc0a262eb3370a1e3
26
27 diff --git a/net-p2p/qbittorrent/files/qbittorrent-4.1.6-no-screenblank-on-close-to-systray.patch b/net-p2p/qbittorrent/files/qbittorrent-4.1.6-no-screenblank-on-close-to-systray.patch
28 deleted file mode 100644
29 index 361f7aa2255..00000000000
30 --- a/net-p2p/qbittorrent/files/qbittorrent-4.1.6-no-screenblank-on-close-to-systray.patch
31 +++ /dev/null
32 @@ -1,25 +0,0 @@
33 -From 9a4dd3ea9d1fc2af0cc5724ebb19fc99297c2960 Mon Sep 17 00:00:00 2001
34 -From: Ekin Dursun <ekindursun@×××××.com>
35 -Date: Tue, 7 May 2019 02:08:46 +0300
36 -Subject: [PATCH] Don't turn screen blank when closed to system tray
37 -
38 -Closes #9240 and possibly #9121, as @zeule suggested here: https://github.com/qbittorrent/qBittorrent/issues/9240#issuecomment-408025722.
39 ----
40 - src/gui/mainwindow.cpp | 4 ++--
41 - 1 file changed, 2 insertions(+), 2 deletions(-)
42 -
43 -diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp
44 -index 4c62ba5d90..0b8b41ebab 100644
45 ---- a/src/gui/mainwindow.cpp
46 -+++ b/src/gui/mainwindow.cpp
47 -@@ -1158,8 +1158,8 @@ void MainWindow::closeEvent(QCloseEvent *e)
48 - #else
49 - const bool goToSystrayOnExit = pref->closeToTray();
50 - if (!m_forceExit && m_systrayIcon && goToSystrayOnExit && !this->isHidden()) {
51 -- hide();
52 -- e->accept();
53 -+ e->ignore();
54 -+ QTimer::singleShot(0, this, &QWidget::hide);
55 - if (!pref->closeToTrayNotified()) {
56 - showNotificationBaloon(tr("qBittorrent is closed to tray"), tr("This behavior can be changed in the settings. You won't be reminded again."));
57 - pref->setCloseToTrayNotified(true);
58
59 diff --git a/net-p2p/qbittorrent/qbittorrent-4.1.6-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.1.6-r1.ebuild
60 deleted file mode 100644
61 index 1031d3dfb61..00000000000
62 --- a/net-p2p/qbittorrent/qbittorrent-4.1.6-r1.ebuild
63 +++ /dev/null
64 @@ -1,72 +0,0 @@
65 -# Copyright 1999-2019 Gentoo Authors
66 -# Distributed under the terms of the GNU General Public License v2
67 -
68 -EAPI=7
69 -
70 -inherit xdg-utils
71 -
72 -DESCRIPTION="BitTorrent client in C++ and Qt"
73 -HOMEPAGE="https://www.qbittorrent.org
74 - https://github.com/qbittorrent"
75 -
76 -if [[ ${PV} == *9999 ]]; then
77 - inherit git-r3
78 - EGIT_REPO_URI="https://github.com/${PN}/qBittorrent.git"
79 -else
80 - SRC_URI="https://github.com/qbittorrent/qBittorrent/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
81 - KEYWORDS="amd64 ~arm ~ppc64 x86"
82 - S="${WORKDIR}/qBittorrent-release-${PV}"
83 -fi
84 -
85 -LICENSE="GPL-2"
86 -SLOT="0"
87 -IUSE="+dbus debug webui +X"
88 -REQUIRED_USE="dbus? ( X )"
89 -
90 -BDEPEND="
91 - dev-qt/linguist-tools:5
92 - virtual/pkgconfig
93 -"
94 -RDEPEND="
95 - >=dev-libs/boost-1.62.0-r1:=
96 - dev-qt/qtcore:5
97 - dev-qt/qtnetwork:5[ssl]
98 - >=dev-qt/qtsingleapplication-2.6.1_p20130904-r1[qt5(+),X?]
99 - dev-qt/qtxml:5
100 - =net-libs/libtorrent-rasterbar-1.1*:0=
101 - sys-libs/zlib
102 - dbus? ( dev-qt/qtdbus:5 )
103 - X? (
104 - dev-libs/geoip
105 - dev-qt/qtgui:5
106 - dev-qt/qtsvg:5
107 - dev-qt/qtwidgets:5
108 - )"
109 -DEPEND="${RDEPEND}"
110 -
111 -PATCHES=( "${FILESDIR}/${P}-no-screenblank-on-close-to-systray.patch" )
112 -
113 -DOCS=( AUTHORS Changelog CONTRIBUTING.md README.md TODO )
114 -
115 -src_configure() {
116 - econf --with-qtsingleapplication=system \
117 - $(use_enable dbus qt-dbus) \
118 - $(use_enable debug) \
119 - $(use_enable webui) \
120 - $(use_enable X gui)
121 -}
122 -
123 -src_install() {
124 - emake STRIP="/bin/false" INSTALL_ROOT="${D}" install
125 - einstalldocs
126 -}
127 -
128 -pkg_postinst() {
129 - xdg_icon_cache_update
130 - xdg_desktop_database_update
131 -}
132 -
133 -pkg_postrm() {
134 - xdg_icon_cache_update
135 - xdg_desktop_database_update
136 -}