Commit c8a11a93 authored by Jaromír Mikeš's avatar Jaromír Mikeš

Install png icons.

parent f04fe39d
......@@ -16,7 +16,8 @@ Build-Depends:
libsndfile1-dev (>= 1.0.10),
libxml2-dev (>= 2.6.11),
liblo-dev (>= 0.26~repack),
libssl-dev
libssl-dev,
imagemagick
Standards-Version: 3.9.8
Vcs-Git: https://anonscm.debian.org/git/pkg-multimedia/petri-foo.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-multimedia/petri-foo.git
......
usr
debian/specimen2petri-foo/s2p* usr/share/doc/petri-foo/specimen2petri-foo/
debian/specimen2petri-foo/Readme usr/share/doc/petri-foo/specimen2petri-foo/
......@@ -2,7 +2,7 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export LDFLAGS+=-Wl,--as-needed
export DEB_MAINT_LD_FLAGS_APPEND = -Wl,--as-needed
export DESTDIR = debian/tmp
......@@ -11,3 +11,13 @@ export DESTDIR = debian/tmp
override_dh_auto_install:
dh_auto_install --destdir=debian/tmp
install -d $(CURDIR)/$(DESTDIR)/usr/share/doc/petri-foo/specimen2petri-foo/
install -m 644 $(CURDIR)/debian/specimen2petri-foo/s2p* $(CURDIR)/$(DESTDIR)/usr/share/doc/petri-foo/specimen2petri-foo/
install -m 644 $(CURDIR)/debian/specimen2petri-foo/Readme $(CURDIR)/$(DESTDIR)/usr/share/doc/petri-foo/specimen2petri-foo/
install -d $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/48x48/apps/
install -d $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/256x256/apps/
rm -Rf $(CURDIR)/$(DESTDIR)/usr/share/pixmaps/
cp $(CURDIR)/pixmaps/petri-foo_small.png $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/48x48/apps/petri-foo.png
cp $(CURDIR)/pixmaps/petri-foo.png $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/256x256/apps/petri-foo.png
convert -resize 48x48! $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/48x48/apps/petri-foo.png $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/48x48/apps/petri-foo.png
convert -resize 256x256! $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/256x256/apps/petri-foo.png $(CURDIR)/$(DESTDIR)/usr/share/icons/hicolor/256x256/apps/petri-foo.png
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment