Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: net-p2p/ktorrent/
Date: Sun, 01 Nov 2020 23:12:01
Message-Id: 1604272278.0b4887fc5fdab311dd7ca0a25f97e83612cd3201.asturm@gentoo
1 commit: 0b4887fc5fdab311dd7ca0a25f97e83612cd3201
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 1 15:03:21 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 1 23:11:18 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0b4887fc
7
8 net-p2p/ktorrent: Rename IUSE=search -> webengine
9
10 This is more in line with other Release Service packages to be able to globally
11 disable a very hefty dependency.
12
13 Package-Manager: Portage-3.0.8, Repoman-3.0.2
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 net-p2p/ktorrent/ktorrent-9999.ebuild | 6 +++---
17 net-p2p/ktorrent/metadata.xml | 2 +-
18 2 files changed, 4 insertions(+), 4 deletions(-)
19
20 diff --git a/net-p2p/ktorrent/ktorrent-9999.ebuild b/net-p2p/ktorrent/ktorrent-9999.ebuild
21 index cdd26e987f..eef1e0cec9 100644
22 --- a/net-p2p/ktorrent/ktorrent-9999.ebuild
23 +++ b/net-p2p/ktorrent/ktorrent-9999.ebuild
24 @@ -17,7 +17,7 @@ LICENSE="GPL-2"
25 SLOT="5"
26 KEYWORDS=""
27 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator
28 -+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
29 ++mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
30
31 BDEPEND="sys-devel/gettext"
32 COMMON_DEPEND="
33 @@ -57,10 +57,10 @@ COMMON_DEPEND="
34 >=dev-qt/qtwebengine-${QTMIN}:5
35 >=kde-frameworks/syndication-${KFMIN}:5
36 )
37 - search? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
38 shutdown? ( kde-plasma/libkworkspace:5 )
39 stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
40 upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
41 + webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
42 zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
43 "
44 DEPEND="${COMMON_DEPEND}
45 @@ -88,10 +88,10 @@ src_configure() {
46 -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
47 $(cmake_use_find_package rss KF5Syndication)
48 -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
49 - -DENABLE_SEARCH_PLUGIN=$(usex search)
50 -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
51 -DENABLE_STATS_PLUGIN=$(usex stats)
52 -DENABLE_UPNP_PLUGIN=$(usex upnp)
53 + -DENABLE_SEARCH_PLUGIN=$(usex webengine)
54 -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
55 )
56 # add back when ported
57
58 diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
59 index 4bd864220a..9abfbc50e8 100644
60 --- a/net-p2p/ktorrent/metadata.xml
61 +++ b/net-p2p/ktorrent/metadata.xml
62 @@ -16,10 +16,10 @@
63 <flag name="mediaplayer">Phonon-based media player</flag>
64 <flag name="rss">Syndication plugin for KTorrent, supporting RSS and Atom feeds</flag>
65 <flag name="scanfolder">Scan folders for torrent files and load them</flag>
66 - <flag name="search">Search for torrents</flag>
67 <flag name="shutdown">Shutdown when done</flag>
68 <flag name="stats">Shows statistics about torrents in several graphs</flag>
69 <flag name="upnp">Forward ports using UPnP</flag>
70 + <flag name="webengine">Embedded search for torrents using <pkg>dev-qt/qtwebengine</pkg></flag>
71 <flag name="zeroconf">Discover peers on the local network using the Zeroconf protocol</flag>
72 </use>
73 </pkgmetadata>