jamulus/distributions/debian/rules
Tormod Volden dc7d56532c debian: Trim build dependencies
dpkg-dev is not needed for building binaries.

make, g++ and libc6-dev will be pulled in by e.g. build-essential
which is not necessary to specify (Debian policy).

Packages should not build-depend on qt5-default but rather
on qt5-base-dev and select QT5 in debian/rules
(https://wiki.debian.org/Lintian/Tags/depends-on-metapackage)

qtdeclarative5-dev is simply not needed.

qttools5-dev-tools is needed for translations using lrelease.

Signed-off-by: Tormod Volden <debian.tormod@gmail.com>
2020-06-10 00:07:11 +02:00

14 lines
214 B
Makefile
Executable File

#!/usr/bin/make -f
export QT_SELECT=qt5
%:
dh $@
override_dh_auto_configure:
qmake CONFIG+=noupcasename PREFIX=/usr Jamulus.pro
override_dh_auto_build:
cd src/res/translation && lrelease *.ts
dh_auto_build