Source: phototonic Version: 2.1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
phototonic fails to cross build from source, because it does not pass cross flags to qmake or call qmake via the cross wrapper. Letting debhelper do that makes phototonic cross build. Please consider applying the attached patch. Helmut
diff --minimal -Nru phototonic-2.1/debian/changelog phototonic-2.1/debian/changelog --- phototonic-2.1/debian/changelog 2018-04-18 21:06:30.000000000 +0200 +++ phototonic-2.1/debian/changelog 2018-06-04 16:10:58.000000000 +0200 @@ -1,3 +1,10 @@ +phototonic (2.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure call qmake. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 04 Jun 2018 16:10:58 +0200 + phototonic (2.1-1) unstable; urgency=medium * New upstream release. diff --minimal -Nru phototonic-2.1/debian/rules phototonic-2.1/debian/rules --- phototonic-2.1/debian/rules 2018-04-18 21:06:30.000000000 +0200 +++ phototonic-2.1/debian/rules 2018-06-04 16:10:58.000000000 +0200 @@ -4,12 +4,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -DEB_PREF = $(shell gcc -print-multiarch) - -override_dh_auto_configure: - /usr/lib/$(DEB_PREF)/qt5/bin/qmake . +export QT_SELECT=qt5 %: dh $@ - -.PHONY: override_dh_auto_configure