[office-runner] Add desktop file



commit 892f27208ff8e57a8894970c22f638016138acc9
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Sep 16 02:05:24 2011 +0100

    Add desktop file

 po/POTFILES.in               |    1 +
 src/Makefile.am              |    9 ++++++++-
 src/office-runner.desktop.in |    9 +++++++++
 3 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/po/POTFILES.in b/po/POTFILES.in
index d12d0e4..8c13900 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,2 +1,3 @@
 src/office-runner.c
 [type: gettext/glade] src/office-runner.ui
+[type: gettext/ini] src/office-runner.desktop.in
diff --git a/src/Makefile.am b/src/Makefile.am
index 9874c30..d2e0317 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -15,6 +15,13 @@ stuff_DATA =				\
 	gold-cup.png
 stuffdir = $(pkgdatadir)
 
-EXTRA_DIST = $(stuff_DATA)
+desktop_in_files = office-runner.desktop.in
+desktopdir = $(datadir)/applications
+desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+ INTLTOOL_DESKTOP_RULE@
+
+EXTRA_DIST = $(stuff_DATA) $(desktop_in_files)
+
+CLEANFILES = $(desktop_DATA)
 
 -include $(top_srcdir)/git.mk
diff --git a/src/office-runner.desktop.in b/src/office-runner.desktop.in
new file mode 100644
index 0000000..ae0779c
--- /dev/null
+++ b/src/office-runner.desktop.in
@@ -0,0 +1,9 @@
+[Desktop Entry]
+_Name=Office Runner
+_Comment=Office game for laptop owners
+Exec=office-runner
+Icon=office-runner
+Terminal=false
+Type=Application
+Categories=GTK;GNOME;Utility;Game;ArcadeGame;SportsGame;
+StartupNotify=true



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]