0ccb5c05fd
Seems we missed these when forking Plasma and now the armv7 builders are failing on it [ci:skip-build] Won't succeed anyway as the packages haven't been uploaded to the repos yet, so pmbootstrap will try to build the entirety of Plasma and fail because it takes too long [ci:skip-vercheck] No need to bump pkgrel
68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=sddm-kcm
|
|
pkgver=5.20.90
|
|
pkgrel=0
|
|
pkgdesc="Config module for SDDM"
|
|
# armhf blocked by qt5-qtdeclarative
|
|
# s390x blocked by plasma-workspace
|
|
arch="all !armhf !s390x !mips64"
|
|
url="https://www.kde.org"
|
|
license="GPL-2.0-or-later AND (GPL-2.0-only OR GPL-3.0-only) AND LGPL-2.1-or-later AND GPL-2.0-only"
|
|
depends="
|
|
sddm
|
|
systemsettings
|
|
"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
karchive-dev
|
|
kauth-dev
|
|
kcmutils-dev
|
|
kconfigwidgets-dev
|
|
kcoreaddons-dev
|
|
kdeclarative-dev
|
|
ki18n-dev
|
|
kio-dev
|
|
knewstuff-dev
|
|
kxmlgui-dev
|
|
libxcursor-dev
|
|
qt5-qtbase-dev
|
|
qt5-qtdeclarative-dev
|
|
qt5-qtx11extras-dev
|
|
xcb-util-image-dev
|
|
"
|
|
|
|
case "$pkgver" in
|
|
*.90*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/sddm-kcm-$pkgver.tar.xz"
|
|
subpackages="$pkgname-lang"
|
|
|
|
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 \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
sha512sums="4ccd42fbad7a9718698746d1152d8a1faa3b0daf1c11a8053c9850990fa04f7d41b93c3f5d8dae011c50e3d25c5bcf898395f3f0ae95a59448fe99d930477157 sddm-kcm-5.20.90.tar.xz"
|