kde/plasma-settings: drop, upstreamed to Alpine

This commit is contained in:
Bart Ribbers 2021-02-23 15:37:03 +01:00
parent b6d5d76498
commit caa3b3197b
No known key found for this signature in database
GPG key ID: 699D16185DAFAE61

View file

@ -1,60 +0,0 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
pkgver=0_git20210107
pkgrel=0
_commit="c2fbf87918b42275ce6a3c9fbab54b38967e1612"
pkgdesc="Settings application for Plasma Mobile"
arch="all !armhf"
url="https://community.kde.org/Plasma/Mobile"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="
kded
kirigami2
qt5-qtquickcontrols2
"
makedepends="
extra-cmake-modules
kauth-dev
kconfig-dev
kcoreaddons-dev
kdbusaddons-dev
kdeclarative-dev
ki18n-dev
kio-dev
kwindowsystem-dev
plasma-framework-dev
qt5-qtbase-dev
qt5-qtdeclarative-dev
solid-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"
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 --build build --target install
}
sha512sums="a2b28254f7fd58d0be078912325a1fe37cb3acb9717db2392127584a14a2539f507316a2c516490d718616ea5d09ac534e73b56807dc9aeca5214140cc8d4277 plasma-settings-c2fbf87918b42275ce6a3c9fbab54b38967e1612.tar.gz"