aboutsummaryrefslogtreecommitdiffstats
path: root/community/kdewebkit/APKBUILD
blob: 8252b0014f5763cef3435a43eb1364deb4ab39ac (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdewebkit
pkgver=5.79.0
pkgrel=0
pkgdesc="Integration of the HTML rendering engine WebKit"
arch="all !armhf !s390x" # armhf blocked by extra-cmake-modules and s390x blocked by polkit
arch="$arch !mips !mips64" # mips blocked by qt5-qtwebkit
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtbase-dev qt5-qtwebkit-dev kconfig-dev kcoreaddons-dev kio-dev kjobwidgets-dev kparts-dev kservice-dev kwallet-dev qt5-qttools-dev"
makedepends="$depends_dev extra-cmake-modules"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kdewebkit-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}


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

sha512sums="3ed14a7bbd9f22e0fca1f2fc79bb92bdfc58c0ee6bb9c09d6920fd2e0d69294fb11781942d56eb271f15f4058d6ed956af35b6c669b782caf49477226a577dfa  kdewebkit-5.79.0.tar.xz"