summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-11-20 09:12:10 +0100
committerJohannes Huber <johu@gentoo.org>2016-11-20 09:15:10 +0100
commite3d0f7fa22edc6d234526923f80da7c56a147db7 (patch)
tree7293fcb7762e68f8f9e4d3c05ff42e4ab6ad5c08
parentmedia-gfx/fontforge: x86 stable (diff)
downloadgentoo-e3d0f7fa22edc6d234526923f80da7c56a147db7.tar.gz
gentoo-e3d0f7fa22edc6d234526923f80da7c56a147db7.tar.bz2
gentoo-e3d0f7fa22edc6d234526923f80da7c56a147db7.zip
net-p2p/ktorrent: Drop deprecated Plasma 4 support
Package-Manager: portage-2.3.2
-rw-r--r--net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild16
1 files changed, 6 insertions, 10 deletions
diff --git a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
index 27cead64beb5..4fac1d96aa9e 100644
--- a/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
+++ b/net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild
@@ -39,21 +39,19 @@ HOMEPAGE="http://ktorrent.pwsp.net/"
LICENSE="GPL-2"
SLOT="4"
IUSE="+bwscheduler debug +downloadorder +infowidget +ipfilter +kross +logviewer
-+magnetgenerator +mediaplayer plasma rss +scanfolder +search +shutdown +stats
-+upnp webinterface +zeroconf"
++magnetgenerator +mediaplayer rss +scanfolder +search +stats +upnp webinterface
++zeroconf"
COMMONDEPEND="
<net-libs/libktorrent-${LIBKT_VERSION_MAX}:4
>=net-libs/libktorrent-${LIBKT_VERSION_MIN}:4
infowidget? ( dev-libs/geoip )
mediaplayer? ( >=media-libs/taglib-1.5 )
- plasma? ( $(add_kdebase_dep libtaskmanager) )
rss? ( $(add_kdeapps_dep kdepimlibs) )
search? (
$(add_kdebase_dep kdelibs webkit 4.14.22)
dev-qt/qtwebkit:4
)
- shutdown? ( $(add_kdebase_dep libkworkspace) )
"
DEPEND="${COMMONDEPEND}
dev-libs/boost
@@ -74,17 +72,16 @@ PATCHES=(
)
src_prepare() {
- if ! use plasma; then
- sed -i \
- -e "s:add_subdirectory(plasma):#nada:g" \
- CMakeLists.txt || die "Failed to make plasmoid optional"
- fi
+ sed -i \
+ -e "s:add_subdirectory(plasma):#nada:g" \
+ CMakeLists.txt || die "Failed to make plasmoid optional"
kde4-base_src_prepare
}
src_configure() {
mycmakeargs=(
+ -D_ENABLE_SHUTDOWN_PLUGIN=OFF
$(cmake-utils_use_enable bwscheduler BWSCHEDULER_PLUGIN)
$(cmake-utils_use_enable downloadorder DOWNLOADORDER_PLUGIN)
$(cmake-utils_use_enable infowidget INFOWIDGET_PLUGIN)
@@ -97,7 +94,6 @@ src_configure() {
$(cmake-utils_use_enable rss SYNDICATION_PLUGIN)
$(cmake-utils_use_enable scanfolder SCANFOLDER_PLUGIN)
$(cmake-utils_use_enable search SEARCH_PLUGIN)
- $(cmake-utils_use_enable shutdown SHUTDOWN_PLUGIN)
$(cmake-utils_use_enable stats STATS_PLUGIN)
$(cmake-utils_use_enable upnp UPNP_PLUGIN)
$(cmake-utils_use_enable webinterface WEBINTERFACE_PLUGIN)