temp/plasma-workspace: armv7: remove all ecm_find_qmlmodule

Seems there are more places where ecm_find_qmlmodule is used
To fix the build from failing on armv7 we should disable them all

[ci:skip-build]: don't try to build all depends, takes too long
[ci:skip-vercheck]: unblocking armv7 build, no need to bump pkgrel
This commit is contained in:
Bart Ribbers 2021-02-03 16:34:41 +01:00
parent bb5731fc5a
commit ff000af8a8
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -87,7 +87,10 @@ prepare() {
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for # qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
# packager knowledge and doesn't affect runtime, so we can disable it. # packager knowledge and doesn't affect runtime, so we can disable it.
if [ "$CARCH" = "armv7" ]; then if [ "$CARCH" = "armv7" ]; then
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt for i in $(find -name CMakeLists.txt); do
echo "Disabling ecm_find_qmlmodule in: $i"
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" "$i"
done
fi fi
} }