[SCM] Civilization turn-based strategy game branch, master, updated. debian/2.1.9-1-16-gbc563bb
Karl Goetz
karl.goetz at kgoetz.id.au
Fri Nov 27 13:08:07 UTC 2009
The following commit has been merged in the master branch:
commit cfd361da85975e0018d06b94ff2ec8768135e2e4
Author: Karl Goetz <karl at kgoetz.id.au>
Date: Fri Nov 27 23:35:36 2009 +1030
* Create a .desktop file per client. (gtk2.0/xaw3d/sdl)
diff --git a/debian/rules b/debian/rules
index efc6c40..49eec8a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -118,16 +118,24 @@ install-stamp: build-server-stamp build-gtk-stamp build-xaw3d-stamp build-sdl-st
(cd build-xaw3d; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
localedir=$(DESTDIR)/usr/share/locale install)
mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-xaw3d
+ cp debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
+ sed -i -e 's/Exec=civclient/Exec=civclient-xaw3d/' debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
+ sed -i -e 's/GTK;//' debian/tmp/usr/share/applications/freeciv-xaw3d.desktop
(cd build-gtk; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
localedir=$(DESTDIR)/usr/share/locale install)
mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-gtk
+ cp debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-gtk.desktop
+ sed -i -e 's/Exec=civclient/Exec=civclient-gtk/' debian/tmp/usr/share/applications/freeciv-gtk.desktop
$(INSTALL_DIR) $(CURDIR)/debian/tmp/usr/share/ggz/modules/freeciv
cp build-gtk/data/civclient.dsc debian/tmp/usr/share/ggz/modules/freeciv
(cd build-sdl; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp \
localedir=$(DESTDIR)/usr/share/locale install)
mv debian/tmp/usr/games/civclient debian/tmp/usr/games/civclient-sdl
+ mv debian/tmp/usr/share/applications/freeciv.desktop debian/tmp/usr/share/applications/freeciv-sdl.desktop
+ sed -i -e 's/Exec=civclient/Exec=civclient-sdl/' debian/tmp/usr/share/applications/freeciv-sdl.desktop
+ sed -i -e 's/GTK;//' debian/tmp/usr/share/applications/freeciv-sdl.desktop
$(INSTALL_DIR) $(CURDIR)/debian/tmp/usr/share/pixmaps
cp debian/civclient.xpm debian/tmp/usr/share/pixmaps
--
Civilization turn-based strategy game
More information about the Pkg-games-commits
mailing list