aboutsummaryrefslogtreecommitdiffstats
path: root/community/mauikit/APKBUILD
blob: 1c991e6f1f882f1a92fbc994e1fb58e9bef56300 (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mauikit
pkgver=2.2.0
pkgrel=0
pkgdesc="Kit for developing MAUI Apps"
# armhf blocked by qt5-qtdeclarative
arch="all !armhf"
url="https://mauikit.org/"
license="GPL-2.0-or-later"
depends="kirigami2"
depends_dev="
	$pkgname=$pkgver-r$pkgrel
	kconfig-dev
	kconfigwidgets-dev
	kdeclarative-dev
	kdecoration-dev
	ki18n-dev
	kio-dev
	knotifications-dev
	kservice-dev
	mauiman-dev
	plasma-framework-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtquickcontrols2-dev
	qt5-qtsvg-dev
	samurai
	syntax-highlighting-dev
	xcb-util-wm-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/maui/mauikit/$pkgver/mauikit-$pkgver.tar.xz"
subpackages="$pkgname-dev"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-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="
b2e387ca9c031c3c23e0450ac1f0ed18d395950e57c00905f28735db84164462e2aa3ddc553529818765b90a1856f7d672c07eb69b8693b1741c3bfff330aae9  mauikit-2.2.0.tar.xz
"