aboutsummaryrefslogtreecommitdiffstats
path: root/testing/sddm-kcm/APKBUILD
blob: b1e65915b2cc70ba8f3255ac651108d51f82544a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=sddm-kcm
pkgver=5.16.3
pkgrel=0
pkgdesc="Config module for SDDM"
arch="all !ppc64le !s390x" # Limited by systemsettings -> plasma-workspace -> libksysguard -> qt5-qtwebengine
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 qt5-qtbase-dev qt5-qtx11extras-dev qt5-qtdeclarative-dev kcoreaddons-dev ki18n-dev kxmlgui-dev kauth-dev kconfigwidgets-dev kio-dev karchive-dev knewstuff-dev xcb-util-image-dev libxcursor-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}
sha512sums="6c16063b112179c7dcdcbcac601c8d16966c45f8ad8e5990e68d2347f4b30763674b602c6092af0b0852bf86dfb0df81ab5a3531574a2a56c45f068506b8bc3c  sddm-kcm-5.16.3.tar.xz"