diff options
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r-- | media-video/kmplayer/kmplayer-0.11.5.ebuild | 23 | ||||
-rw-r--r-- | media-video/kmplayer/metadata.xml | 5 |
2 files changed, 4 insertions, 24 deletions
diff --git a/media-video/kmplayer/kmplayer-0.11.5.ebuild b/media-video/kmplayer/kmplayer-0.11.5.ebuild index 88b6825d..e3730532 100644 --- a/media-video/kmplayer/kmplayer-0.11.5.ebuild +++ b/media-video/kmplayer/kmplayer-0.11.5.ebuild @@ -1,6 +1,5 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI=6 @@ -14,7 +13,7 @@ SRC_URI="https://github.com/KDE/kmplayer/archive/${COMMIT}.tar.gz -> ${P}.tar.gz LICENSE="GPL-2 FDL-1.2 LGPL-2.1" SLOT="4" KEYWORDS="~amd64 ~x86" -IUSE="cairo debug expat npp" +IUSE="cairo debug expat" DEPEND=" media-libs/phonon:0-qt4 @@ -24,12 +23,6 @@ DEPEND=" x11-libs/pango ) expat? ( >=dev-libs/expat-2.0.1 ) - npp? ( - $(add_kdeapps_dep kreadconfig) - dev-libs/dbus-glib - www-plugins/adobe-flash:* - >=x11-libs/gtk+-2.10.14:2 - ) " RDEPEND="${DEPEND} media-video/mplayer @@ -40,7 +33,6 @@ PATCHES=( "${FILESDIR}/${PN}-0.11.3d-cmake34.patch" ) S="${WORKDIR}/${PN}-${COMMIT}" src_prepare() { - use npp && epatch "${FILESDIR}/${PN}-flash.patch" sed -e '/add_subdirectory(icons)/d' \ -i CMakeLists.txt || die @@ -51,17 +43,8 @@ src_configure() { local mycmakeargs=( -DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo) -DKMPLAYER_BUILT_WITH_EXPAT=$(usex expat) - -DKMPLAYER_BUILT_WITH_NPP=$(usex npp) + -DKMPLAYER_BUILT_WITH_NPP=OFF ) kde4-base_src_configure } - -src_install() { - kde4-base_src_install - - if use npp; then - kwriteconfig --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp - kwriteconfig --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key plugin /usr/lib/nsbrowser/plugins/libflashplayer.so - fi -} diff --git a/media-video/kmplayer/metadata.xml b/media-video/kmplayer/metadata.xml index 79ede09d..6f49eba8 100644 --- a/media-video/kmplayer/metadata.xml +++ b/media-video/kmplayer/metadata.xml @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <use> - <flag name="npp">Compile the npp backend that plays xembed style browser plugins.</flag> - </use> +<!-- maintainer-needed --> </pkgmetadata> |