The following commit has been merged in the master branch:
commit 0975d0d90cd4617ffc915cee473c7ffbcce3575f
Author: Etienne Millon <[email protected]>
Date:   Tue Jul 3 20:00:15 2012 +0200

    Install PNG icons (Closes: #680078)

diff --git a/debian/changelog b/debian/changelog
index f5c9cb8..b35f658 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,6 @@
 zsnes (1.510+bz2-4) UNRELEASED; urgency=low
 
+  [ Etienne Millon ]
   * Disable build on amd64 (Closes: #679526)
     - Add Multi-Arch: Foreign
   * Add patch to initialize the ao_sample_format structure
@@ -9,6 +10,7 @@ zsnes (1.510+bz2-4) UNRELEASED; urgency=low
     - use find -delete instead of command expansion
     - use dpkg-buildflags
     - add -Wl,--as-needed to LDFLAGS (Closes: #607311)
+  * Install high-res PNG icons provided with the sources (Closes: #680078)
 
   [ Eshat Cakar ]
   * Improve zsnes.desktop file, thanks to Fabian Greffrath (Closes: #680054)
diff --git a/debian/rules b/debian/rules
index e1a3231..5090080 100755
--- a/debian/rules
+++ b/debian/rules
@@ -26,6 +26,14 @@ override_dh_clean:
        find src/ -type f -name '*.o' -delete
        dh_clean
 
+override_dh_install:
+       dh_install
+       for res in 16 32 48 64; do \
+               mkdir -p 
debian/zsnes/usr/share/icons/hicolor/$${res}x$${res}/apps; \
+               cp -f src/icons/$${res}x$${res}x32.png \
+                       
debian/zsnes/usr/share/icons/hicolor/$${res}x$${res}/apps/zsnes.png; \
+       done
+
 override_dh_installchangelogs:
        dh_installchangelogs docs/readme.txt/history.txt
 

-- 
Emulator of the Super Nintendo Entertainment System (TM)

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to