Source: qosmic
Version: 1.6.0-3
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs
qosmic fails to cross build from source, because the upstream qosmic.pro
file hard codes the build architecture pkg-config. qmake actually
detects the correct pkg-config, but the .pro file fails to use it.
Please consider applying the attached patch to make qosmic cross
buildable.
Helmut
--- qosmic-1.6.0.orig/qosmic.pro
+++ qosmic-1.6.0/qosmic.pro
@@ -37,7 +37,7 @@
CONFIG += link_pkgconfig
link_pkgconfig {
- message("Config using pkg-config version "$$system(pkg-config --version))
+ message("Config using pkg-config version "$$system($$PKG_CONFIG --version))
PKGCONFIG = flam3 lua5.2
}
else {
@@ -77,7 +77,7 @@
}
link_pkgconfig {
- ! system(pkg-config --atleast-version 3.1.1 flam3) {
+ ! system($$PKG_CONFIG --atleast-version 3.1.1 flam3) {
error("Qosmic $$VERSION requires at least version 3.1.1 of flam3 to build.")
}
}