aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/ppsspp
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-09-25 02:08:56 +0800
committerjbeich <jbeich@FreeBSD.org>2015-09-25 02:08:56 +0800
commit0a8d4b117366ca88394694fa319d7b22ff2ae457 (patch)
treeaa944391bf30c9cf05a3c00d3e5c0c85c1a7efa7 /emulators/ppsspp
parentf2f40ec5175418855272a142fc16e44df3db1f96 (diff)
downloadfreebsd-ports-gnome-0a8d4b117366ca88394694fa319d7b22ff2ae457.tar.gz
freebsd-ports-gnome-0a8d4b117366ca88394694fa319d7b22ff2ae457.tar.zst
freebsd-ports-gnome-0a8d4b117366ca88394694fa319d7b22ff2ae457.zip
emulators/ppsspp: generate better .desktop file
The one from Debian was very basic and removed upstream.
Diffstat (limited to 'emulators/ppsspp')
-rw-r--r--emulators/ppsspp/Makefile9
-rw-r--r--emulators/ppsspp/pkg-plist1
2 files changed, 7 insertions, 3 deletions
diff --git a/emulators/ppsspp/Makefile b/emulators/ppsspp/Makefile
index 061e15cac928..16a246131a12 100644
--- a/emulators/ppsspp/Makefile
+++ b/emulators/ppsspp/Makefile
@@ -40,6 +40,13 @@ QMAKE_ARGS= CONFIG+="system_ffmpeg" LREL_TOOL="${LRELEASE}"
NINJA_VERBOSE= yes
NO_INSTALL= yes # ports/202949
+DESKTOP_ENTRIES="PPSSPP" \
+ "" \
+ "${PORTNAME}" \
+ "${PORTNAME} %f" \
+ "Game;Emulator;" \
+ ""
+
OPTIONS_DEFAULT=QT5
OPTIONS_SINGLE= GUI
OPTIONS_SINGLE_GUI= QT4 QT5 SDL
@@ -85,8 +92,6 @@ do-install-SDL-off:
${STAGEDIR}${PREFIX}/bin
post-install:
- ${INSTALL_DATA} ${WRKSRC}/debian/${PORTNAME}.desktop \
- ${STAGEDIR}${DESKTOPDIR}
${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 \
${STAGEDIR}${MAN1PREFIX}/man/man1
(cd ${WRKSRC}/assets/unix-icons && ${COPYTREE_SHARE} \
diff --git a/emulators/ppsspp/pkg-plist b/emulators/ppsspp/pkg-plist
index 45d61e434e78..eddf114d5b8b 100644
--- a/emulators/ppsspp/pkg-plist
+++ b/emulators/ppsspp/pkg-plist
@@ -1,6 +1,5 @@
bin/ppsspp
man/man1/ppsspp.1.gz
-share/applications/ppsspp.desktop
share/icons/hicolor/128x128/apps/ppsspp.png
share/icons/hicolor/16x16/apps/ppsspp.png
share/icons/hicolor/24x24/apps/ppsspp.png