Add desktop entries for all the games, make the Setup launch generic
The same icon is used for all four games, even though it's designed to resemble Doom's logo and looks a bit silly with all of them lined up. Also the Setup Desktop Entry now only launches chocolate-setup, which then prompts for the game to configure. This avoids cluttering up a DE's Preferences menu, control panel, or however it will be displayed.
This commit is contained in:
parent
0fb3f5cd0d
commit
46dbe96efd
8 changed files with 47 additions and 10 deletions
|
|
@ -1,6 +1,7 @@
|
|||
AC_INIT(Chocolate Doom, 2.0.0, fraggle@gmail.com, chocolate-doom)
|
||||
|
||||
PACKAGE_SHORTDESC="Conservative Doom source port"
|
||||
PACKAGE_SHORTNAME=${PACKAGE_NAME% Doom}
|
||||
PACKAGE_SHORTDESC="Conservative source port"
|
||||
PACKAGE_COPYRIGHT="Copyright (C) 1993-2013"
|
||||
PACKAGE_LICENSE="GNU General Public License, version 2"
|
||||
PACKAGE_MAINTAINER="Simon Howard"
|
||||
|
|
@ -135,6 +136,7 @@ AC_SUBST(SDLNET_LIBS)
|
|||
|
||||
AC_SUBST(ac_aux_dir)
|
||||
|
||||
AC_SUBST(PACKAGE_SHORTNAME)
|
||||
AC_SUBST(PACKAGE_SHORTDESC)
|
||||
AC_SUBST(PACKAGE_COPYRIGHT)
|
||||
AC_SUBST(PACKAGE_LICENSE)
|
||||
|
|
@ -160,13 +162,16 @@ src/Makefile
|
|||
src/doom.desktop
|
||||
src/doom-screensaver.desktop
|
||||
src/doom/Makefile
|
||||
src/heretic.desktop
|
||||
src/heretic/Makefile
|
||||
src/hexen.desktop
|
||||
src/hexen/Makefile
|
||||
src/resource.rc
|
||||
src/setup-res.rc
|
||||
src/setup/Makefile
|
||||
src/setup/setup.desktop
|
||||
src/setup/setup-manifest.xml
|
||||
src/strife.desktop
|
||||
src/strife/Makefile
|
||||
textscreen/Makefile
|
||||
textscreen/examples/Makefile
|
||||
|
|
|
|||
|
|
@ -218,11 +218,24 @@ EXTRA_DIST = \
|
|||
manifest.xml
|
||||
|
||||
appdir = $(prefix)/share/applications
|
||||
app_DATA = @PROGRAM_PREFIX@doom.desktop
|
||||
app_DATA = \
|
||||
@PROGRAM_PREFIX@doom.desktop \
|
||||
@PROGRAM_PREFIX@heretic.desktop \
|
||||
@PROGRAM_PREFIX@hexen.desktop \
|
||||
@PROGRAM_PREFIX@strife.desktop
|
||||
|
||||
@PROGRAM_PREFIX@doom.desktop : doom.desktop
|
||||
cp doom.desktop $@
|
||||
|
||||
@PROGRAM_PREFIX@heretic.desktop : heretic.desktop
|
||||
cp heretic.desktop $@
|
||||
|
||||
@PROGRAM_PREFIX@hexen.desktop : hexen.desktop
|
||||
cp hexen.desktop $@
|
||||
|
||||
@PROGRAM_PREFIX@strife.desktop : strife.desktop
|
||||
cp strife.desktop $@
|
||||
|
||||
screensaverdir = $(prefix)/share/applications/screensavers
|
||||
screensaver_DATA = @PROGRAM_PREFIX@doom-screensaver.desktop
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,10 @@
|
|||
|
||||
[Desktop Entry]
|
||||
Name=@PACKAGE_NAME@
|
||||
Name=@PACKAGE_SHORTNAME@ Doom
|
||||
Comment=@PACKAGE_SHORTDESC@
|
||||
TryExec=@PROGRAM_PREFIX@doom
|
||||
Exec=@PROGRAM_PREFIX@doom
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
Type=Application
|
||||
OnlyShowIn=GNOME;
|
||||
OnlyShowIn=GNOME;MATE;
|
||||
Categories=Screensaver;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=@PACKAGE_NAME@
|
||||
Name=@PACKAGE_SHORTNAME@ Doom
|
||||
Exec=@PROGRAM_PREFIX@doom
|
||||
Icon=@PROGRAM_PREFIX@doom
|
||||
Type=Application
|
||||
|
|
|
|||
7
src/heretic.desktop.in
Normal file
7
src/heretic.desktop.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=@PACKAGE_SHORTNAME@ Heretic
|
||||
Exec=@PROGRAM_PREFIX@heretic
|
||||
Icon=@PROGRAM_PREFIX@doom
|
||||
Type=Application
|
||||
Comment=@PACKAGE_SHORTDESC@
|
||||
Categories=Game;ActionGame;
|
||||
7
src/hexen.desktop.in
Normal file
7
src/hexen.desktop.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=@PACKAGE_SHORTNAME@ Hexen
|
||||
Exec=@PROGRAM_PREFIX@hexen
|
||||
Icon=@PROGRAM_PREFIX@doom
|
||||
Type=Application
|
||||
Comment=@PACKAGE_SHORTDESC@
|
||||
Categories=Game;ActionGame;
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=@PACKAGE_NAME@ Setup
|
||||
Exec=@PROGRAM_PREFIX@doom-setup
|
||||
Name=@PACKAGE_SHORTNAME@ Setup
|
||||
Exec=@PROGRAM_PREFIX@setup
|
||||
Icon=@PROGRAM_PREFIX@setup
|
||||
Type=Application
|
||||
Comment=Setup tool for @PACKAGE_NAME@
|
||||
Comment=Setup tool for @PACKAGE_SHORTNAME@
|
||||
Categories=Settings
|
||||
|
|
|
|||
7
src/strife.desktop.in
Normal file
7
src/strife.desktop.in
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[Desktop Entry]
|
||||
Name=@PACKAGE_SHORTNAME@ Strife
|
||||
Exec=@PROGRAM_PREFIX@strife
|
||||
Icon=@PROGRAM_PREFIX@doom
|
||||
Type=Application
|
||||
Comment=@PACKAGE_SHORTDESC@
|
||||
Categories=Game;ActionGame;
|
||||
Loading…
Reference in a new issue