summaryrefslogtreecommitdiff
path: root/multimedia/avidemux
diff options
context:
space:
mode:
authorjmcneill <jmcneill@pkgsrc.org>2009-01-27 00:56:41 +0000
committerjmcneill <jmcneill@pkgsrc.org>2009-01-27 00:56:41 +0000
commit5cbcfe7abc5ef969b916687e6aeb1c473736b724 (patch)
tree83c6a0aa3d77ff1e30b07eb4db90e6b9218fc856 /multimedia/avidemux
parent458eefea95b0284f0b773a398fa2c28dd09a5ec1 (diff)
downloadpkgsrc-5cbcfe7abc5ef969b916687e6aeb1c473736b724.tar.gz
Install xdg desktop shortcut and associated icon.
Diffstat (limited to 'multimedia/avidemux')
-rw-r--r--multimedia/avidemux/Makefile12
-rw-r--r--multimedia/avidemux/PLIST4
2 files changed, 13 insertions, 3 deletions
diff --git a/multimedia/avidemux/Makefile b/multimedia/avidemux/Makefile
index b97a9f162b9..3fd0991eb4e 100644
--- a/multimedia/avidemux/Makefile
+++ b/multimedia/avidemux/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.51 2009/01/04 21:37:54 wiz Exp $
+# $NetBSD: Makefile,v 1.52 2009/01/27 00:56:41 jmcneill Exp $
#
DISTNAME= avidemux_2.4.3
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= multimedia
MASTER_SITES= http://download.berlios.de/avidemux/
@@ -19,6 +19,7 @@ USE_LIBTOOL= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt pkg-config
USE_CMAKE= yes
+USE_DIRS+= xdg-1.4
CMAKE_ARGS+= -DNO_ARTS=1
@@ -30,6 +31,12 @@ SUBST_FILES.audio= avidemux/ADM_audiodevice/ADM_deviceoss.cpp
SUBST_SED.audio= -e "s|\\/dev\\/dsp|${DEVOSSAUDIO}|g"
SUBST_MESSAGE.audio= Fixing hardcoded audio device.
+post-install:
+ ${INSTALL_DATA} ${WRKSRC}/avidemux2.desktop \
+ ${DESTDIR}${PREFIX}/share/applications/avidemux2.desktop
+ ${INSTALL_DATA} ${WRKSRC}/avidemux_icon.png \
+ ${DESTDIR}${PREFIX}/share/icons/hicolor/64x64/apps/avidemux.png
+
.include "options.mk"
.include "../../audio/faac/buildlink3.mk"
@@ -42,6 +49,7 @@ SUBST_MESSAGE.audio= Fixing hardcoded audio device.
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/spidermonkey/buildlink3.mk"
.include "../../multimedia/xvidcore/buildlink3.mk"
.include "../../multimedia/x264-devel/buildlink3.mk"
diff --git a/multimedia/avidemux/PLIST b/multimedia/avidemux/PLIST
index add25685070..8109a640c95 100644
--- a/multimedia/avidemux/PLIST
+++ b/multimedia/avidemux/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.7 2008/11/10 23:43:39 wiz Exp $
+@comment $NetBSD: PLIST,v 1.8 2009/01/27 00:56:41 jmcneill Exp $
bin/avidemux2_cli
bin/avidemux2_gtk
+share/applications/avidemux2.desktop
+share/icons/hicolor/64x64/apps/avidemux.png
share/locale/ca/LC_MESSAGES/avidemux.mo
share/locale/cs/LC_MESSAGES/avidemux.mo
share/locale/de/LC_MESSAGES/avidemux.mo