commit: e3d0f7fa22edc6d234526923f80da7c56a147db7 Author: Johannes Huber <johu <AT> gentoo <DOT> org> AuthorDate: Sun Nov 20 08:12:10 2016 +0000 Commit: Johannes Huber <johu <AT> gentoo <DOT> org> CommitDate: Sun Nov 20 08:15:10 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3d0f7fa
net-p2p/ktorrent: Drop deprecated Plasma 4 support Package-Manager: portage-2.3.2 net-p2p/ktorrent/ktorrent-4.3.1-r1.ebuild | 16 ++++++---------- 1 file 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 27cead6..4fac1d9 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)
