pmaports/kde/plasma-settings/APKBUILD
Oliver Smith 35015139f3
*/*: disable armv7 for plasma programs
"plasma" and some related packages are currently missing in Alpine edge
armv7 due to a cyclic dependency. Let's disable all packages depending
on plasma for armv7 temporarily, to get the pmOS edge armv7 repo up
again.
[ci:skip-build], [ci:skip-vercheck]: only arch line changed

Related: build.postmarketos.org#72
2020-07-29 12:19:04 +02:00

32 lines
1.3 KiB
Text

# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
pkgver=0_git20200618
pkgrel=0
_commit="280f43d3ea5b546c616254b97fe0ef20af03365e"
pkgdesc="Settings application for Plasma Mobile"
arch="all !armhf !armv7" # armhf: pmaports#75, armv7: build.postmarketos.org#72
url="https://community.kde.org/Plasma/Mobile"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="kirigami2 qt5-qtquickcontrols2 kded"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kwindowsystem-dev kcoreaddons-dev solid-dev kconfig-dev kauth-dev kdbusaddons-dev ki18n-dev plasma-framework-dev kdeclarative-dev kio-dev kdelibs4support-dev"
source="https://invent.kde.org/plasma-mobile/plasma-settings/-/archive/$_commit/plasma-settings-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/$pkgname-$_commit"
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 --build build --target install
}
sha512sums="99ab8c6b6370b6e6c55aff9d14b47929123b12a36a96f8307ac16d7ab0ca4ee0db3e9b91a201a7493485c5bebb29c34828f7ba9d016b12a6b96e66832d83c49c plasma-settings-280f43d3ea5b546c616254b97fe0ef20af03365e.tar.gz"