Source: deepin-qt5dxcb-plugin Version: 5.0.17-1 Tags: patch upstream User: debian-cr...@lists.debian.org Usertags: ftcbfs
deepin-qt5dxcb-plugin fails to cross build from source, because an upstream .pri file hard codes the build architecture pkg-config, which happens to fail to find cairo. Please consider applying the attached patch to fix that. Helmut
--- deepin-qt5dxcb-plugin-5.0.17.orig/xcb/linux.pri +++ deepin-qt5dxcb-plugin-5.0.17/xcb/linux.pri @@ -7,7 +7,8 @@ xcb-damage mtdev egl # Don't link cairo library -QMAKE_CXXFLAGS += $$system(pkg-config --cflags-only-I cairo) +PKG_CONFIG_EXECUTABLE = $$pkgConfigExecutable() +QMAKE_CXXFLAGS += $$system($$PKG_CONFIG_EXECUTABLE --cflags-only-I cairo) greaterThan(QT_MINOR_VERSION, 5): PKGCONFIG += xcb-xinerama