From d07b88e469abbb7c82d10fbe17473d529aaa4388 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 14 May 2011 21:07:55 +0000 Subject: Add freedesktop.org desktop files for chocolate-doom, chocolate-setup (thanks Adrián Chaves Fernández). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 2337 --- setup/.gitignore | 5 ++++- setup/Makefile.am | 6 ++++++ setup/setup.desktop.in | 7 +++++++ 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 setup/setup.desktop.in (limited to 'setup') diff --git a/setup/.gitignore b/setup/.gitignore index 37c8e4c1..ff78f4c5 100644 --- a/setup/.gitignore +++ b/setup/.gitignore @@ -1,7 +1,10 @@ Makefile.in Makefile .deps -chocolate-setup +setup-manifest.xml +setup.desktop +*-setup +*-setup.desktop *.rc *.exe tags diff --git a/setup/Makefile.am b/setup/Makefile.am index 96003ce0..37bea567 100644 --- a/setup/Makefile.am +++ b/setup/Makefile.am @@ -36,6 +36,12 @@ endif @SDLMIXER_LIBS@ \ @LDFLAGS@ +appdir = $(prefix)/share/applications +app_DATA = @PROGRAM_PREFIX@setup.desktop + +@PROGRAM_PREFIX@setup.desktop : setup.desktop + cp $^ $@ + .rc.o: $(WINDRES) $^ -o $@ %.o : %.rc diff --git a/setup/setup.desktop.in b/setup/setup.desktop.in new file mode 100644 index 00000000..79fb38be --- /dev/null +++ b/setup/setup.desktop.in @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=@PACKAGE_NAME@ Setup +Exec=@PROGRAM_PREFIX@setup +Icon=@PROGRAM_PREFIX@setup +Type=Application +Comment=Setup tool for @PACKAGE_NAME@ +Categories=Settings;ConsoleOnly; -- cgit v1.2.3