net-p2p/ktorrent: Rename IUSE +mediaplayer -> phonon

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner
2025-10-10 14:33:11 +02:00
parent d7515e4030
commit ecbb4e47d7
3 changed files with 10 additions and 10 deletions

View File

@@ -17,7 +17,7 @@ LICENSE="GPL-2"
SLOT="6"
KEYWORDS="amd64 arm64 ~ppc64 ~x86"
IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer +magnetgenerator
+mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
phonon rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
COMMON_DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
@@ -41,7 +41,7 @@ COMMON_DEPEND="
>=net-libs/libktorrent-${PVCUT}:6
infowidget? ( dev-libs/geoip )
ipfilter? ( >=kde-frameworks/karchive-${KFMIN}:6 )
mediaplayer? (
phonon? (
>=media-libs/phonon-4.12.0[qt6(+)]
>=media-libs/taglib-1.5:=
)
@@ -75,7 +75,7 @@ src_configure() {
-DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-DENABLE_MEDIAPLAYER_PLUGIN=$(usex phonon)
$(cmake_use_find_package rss KF6Syndication)
-DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
@@ -85,6 +85,6 @@ src_configure() {
-DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
)
# add back when ported
# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
ecm_src_configure
}

View File

@@ -17,7 +17,7 @@ LICENSE="GPL-2"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE="+bwscheduler +downloadorder +infowidget +ipfilter +logviewer +magnetgenerator
+mediaplayer rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
phonon rss +scanfolder +shutdown +stats +upnp +webengine +zeroconf"
COMMON_DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets,xml]
@@ -41,7 +41,7 @@ COMMON_DEPEND="
>=net-libs/libktorrent-${PVCUT}:6
infowidget? ( dev-libs/geoip )
ipfilter? ( >=kde-frameworks/karchive-${KFMIN}:6 )
mediaplayer? (
phonon? (
>=media-libs/phonon-4.12.0[qt6(+)]
>=media-libs/taglib-1.5:=
)
@@ -75,7 +75,7 @@ src_configure() {
-DENABLE_IPFILTER_PLUGIN=$(usex ipfilter)
-DENABLE_LOGVIEWER_PLUGIN=$(usex logviewer)
-DENABLE_MAGNETGENERATOR_PLUGIN=$(usex magnetgenerator)
-DENABLE_MEDIAPLAYER_PLUGIN=$(usex mediaplayer)
-DENABLE_MEDIAPLAYER_PLUGIN=$(usex phonon)
$(cmake_use_find_package rss KF6Syndication)
-DENABLE_SCANFOLDER_PLUGIN=$(usex scanfolder)
-DENABLE_SHUTDOWN_PLUGIN=$(usex shutdown)
@@ -85,6 +85,6 @@ src_configure() {
-DENABLE_ZEROCONF_PLUGIN=$(usex zeroconf)
)
# add back when ported
# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
# -DENABLE_WEBINTERFACE_PLUGIN=$(usex webinterface)
ecm_src_configure
}

View File

@@ -6,7 +6,7 @@
<name>Gentoo KDE Project</name>
</maintainer>
<upstream>
<bugs-to>https://bugs.kde.org/</bugs-to>
<bugs-to>https://bugs.kde.org/enter_bug.cgi?product=ktorrent</bugs-to>
<remote-id type="cpe">cpe:/a:ktorrent:ktorrent</remote-id>
</upstream>
<use>
@@ -16,7 +16,7 @@
<flag name="ipfilter">Filter IP addresses through a blocklist</flag>
<flag name="logviewer">Displays the logging output</flag>
<flag name="magnetgenerator">Generates magnet URI's</flag>
<flag name="mediaplayer">Phonon-based media player</flag>
<flag name="phonon">Enable <pkg>media-libs/phonon</pkg> 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="shutdown">Shutdown when done</flag>