commit:     0b4887fc5fdab311dd7ca0a25f97e83612cd3201
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  1 15:03:21 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Nov  1 23:11:18 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=0b4887fc

net-p2p/ktorrent: Rename IUSE=search -> webengine

This is more in line with other Release Service packages to be able to globally
disable a very hefty dependency.

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

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

diff --git a/net-p2p/ktorrent/ktorrent-9999.ebuild 
b/net-p2p/ktorrent/ktorrent-9999.ebuild
index cdd26e987f..eef1e0cec9 100644
--- a/net-p2p/ktorrent/ktorrent-9999.ebuild
+++ b/net-p2p/ktorrent/ktorrent-9999.ebuild
@@ -17,7 +17,7 @@ LICENSE="GPL-2"
 SLOT="5"
 KEYWORDS=""
 IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +kross +logviewer 
+magnetgenerator
-+mediaplayer rss +scanfolder +search +shutdown +stats +upnp +zeroconf"
++mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
 
 BDEPEND="sys-devel/gettext"
 COMMON_DEPEND="
@@ -57,10 +57,10 @@ COMMON_DEPEND="
                >=dev-qt/qtwebengine-${QTMIN}:5
                >=kde-frameworks/syndication-${KFMIN}:5
        )
-       search? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
        shutdown? ( kde-plasma/libkworkspace:5 )
        stats? ( >=kde-frameworks/kplotting-${KFMIN}:5 )
        upnp? ( >=kde-frameworks/kcompletion-${KFMIN}:5 )
+       webengine? ( >=dev-qt/qtwebengine-${QTMIN}:5 )
        zeroconf? ( >=kde-frameworks/kdnssd-${KFMIN}:5 )
 "
 DEPEND="${COMMON_DEPEND}
@@ -88,10 +88,10 @@ src_configure() {
                -DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
                $(cmake_use_find_package rss KF5Syndication)
                -DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-               -DENABLE_SEARCH_PLUGIN=$(usex search)
                -DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
                -DENABLE_STATS_PLUGIN=$(usex stats)
                -DENABLE_UPNP_PLUGIN=$(usex upnp)
+               -DENABLE_SEARCH_PLUGIN=$(usex webengine)
                -DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
        )
 # add back when ported

diff --git a/net-p2p/ktorrent/metadata.xml b/net-p2p/ktorrent/metadata.xml
index 4bd864220a..9abfbc50e8 100644
--- a/net-p2p/ktorrent/metadata.xml
+++ b/net-p2p/ktorrent/metadata.xml
@@ -16,10 +16,10 @@
                <flag name="mediaplayer">Phonon-based media player</flag>
                <flag name="rss">Syndication plugin for KTorrent, supporting 
RSS and Atom feeds</flag>
                <flag name="scanfolder">Scan folders for torrent files and load 
them</flag>
-               <flag name="search">Search for torrents</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="webengine">Embedded search for torrents using 
<pkg>dev-qt/qtwebengine</pkg></flag>
                <flag name="zeroconf">Discover peers on the local network using 
the Zeroconf protocol</flag>
        </use>
 </pkgmetadata>

Reply via email to