kde/plasma-bigscreen: add qmlplugindump workaround
Should unlock BPO for armv7 See also: pmbootstrap#1970 [ci:skip-vercheck]: should not affect the resulting binary package
This commit is contained in:
parent
01019884fb
commit
dde1d81a85
1 changed files with 15 additions and 2 deletions
|
@ -5,7 +5,7 @@ pkgver=0_git20200731
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
_commit="c0497ce2a98db02a62f5e1eb15dcb4761cef2f96"
|
_commit="c0497ce2a98db02a62f5e1eb15dcb4761cef2f96"
|
||||||
pkgdesc="A 10-feet interface made for TVs"
|
pkgdesc="A 10-feet interface made for TVs"
|
||||||
url="https://invent.kde.org/kde/plasma-bigscreen/"
|
url="https://invent.kde.org/plasma/plasma-bigscreen/"
|
||||||
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
|
||||||
license="Apache-2.0 AND LGPL-2.0-only AND LGPL-2.1-only AND GPL-2.0-only"
|
license="Apache-2.0 AND LGPL-2.0-only AND LGPL-2.1-only AND GPL-2.0-only"
|
||||||
depends="
|
depends="
|
||||||
|
@ -35,12 +35,25 @@ makedepends="
|
||||||
qt5-qtdeclarative-dev
|
qt5-qtdeclarative-dev
|
||||||
qt5-qtmultimedia-dev
|
qt5-qtmultimedia-dev
|
||||||
"
|
"
|
||||||
source="https://invent.kde.org/kde/plasma-bigscreen/-/archive/$_commit/plasma-bigscreen-$_commit.tar.gz
|
source="https://invent.kde.org/plasma/plasma-bigscreen/-/archive/$_commit/plasma-bigscreen-$_commit.tar.gz
|
||||||
plasma-bigscreen.sh
|
plasma-bigscreen.sh
|
||||||
plasma-bigscreen.desktop
|
plasma-bigscreen.desktop
|
||||||
"
|
"
|
||||||
builddir="$srcdir/plasma-bigscreen-$_commit"
|
builddir="$srcdir/plasma-bigscreen-$_commit"
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
default_prepare
|
||||||
|
|
||||||
|
# qmlplugindump fails for armv7+qemu (pmb#1970). This is purely for
|
||||||
|
# packager knowledge and doesn't affect runtime, so we can disable it.
|
||||||
|
if [ "$CARCH" = "armv7" ]; then
|
||||||
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt
|
||||||
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" kcms/audio-device-chooser/CMakeLists.txt
|
||||||
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" kcms/kdeconnect/CMakeLists.txt
|
||||||
|
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" kcms/wifi/CMakeLists.txt
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_BUILD_TYPE=None \
|
-DCMAKE_BUILD_TYPE=None \
|
||||||
|
|
Loading…
Reference in a new issue