[SCM] Classic first person shooter branch, smcv, updated. d5e58272358a0497d7958d268b8a84191ecb4bb3

Simon McVittie smcv at debian.org
Sat Jul 9 17:24:10 UTC 2011


The following commit has been merged in the smcv branch:
commit e73bcd777de5b86fdd092753c165f8cf84f51125
Author: Simon McVittie <smcv at debian.org>
Date:   Sat Jul 9 16:31:09 2011 +0100

    Build and install a scalable Quake icon

diff --git a/.gitignore b/.gitignore
index 301e44a..62bb444 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
 /256/
 /quake
 /quake.xpm
+/quake.svg
diff --git a/Makefile b/Makefile
index c29c2af..df55eef 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,8 @@ obj = \
 	24/quake.png \
 	32/quake.png \
 	48/quake.png \
-	256/quake.png
+	256/quake.png \
+	quake.svg
 
 all: $(obj)
 
@@ -35,5 +36,13 @@ quake.xpm: 32/quake.png
 	convert $< $@
 
 clean: 
-	rm -f $(obj)
+	rm -f $(obj) tmp.svg
 	rm -rf 16 22 24 32 48 256
+
+quake.svg: quake1+2.svg Makefile
+	xmlstarlet ed -d "//*[local-name() = 'g' and @id != 'layer-quake-256']" < $< > tmp.svg
+	inkscape \
+		--export-area-page \
+		--export-plain-svg=$@ \
+		tmp.svg
+	rm -f tmp.svg
diff --git a/debian/quake.install b/debian/quake.install
index 2e162a4..fb15b48 100644
--- a/debian/quake.install
+++ b/debian/quake.install
@@ -8,3 +8,4 @@ quake.xpm      /usr/share/pixmaps
 24/quake.png   /usr/share/icons/hicolor/24x24/apps
 22/quake.png   /usr/share/icons/hicolor/22x22/apps
 16/quake.png   /usr/share/icons/hicolor/16x16/apps
+quake.svg      /usr/share/icons/hicolor/scalable/apps

-- 
Classic first person shooter



More information about the Pkg-games-commits mailing list