From dc7d56532ce79d75e571425b92c0c06d16bc85f0 Mon Sep 17 00:00:00 2001 From: Tormod Volden Date: Mon, 8 Jun 2020 17:41:30 +0200 Subject: [PATCH] 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 --- distributions/debian/control | 7 +------ distributions/debian/rules | 3 +++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/distributions/debian/control b/distributions/debian/control index 9f198a9c..78a4d291 100644 --- a/distributions/debian/control +++ b/distributions/debian/control @@ -4,13 +4,8 @@ Priority: optional Maintainer: "Marc Landolt jr" Build-Depends: debhelper (>= 9), - dpkg-dev, - g++, - libc6-dev | libc-dev, libjack-jackd2-dev, - make, - qt5-default, - qtdeclarative5-dev, + qtbase5-dev, qttools5-dev-tools, Standards-Version: 3.9.5 Homepage: http://llcon.sourceforge.net/ diff --git a/distributions/debian/rules b/distributions/debian/rules index 2cf5eb13..03a8bdb8 100755 --- a/distributions/debian/rules +++ b/distributions/debian/rules @@ -1,4 +1,7 @@ #!/usr/bin/make -f + +export QT_SELECT=qt5 + %: dh $@