Source: ukui-media
Version: 2.0.4-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

ukui-media fails to cross build from source, because debian/rules hard
codes the build architecture qmake. The easiest way of fixing that -
using dh_auto_configure - makes ukui-media cross buildable. Please
consider applying the attached patch.

Helmut
diff --minimal -Nru ukui-media-2.0.4/debian/changelog 
ukui-media-2.0.4/debian/changelog
--- ukui-media-2.0.4/debian/changelog   2020-07-17 09:04:45.000000000 +0200
+++ ukui-media-2.0.4/debian/changelog   2020-07-17 20:53:45.000000000 +0200
@@ -1,3 +1,10 @@
+ukui-media (2.0.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure use a cross qmake. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 17 Jul 2020 20:53:45 +0200
+
 ukui-media (2.0.4-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru ukui-media-2.0.4/debian/rules ukui-media-2.0.4/debian/rules
--- ukui-media-2.0.4/debian/rules       2020-03-21 08:08:50.000000000 +0100
+++ ukui-media-2.0.4/debian/rules       2020-07-17 20:53:45.000000000 +0200
@@ -26,6 +26,5 @@
 
 override_dh_auto_build:
        dh_auto_build
-       mkdir -p ukui-volume-control-applet-qt/build/
-       cd ukui-volume-control-applet-qt/build/ && qmake ../
+       dh_auto_configure --sourcedirectory=ukui-volume-control-applet-qt 
--builddirectory=ukui-volume-control-applet-qt/build -- ..
        make -C ukui-volume-control-applet-qt/build/

Reply via email to