aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-02 18:30:13 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-02 18:30:13 +0200
commit05cf57050c81aaeb765ba522db83bca5ff64b2a7 (patch)
tree0bf19059615628f484e7e66b0a50e5a363ed66f1 /media-video
parentkde-plasma/plasma-meta: Enforce one of two logind implementations (diff)
downloadkde-05cf57050c81aaeb765ba522db83bca5ff64b2a7.tar.gz
kde-05cf57050c81aaeb765ba522db83bca5ff64b2a7.tar.bz2
kde-05cf57050c81aaeb765ba522db83bca5ff64b2a7.zip
media-video/kmplayer: Drop dead IUSE=npp
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/kmplayer/kmplayer-9999.ebuild29
-rw-r--r--media-video/kmplayer/metadata.xml3
2 files changed, 2 insertions, 30 deletions
diff --git a/media-video/kmplayer/kmplayer-9999.ebuild b/media-video/kmplayer/kmplayer-9999.ebuild
index f8bb96c0b3..a652e23416 100644
--- a/media-video/kmplayer/kmplayer-9999.ebuild
+++ b/media-video/kmplayer/kmplayer-9999.ebuild
@@ -19,7 +19,7 @@ fi
LICENSE="GPL-2 FDL-1.2 LGPL-2.1"
SLOT="5"
-IUSE="cairo npp"
+IUSE="cairo"
BDEPEND="sys-devel/gettext"
DEPEND="
@@ -47,42 +47,17 @@ DEPEND="
x11-libs/libX11
x11-libs/libxcb
cairo? ( x11-libs/cairo[X,xcb(+)] )
- npp? (
- dev-libs/dbus-glib
- dev-libs/glib:2
- www-plugins/adobe-flash:*
- x11-libs/gtk+:2
- )
"
RDEPEND="${DEPEND}
media-video/mplayer
"
-src_prepare() {
- if use npp; then
- sed -i src/kmplayer_part.desktop \
- -e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die
- fi
-
- ecm_src_prepare
-}
-
src_configure() {
# 0.12: expat build broken, check in later releases
local mycmakeargs=(
-DKMPLAYER_BUILT_WITH_EXPAT=OFF
+ -DKMPLAYER_BUILT_WITH_NPP=OFF
-DKMPLAYER_BUILT_WITH_CAIRO=$(usex cairo)
- -DKMPLAYER_BUILT_WITH_NPP=$(usex npp)
)
-
ecm_src_configure
}
-
-src_install() {
- ecm_src_install
-
- if use npp; then
- kwriteconfig5 --file "${ED}/usr/share/config/kmplayerrc" --group "application/x-shockwave-flash" --key player npp
- kwriteconfig5 --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 d4fe1b93f0..e68bcea066 100644
--- a/media-video/kmplayer/metadata.xml
+++ b/media-video/kmplayer/metadata.xml
@@ -9,7 +9,4 @@
<email>media-video@gentoo.org</email>
<name>Gentoo Video project</name>
</maintainer>
- <use>
- <flag name="npp">Compile the npp backend that plays xembed style browser plugins.</flag>
- </use>
</pkgmetadata>