summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-08-27 17:13:15 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-08-27 17:13:15 +0200
commit00609a1246fb854a8fd83aa208ded0433c60473d (patch)
tree27334f8206058d1975b48ed62912a38f5cb8d909 /media-video
parentapp-emulation/xe-guest-utilities: change of proxy maintainer per personal email. (diff)
downloadgentoo-00609a1246fb854a8fd83aa208ded0433c60473d.tar.gz
gentoo-00609a1246fb854a8fd83aa208ded0433c60473d.tar.bz2
gentoo-00609a1246fb854a8fd83aa208ded0433c60473d.zip
media-video/kmplayer: Fix build with USE="-npp"
Package-Manager: portage-2.3.0
Diffstat (limited to 'media-video')
-rw-r--r--media-video/kmplayer/kmplayer-0.12.0a.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-video/kmplayer/kmplayer-0.12.0a.ebuild b/media-video/kmplayer/kmplayer-0.12.0a.ebuild
index 7e2b64d2f6c2..225c94c8bd6a 100644
--- a/media-video/kmplayer/kmplayer-0.12.0a.ebuild
+++ b/media-video/kmplayer/kmplayer-0.12.0a.ebuild
@@ -56,8 +56,10 @@ RDEPEND="${CDEPEND}
"
src_prepare() {
- use npp && sed -i src/kmplayer_part.desktop \
+ if use npp; then
+ sed -i src/kmplayer_part.desktop \
-e ":^MimeType: s:=:=application/x-shockwave-flash;:" || die
+ fi
kde5_src_prepare
}