pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/kmplayer Fix application launcher so that k...
details: https://anonhg.NetBSD.org/pkgsrc/rev/18a75d4d5643
branches: trunk
changeset: 467362:18a75d4d5643
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Thu Jan 29 22:11:01 2004 +0000
description:
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:
multimedia/kmplayer/Makefile | 10 ++++++++--
multimedia/kmplayer/distinfo | 3 ++-
multimedia/kmplayer/patches/patch-ab | 13 +++++++++++++
3 files changed, 23 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r 9c89036d6bca -r 18a75d4d5643 multimedia/kmplayer/Makefile
--- a/multimedia/kmplayer/Makefile Thu Jan 29 22:07:20 2004 +0000
+++ b/multimedia/kmplayer/Makefile Thu Jan 29 22:11:01 2004 +0000
@@ -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 @@
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 -r 9c89036d6bca -r 18a75d4d5643 multimedia/kmplayer/distinfo
--- a/multimedia/kmplayer/distinfo Thu Jan 29 22:07:20 2004 +0000
+++ b/multimedia/kmplayer/distinfo Thu Jan 29 22:11:01 2004 +0000
@@ -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 -r 9c89036d6bca -r 18a75d4d5643 multimedia/kmplayer/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/kmplayer/patches/patch-ab Thu Jan 29 22:11:01 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index