Update Debian packaging

With qmake now doing a more standard installation, there is less
left to do in our debian/rules.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
This commit is contained in:
Tormod Volden 2020-06-08 17:50:00 +02:00
parent c4866aff2f
commit 8876e2c569
5 changed files with 6 additions and 14 deletions

View file

@ -1,4 +1,4 @@
jamulus (3.5.2) UNRELEASED; urgency=medium
jamulus (3.5.6~git-0) UNRELEASED; urgency=medium
* Initial release.

View file

@ -9,8 +9,9 @@ License: GPL-2
Files: debian/*
Copyright:
2020 Tormod Volden <debian.tormod@gmail.com>
2020 Olivier Humbert <trebmuh@tuxfamily.org>
2019 "Marc Landolt jr" <debian@marclandolt.ch>
2019 Marc Landolt jr <debian@marclandolt.ch>
License: GPL-2
License: GPL-2

View file

@ -0,0 +1 @@
distributions/jamulus-server.service lib/systemd/system

View file

@ -3,19 +3,8 @@
dh $@
override_dh_auto_configure:
qmake CONFIG+=noupcasename Jamulus.pro
qmake CONFIG+=noupcasename PREFIX=/usr Jamulus.pro
override_dh_auto_build:
cd src/res/translation && lrelease *.ts
dh_auto_build
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/512x512/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/

View file

@ -0,0 +1 @@
3.0 (quilt)