aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2009-02-17 05:50:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2009-02-17 05:50:09 +0800
commit37115f11457002170423edaf8ac64743565079bb (patch)
treefe13780d1ade34ea334957de0c18f94078d59a51 /audio
parent635db622e82f39c209132fa9a3eacd882501b04f (diff)
downloadfreebsd-ports-gnome-37115f11457002170423edaf8ac64743565079bb.tar.gz
freebsd-ports-gnome-37115f11457002170423edaf8ac64743565079bb.tar.zst
freebsd-ports-gnome-37115f11457002170423edaf8ac64743565079bb.zip
- Add desktop entry
PR: 127368 Submitted by: "Carlos A. M. dos Santos" <unixmania at gmail dot com>
Diffstat (limited to 'audio')
-rw-r--r--audio/last.fm/Makefile4
-rw-r--r--audio/last.fm/files/last.fm.desktop20
-rw-r--r--audio/last.fm/pkg-plist2
3 files changed, 25 insertions, 1 deletions
diff --git a/audio/last.fm/Makefile b/audio/last.fm/Makefile
index 739d8820c2f7..e51902225bf9 100644
--- a/audio/last.fm/Makefile
+++ b/audio/last.fm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= last.fm
PORTVERSION= 1.3.2.14
+PORTREVISION= 1
CATEGORIES= audio net
MASTER_SITES= http://cdn.last.fm/client/src/
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
@@ -47,7 +48,8 @@ post-build:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/bin/last.fm ${PREFIX}/bin/last.fm
- ${MKDIR} ${PREFIX}/share/services
+ ${MKDIR} ${PREFIX}/share/applications ${PREFIX}/share/services
+ ${INSTALL_DATA} ${FILESDIR}/last.fm.desktop ${PREFIX}/share/applications
${INSTALL_DATA} ${FILESDIR}/lastfm.protocol ${PREFIX}/share/services
${MKDIR} ${DATADIR}
${CP} -Rp ${WRKSRC}/bin/* ${DATADIR}/
diff --git a/audio/last.fm/files/last.fm.desktop b/audio/last.fm/files/last.fm.desktop
new file mode 100644
index 000000000000..7a24e49aed61
--- /dev/null
+++ b/audio/last.fm/files/last.fm.desktop
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Name=Client for the Last.fm network
+Name[de]=Client für das Last.fm-netzwerk
+Name[es]=Cliente para la red Last.fm
+Name[it]=Cliente per la rete di Last.fm
+Name[pt_BR]=Cliente para a rede Last.fm
+Name[pt_PT]=Cliente para a rede Last.fm
+Comment=Client for the Last.fm Network
+Comment[de]=Client für das Last.fm-Netzwerk
+Comment[es]=Cliente para la red Last.fm
+Comment[it]=Cliente per la rete di Last.fm
+Comment[pt_BR]=Cliente para a Rede Last.fm
+Comment[pt_PT]=Cliente para a Rede Last.fm
+Exec=last.fm
+Terminal=false
+Type=Application
+Encoding=UTF-8
+Icon=/usr/local/share/last.fm/data/icons/as.png
+Categories=AudioVideo;Player;Qt;
+StartupNotify=true
diff --git a/audio/last.fm/pkg-plist b/audio/last.fm/pkg-plist
index 0c51436bd15b..0cd9a9a8ae8c 100644
--- a/audio/last.fm/pkg-plist
+++ b/audio/last.fm/pkg-plist
@@ -108,8 +108,10 @@ bin/last.fm
%%DATADIR%%/services/libsrv_itunesdevice.so
%%DATADIR%%/services/libsrv_mp3transcode.so
%%DATADIR%%/services/libsrv_rtaudioplayback.so
+share/applications/last.fm.desktop
share/services/lastfm.protocol
@dirrmtry share/services
+@dirrmtry share/applications
@dirrm %%DATADIR%%/services
@dirrm %%DATADIR%%/extensions
@dirrm %%DATADIR%%/data/icons