[renpy] 04/06: Convert hicolor MacOS icons to png and install them
Markus Koschany
apo-guest at moszumanska.debian.org
Sun Mar 27 22:53:06 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository renpy.
commit ff2f87b1f30e003c2485d738093cc5e5280b959c
Author: Markus Koschany <apo at debian.org>
Date: Sun Mar 27 23:33:09 2016 +0200
Convert hicolor MacOS icons to png and install them
to hicolor directory. Build-Depend on icnsutils.
---
debian/control | 1 +
debian/renpy-thequestion.install | 1 +
debian/renpy.install | 1 +
debian/rules | 6 ++++++
4 files changed, 9 insertions(+)
diff --git a/debian/control b/debian/control
index 601303a..0e5a423 100644
--- a/debian/control
+++ b/debian/control
@@ -8,6 +8,7 @@ Build-Depends:
cython,
debhelper (>= 9),
dh-python,
+ icnsutils,
libavcodec-dev,
libavformat-dev,
libavresample-dev,
diff --git a/debian/renpy-thequestion.install b/debian/renpy-thequestion.install
index a0794a2..b36f054 100644
--- a/debian/renpy-thequestion.install
+++ b/debian/renpy-thequestion.install
@@ -2,3 +2,4 @@ debian/bin/renpy-the_question.sh usr/share/games/renpy
debian/icons/renpy-thequestion.xpm usr/share/pixmaps
debian/renpy-thequestion.desktop usr/share/applications
the_question/* usr/share/games/renpy/the_question
+renpy-thequestion.png usr/share/icons/hicolor/128x128/apps
diff --git a/debian/renpy.install b/debian/renpy.install
index 7624ee6..f54a5f0 100644
--- a/debian/renpy.install
+++ b/debian/renpy.install
@@ -4,3 +4,4 @@ launcher usr/share/games/renpy
renpy usr/share/games/renpy
renpy.py usr/share/games/renpy
templates usr/share/games/renpy
+renpy.png usr/share/icons/hicolor/128x128/apps
diff --git a/debian/rules b/debian/rules
index af6dfa7..ea3361c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -17,6 +17,11 @@ RENPY_DEPS_INSTALL="/usr::/usr/lib/$(DEB_HOST_MULTIARCH)"
override_dh_install-indep:
chmod +x renpy.py
+ # Convert hicolor MacOS icons to png
+ icns2png -x -s 128x128 -d 32 launcher/icon.icns
+ mv icon_128x128x32.png renpy.png
+ icns2png -x -s 128x128 -d 32 the_question/icon.icns
+ mv icon_128x128x32.png renpy-thequestion.png
dh_install
#Fix Privacy Issues
cd $(CURDIR)/debian/renpy-doc/usr/share/doc/renpy/html/ && \
@@ -55,6 +60,7 @@ override_dh_clean:
rm -fv module/gen/*.cc
rm -fv module/gen/*.pyx
rm -fv module/gen/*.pxi
+ $(RM) renpy.png renpy-thequestion.png
get-orig-source:
uscan --download-current-version --force-download --repack --compression xz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/renpy.git
More information about the Pkg-games-commits
mailing list