Add a .desktop file to show aqualung in desktop menu.
Update PLIST, bump PKGNAME and add desktop-database goo. Based on a diff from Jeremy Evans, with tweaks from ajacoutot@ ok ajacoutot@
This commit is contained in:
parent
3052a293aa
commit
15177a13ed
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2008/02/15 15:52:02 steven Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2008/03/15 11:54:10 landry Exp $
|
||||
|
||||
COMMENT= advanced music player
|
||||
|
||||
DISTNAME= aqualung-0.9beta9.1
|
||||
PKGNAME= ${DISTNAME}p0
|
||||
CATEGORIES= audio
|
||||
|
||||
HOMEPAGE= http://aqualung.factorial.hu/
|
||||
@ -32,6 +33,8 @@ LIB_DEPENDS= gtk-x11-2.0,gdk-x11-2.0,gdk_pixbuf-2.0::x11/gtk+2 \
|
||||
avcodec,avformat,avutil::graphics/ffmpeg \
|
||||
vorbis,vorbisfile,vorbisenc::audio/libvorbis \
|
||||
bz2::archivers/bzip2
|
||||
|
||||
RUN_DEPENDS= ::devel/desktop-file-utils
|
||||
|
||||
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes Xi \
|
||||
Xinerama Xrandr Xrender c expat freetype fontconfig atk-1.0 \
|
||||
@ -78,5 +81,9 @@ CONFIGURE_ARGS= --with-flac \
|
||||
|
||||
post-install:
|
||||
mv ${PREFIX}/share/aqualung/doc ${PREFIX}/share/doc/aqualung
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
||||
sed -e 's+%%PREFIX%%+${TRUEPREFIX}+' ${FILESDIR}/aqualung.desktop > \
|
||||
${PREFIX}/share/applications/aqualung.desktop
|
||||
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
14
audio/aqualung/files/aqualung.desktop
Normal file
14
audio/aqualung/files/aqualung.desktop
Normal file
@ -0,0 +1,14 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Type=Application
|
||||
Encoding=UTF-8
|
||||
Name=Aqualung
|
||||
Name[de]=Aqualung
|
||||
Name[fi]=Aqualung
|
||||
GenericName=Music Player
|
||||
GenericName[de]=Musik-Wiedergabe
|
||||
GenericName[fi]=musiikkisoitin
|
||||
Icon=%%PREFIX%%/share/aqualung/icon_64.png
|
||||
Exec=aqualung
|
||||
Terminal=false
|
||||
Categories=Application;AudioVideo;Audio;Player;
|
@ -1,6 +1,7 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/02/15 15:52:02 steven Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2008/03/15 11:54:10 landry Exp $
|
||||
bin/aqualung
|
||||
@man man/man1/aqualung.1
|
||||
share/applications/aqualung.desktop
|
||||
share/aqualung/
|
||||
share/aqualung/appearance.png
|
||||
share/aqualung/cdda.png
|
||||
@ -140,3 +141,5 @@ share/locale/hu/LC_MESSAGES/aqualung.mo
|
||||
share/locale/it/LC_MESSAGES/aqualung.mo
|
||||
share/locale/ru/LC_MESSAGES/aqualung.mo
|
||||
share/locale/uk/LC_MESSAGES/aqualung.mo
|
||||
@exec %D/bin/update-desktop-database
|
||||
@unexec %D/bin/update-desktop-database
|
||||
|
Loading…
Reference in New Issue
Block a user