aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-angelfish/APKBUILD
blob: f99e77a0428e992e6204dca3ac39f037852c8fa6 (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.06
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="
dba8a7e57ee948de7a2406f221938b85993b6d28c8fb30c82352aeeef59bf95df16838e8712ce4e83e6fc2812cb7db6e0d433b077eef3cfbed3b3c2b52824630  angelfish-21.06.tar.xz
"