aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-angelfish/APKBUILD
blob: 6f8a06bba676f9aa775b2cc3fda63ea35bc670bc (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
# Contributor: Jonah BrĂ¼chert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=21.05
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and mips64 blocked by qt5-qtwebengine
arch="all !ppc64le !s390x !armhf !mips64"
url="https://phabricator.kde.org/source/plasma-angelfish/"
license="GPL-3.0-or-later"
depends="
	kirigami2
	plasma-framework
	purpose
	qt5-qtbase-sqlite
	qt5-qtquickcontrols2
	"
makedepends="
	extra-cmake-modules
	corrosion
	kdeclarative-dev
	ki18n-dev
	kio-dev
	kirigami2-dev
	plasma-framework-dev
	purpose-dev
	qt5-qtfeedback-dev
	qt5-qtwebengine-dev
	"
subpackages="$pkgname-lang"
source="https://download.kde.org/stable/plasma-mobile/$pkgver/angelfish-$pkgver.tar.xz"
options="net" # net required to download Rust dependencies
builddir="$srcdir/angelfish-$pkgver"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True
	cmake --build build
}

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}

sha512sums="
73fc0fc79703db63a82ad08b1a1d85e79be169a68e75fd619976e5db3664b5a9f4405ef8ef36d68b2f1125832dddfbc89cd1771f327c5a28f34d623fcbc67baa  angelfish-21.05.tar.xz
"