aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-angelfish/APKBUILD
blob: be03cd66ffc5a8b54027bbd8217a8be7b40b0d3b (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: Jonah BrĂ¼chert <jbb@kaidan.im>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-angelfish
pkgver=21.07
pkgrel=0
pkgdesc="Small Webbrowser for Plasma Mobile"
# armhf blocked by extra-cmake-modules
# ppc64le, s390x and mips64 blocked by qt5-qtwebengine
# riscv64 disabled due to missing rust in recursive dependency
arch="all !ppc64le !s390x !armhf !mips64 !riscv64"
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="
afc06810a6c08c9082de55b476e77c3ba811c02a131a6f5b45cb3055bc14680e7ba63cc5bb71b5d895897f4d4f99f80bea4089fd91433eceaa0286400093bf24  angelfish-21.07.tar.xz
"