kde/*: add qmlplugindump workaround (MR 1570)

[ci:skip-vercheck]: should not affect the resulting binary package
[ci:ignore-count]
This commit is contained in:
Oliver Smith 2020-09-11 15:40:04 +02:00
parent 29c0a58858
commit 28c64079db
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
18 changed files with 167 additions and 1 deletions

View file

@ -13,6 +13,16 @@ source="https://invent.kde.org/plasma-mobile/alligator/-/archive/$_commit/alliga
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -17,6 +17,16 @@ source="$pkgname-$_commit.tar.gz::https://github.com/KDE/itinerary/archive/$_com
builddir="$srcdir/$pkgname-$_commit"
options="!check" # Tests require newest version of kitinerary
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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -33,7 +33,7 @@ builddir="$srcdir/$pkgname-$_commit"
prepare() {
default_prepare
# qmlplugindump fails for armv7+qemu (bpo#74). 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.
if [ "$CARCH" = "armv7" ]; then
sed -i "s/ecm_find_qmlmodule/# ecm_find_qmlmodule/g" CMakeLists.txt

View file

@ -12,6 +12,16 @@ makedepends="extra-cmake-modules qt5-qtquickcontrols2-dev ki18n-dev"
source="https://invent.kde.org/libraries/kirigami-addons/-/archive/$_commit/kirigami-addons-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -22,6 +22,12 @@ prepare() {
mv "$srcdir"/geonames-$_geonames_pkgver/cities1000.zip src/
mv "$srcdir"/geonames-$_geonames_pkgver/admin1CodesASCII.txt src/
mv "$srcdir"/geonames-$_geonames_pkgver/admin2Codes.txt src/
# 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
fi
}
build() {

View file

@ -12,6 +12,16 @@ source="https://invent.kde.org/pim/kpeoplesink/-/archive/$_commit/kpeoplesink-$_
options="!check" # Broken tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="$pkgname-$_commit.tar.gz::https://github.com/kde/kpublictransport/archiv
subpackages="$pkgname-dev"
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="https://invent.kde.org/utilities/ktrip/-/archive/$_commit/ktrip-$_commit
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -26,6 +26,16 @@ makedepends="
source="https://invent.kde.org/plasma-mobile/plasma-camera/-/archive/$_commit/plasma-camera-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -25,6 +25,16 @@ source="https://invent.kde.org/plasma-mobile/plasma-dialer/-/archive/$_commit/pl
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="https://invent.kde.org/kde/plasma-phonebook/-/archive/$_commit/plasma-ph
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -32,6 +32,16 @@ source="https://invent.kde.org/plasma-mobile/plasma-settings/-/archive/$_commit/
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="https://invent.kde.org/jbbgameich/videoplayer/-/archive/$_commit/videopl
options="!check" # No tests
builddir="$srcdir/$_pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -14,6 +14,16 @@ source="https://invent.kde.org/lnj/plasmatube/-/archive/$_commit/plasmatube-$_co
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="https://invent.kde.org/plasma-mobile/qmlkonsole/-/archive/$_commit/qmlko
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -12,6 +12,16 @@ makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-
source="https://invent.kde.org/kde/qrca/-/archive/$_commit/qrca-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -13,6 +13,16 @@ source="https://github.com/kde/spacebar/archive/$_commit/spacebar-$_commit.tar.g
options="!check" # No tests
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \

View file

@ -14,6 +14,16 @@ source="https://invent.kde.org/plasma-mobile/trainer/-/archive/$_commit/trainer-
options="!check" # Broken tests https://invent.kde.org/plasma-mobile/trainer/-/issues/1
builddir="$srcdir/$pkgname-$_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
fi
}
build() {
cmake -B build \
-DCMAKE_BUILD_TYPE=None \