summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
}