1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Index: python-whiteboard-1.0+git20170915/makefile
===================================================================
--- python-whiteboard-1.0+git20170915.orig/makefile
+++ python-whiteboard-1.0+git20170915/makefile
@@ -1,7 +1,7 @@
all: languages
languages:
- lrelease trans/*.ts
+ lrelease -qt5 trans/*.ts
clean:
rm -f trans/*.qm
@@ -18,6 +18,9 @@ install:
cp dist/pywb_pixmap.xpm $(DESTDIR)/usr/share/pixmaps
cp dist/python-whiteboard.desktop $(DESTDIR)/usr/share/applications
cp trans/*.qm $(DESTDIR)/usr/share/qt4/translations/
+ # resize the icon
+ f=$(DESTDIR)/usr/share/pixmaps/pywb_pixmap.xpm; \
+ convert -resize 31x32 $$f $$f.tmp && mv $$f.tmp $$f
deb:
fakeroot dpkg-buildpackage -us -uc
|