commit:     7147aed921cfad45764ac1a6de15911718fa73cb
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 10:25:08 2016 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 10:25:08 2016 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=7147aed9

net-p2p/ktorrent: restore stats USE flag

Package-Manager: portage-2.2.28

 net-p2p/ktorrent/ktorrent-9999.ebuild | 5 +++--
 net-p2p/ktorrent/metadata.xml         | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-p2p/ktorrent/ktorrent-9999.ebuild 
b/net-p2p/ktorrent/ktorrent-9999.ebuild
index aaf4a3c..862fdae 100644
--- a/net-p2p/ktorrent/ktorrent-9999.ebuild
+++ b/net-p2p/ktorrent/ktorrent-9999.ebuild
@@ -32,7 +32,7 @@ HOMEPAGE="http://ktorrent.pwsp.net/";
 
 LICENSE="GPL-2"
 IUSE="+bwscheduler +downloadorder +infowidget +logviewer
-+magnetgenerator +mediaplayer +shutdown +upnp +zeroconf"
++magnetgenerator +mediaplayer +shutdown +stats +upnp +zeroconf"
 
 COMMON_DEPEND="
        $(add_frameworks_dep karchive)
@@ -67,6 +67,7 @@ COMMON_DEPEND="
                >=media-libs/taglib-1.5
        )
        shutdown? ( $(add_plasma_dep plasma-workspace) )
+       stats? ( $(add_frameworks_dep kplotting) )
        zeroconf? ( $(add_frameworks_dep kdnssd) )
 "
 DEPEND="${COMMON_DEPEND}
@@ -114,6 +115,7 @@ src_configure() {
                -DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
                -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
                -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
+               -DENABLE_STATS_PLUGIN=$(usex stats)
                -DENABLE_UPNP_PLUGIN=$(usex upnp)
                -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
        )
@@ -123,7 +125,6 @@ src_configure() {
 #              -DENABLE_SYNDICATION_PLUGIN=$(usex rss)
 #              -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
 #              -DENABLE_SEARCH_PLUGIN=$(usex search)
-#              -DENABLE_STATS_PLUGIN=$(usex stats)
 #              -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
        kde5_src_configure
 }

diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
index 839ea00..46e450b 100644
--- a/net-p2p/ktorrent/metadata.xml
+++ b/net-p2p/ktorrent/metadata.xml
@@ -17,6 +17,7 @@
                <flag name="magnetgenerator">Generates magnet URI's</flag>
                <flag name="mediaplayer">Phonon-based media player</flag>
                <flag name="shutdown">Shutdown when done</flag>
+               <flag name="stats">Shows statistics about torrents in several 
graphs</flag>
                <flag name="upnp">Forward ports using UPnP</flag>
                <flag name="zeroconf">Discover peers on the local network using 
the Zeroconf protocol</flag>
        </use>

Reply via email to