games-fps/warsow: use desktop-utils.exlib

This commit is contained in:
Julian Ospald 2016-05-26 14:46:38 +02:00
parent 256fb5135a
commit c86a2d7600
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
1 changed files with 2 additions and 12 deletions

View File

@ -7,7 +7,7 @@ ENGINE_P=${PN}_${ENGINE_PV}_sdk
WORK=${WORKBASE}/${ENGINE_P}/source/source
require cmake [ api=2 ] gtk-icon-cache
require cmake [ api=2 ] gtk-icon-cache desktop-utils
SUMMARY="Multiplayer FPS based on the QFusion engine (evolved from Quake 2)"
HOMEPAGE="http://www.warsow.net/"
@ -89,16 +89,6 @@ EOF
insinto /usr/share/icons/hicolor/48x48/apps
doins "${FETCHEDDIR}"/${PN}.png
insinto /usr/share/applications
hereins ${PN}.desktop <<EOF
[Desktop Entry]
Name=Warsow
Type=Application
Comment=Multiplayer FPS based on the QFusion engine (evolved from Quake 2)
Exec=warsow
TryExec=warsow
Icon=warsow
Categories=Game;ActionGame;
EOF
install_desktop_entry "Name=Warsow"
}