jamulus/distributions/debian/rules
mirabilos e201495635
make the desktop icon square and of a standard size
generated from src/res/icon.xcf by resizing to 512 pixels in the
larger direction, expanding the canvas (with transparency) to make
it square, and optimised PNG export

also, install the icon to the correct directory in the Debian package
2020-04-19 22:10:17 +02:00

17 lines
711 B
Makefile
Executable file

#!/usr/bin/make -f
%:
dh $@
override_dh_auto_configure:
qmake CONFIG+=noupcasename Jamulus.pro
override_dh_usrlocal:
echo $$(pwd)
mkdir -p $$(pwd)/debian/jamulus/usr/bin/
install -D -m 0755 jamulus $$(pwd)/debian/jamulus/usr/bin/
mkdir -p $$(pwd)/debian/jamulus/usr/share/applications/
install -D -m 0755 $$(pwd)/distributions/jamulus.desktop $$(pwd)/debian/jamulus/usr/share/applications/
mkdir -p $$(pwd)/debian/jamulus/usr/share/icons/hicolor/48x48/apps/
cp $$(pwd)/distributions/jamulus.png $$(pwd)/debian/jamulus/usr/share/icons/hicolor/512x512/apps/
mkdir -p $$(pwd)/debian/jamulus/lib/systemd/system
cp $$(pwd)/distributions/jamulus-server.service $$(pwd)/debian/jamulus/lib/systemd/system/