diff options
author | jmmv <jmmv> | 2004-01-29 22:11:01 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2004-01-29 22:11:01 +0000 |
commit | dd4cc57aeda090e1a756e1739ca8aa8044c54cd7 (patch) | |
tree | 410befcd0e7204bcbbfe3cdb63e77bb36fb50b51 /multimedia/kmplayer | |
parent | 7b92979e9cd81a3b257327ba43c13c7a318d0888 (diff) | |
download | pkgsrc-dd4cc57aeda090e1a756e1739ca8aa8044c54cd7.tar.gz |
Fix application launcher so that kmplayer can be started properly from the
KDE menu and from file context menus (i.e., "Open With" option).
Based on patch from Murray Armfield. Bump PKGREVISION to 3.
Diffstat (limited to 'multimedia/kmplayer')
-rw-r--r-- | multimedia/kmplayer/Makefile | 10 | ||||
-rw-r--r-- | multimedia/kmplayer/distinfo | 3 | ||||
-rw-r--r-- | multimedia/kmplayer/patches/patch-ab | 13 |
3 files changed, 23 insertions, 3 deletions
diff --git a/multimedia/kmplayer/Makefile b/multimedia/kmplayer/Makefile index 1aa7b5d6b90..b8f5807ea07 100644 --- a/multimedia/kmplayer/Makefile +++ b/multimedia/kmplayer/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2004/01/26 13:08:20 jmmv Exp $ +# $NetBSD: Makefile,v 1.3 2004/01/29 22:11:01 jmmv Exp $ # DISTNAME= kmplayer-0.8.2rc5 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= multimedia kde MASTER_SITES= http://www.xs4all.nl/~jjvrieze/ EXTRACT_SUFX= .tar.bz2 @@ -25,6 +25,12 @@ USE_PERL5= build SHLIBTOOL_OVERRIDE= ${WRKSRC}/libtool +SUBST_CLASSES+= desktop +SUBST_MESSAGE.desktop= "Fixing application launcher." +SUBST_STAGE.desktop= pre-configure +SUBST_FILES.desktop= src/kmplayer.desktop +SUBST_SED.desktop= -e 's|@PREFIX@|${PREFIX}|g' + .include "../../devel/zlib/buildlink2.mk" .include "../../graphics/jpeg/buildlink2.mk" .include "../../graphics/png/buildlink2.mk" diff --git a/multimedia/kmplayer/distinfo b/multimedia/kmplayer/distinfo index 5d4056f8735..61cd4c49e71 100644 --- a/multimedia/kmplayer/distinfo +++ b/multimedia/kmplayer/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2004/01/26 12:10:14 jmmv Exp $ +$NetBSD: distinfo,v 1.2 2004/01/29 22:11:01 jmmv Exp $ SHA1 (kmplayer-0.8.2rc5.tar.bz2) = 149b9ee63252de1e3ca11a1ed9ef066e2180ced5 Size (kmplayer-0.8.2rc5.tar.bz2) = 532645 bytes SHA1 (patch-aa) = b1c68e8a214ddd9083792bff544887c072f18e24 +SHA1 (patch-ab) = 333935386b0b465092ad42651d1078563da082b0 diff --git a/multimedia/kmplayer/patches/patch-ab b/multimedia/kmplayer/patches/patch-ab new file mode 100644 index 00000000000..afb1e67957b --- /dev/null +++ b/multimedia/kmplayer/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2004/01/29 22:11:01 jmmv Exp $ + +--- src/kmplayer.desktop.orig 2004-01-13 18:37:01.000000000 +0100 ++++ src/kmplayer.desktop +@@ -2,7 +2,7 @@ + [Desktop Entry] + Encoding=UTF-8 + Type=Application +-Exec=kmplayer -caption "%c" %i %m ++Exec=@PREFIX@/bin/kmplayer -caption "%c" %i %m + Icon=kmplayer.png + DocPath=kmplayer/index.html + Comment=KDE interface for MPlayer |