1 |
commit: 29d31fe50b51f08ad0225737dd2b3be6c99f419e |
2 |
Author: Andrius Štikonas <andrius <AT> stikonas <DOT> eu> |
3 |
AuthorDate: Wed Apr 12 11:44:39 2017 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 16 17:14:51 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=29d31fe5 |
7 |
|
8 |
net-p2p/ktorrent: Add back USE=search |
9 |
|
10 |
Upstream commit acc03acf1a1b9aa459a05eee513dda0de8d2c724 |
11 |
Closes: https://github.com/gentoo/kde/pull/855 |
12 |
|
13 |
net-p2p/ktorrent/ktorrent-9999.ebuild | 8 ++++++-- |
14 |
net-p2p/ktorrent/metadata.xml | 1 + |
15 |
2 files changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/net-p2p/ktorrent/ktorrent-9999.ebuild b/net-p2p/ktorrent/ktorrent-9999.ebuild |
18 |
index 334a858ea6..70d6f55966 100644 |
19 |
--- a/net-p2p/ktorrent/ktorrent-9999.ebuild |
20 |
+++ b/net-p2p/ktorrent/ktorrent-9999.ebuild |
21 |
@@ -30,7 +30,7 @@ HOMEPAGE="http://ktorrent.pwsp.net/" |
22 |
|
23 |
LICENSE="GPL-2" |
24 |
IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer +magnetgenerator |
25 |
-+mediaplayer rss +scanfolder +shutdown +stats +upnp +zeroconf" |
26 |
++mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf" |
27 |
|
28 |
COMMON_DEPEND=" |
29 |
$(add_frameworks_dep karchive) |
30 |
@@ -69,6 +69,10 @@ COMMON_DEPEND=" |
31 |
$(add_frameworks_dep kdewebkit) |
32 |
$(add_kdeapps_dep syndication) |
33 |
) |
34 |
+ search? ( |
35 |
+ $(add_frameworks_dep kdewebkit) |
36 |
+ $(add_qt_dep qtwebkit) |
37 |
+ ) |
38 |
shutdown? ( $(add_plasma_dep plasma-workspace) ) |
39 |
stats? ( $(add_frameworks_dep kplotting) ) |
40 |
zeroconf? ( $(add_frameworks_dep kdnssd) ) |
41 |
@@ -105,13 +109,13 @@ src_configure() { |
42 |
-DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer) |
43 |
-DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder) |
44 |
-DENABLE_SYNDICATION_PLUGIN=$(usex rss) |
45 |
+ -DENABLE_SEARCH_PLUGIN=$(usex search) |
46 |
-DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown) |
47 |
-DENABLE_STATS_PLUGIN=$(usex stats) |
48 |
-DENABLE_UPNP_PLUGIN=$(usex upnp) |
49 |
-DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf) |
50 |
) |
51 |
# add back when ported |
52 |
-# -DENABLE_SEARCH_PLUGIN=$(usex search) |
53 |
# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface) |
54 |
kde5_src_configure |
55 |
} |
56 |
|
57 |
diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml |
58 |
index ec4e549196..0bd737d244 100644 |
59 |
--- a/net-p2p/ktorrent/metadata.xml |
60 |
+++ b/net-p2p/ktorrent/metadata.xml |
61 |
@@ -20,6 +20,7 @@ |
62 |
<flag name="mediaplayer">Phonon-based media player</flag> |
63 |
<flag name="rss">Syndication plugin for KTorrent, supporting RSS and Atom feeds</flag> |
64 |
<flag name="scanfolder">Scan folders for torrent files and load them</flag> |
65 |
+ <flag name="search">Search for torrents</flag> |
66 |
<flag name="shutdown">Shutdown when done</flag> |
67 |
<flag name="stats">Shows statistics about torrents in several graphs</flag> |
68 |
<flag name="upnp">Forward ports using UPnP</flag> |