aboutsummaryrefslogtreecommitdiffstats
path: root/community/konqueror/APKBUILD
blob: ea28b78e08e7d8c2531ce5e524d5c9994ffe7938 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=konqueror
pkgver=20.12.2
pkgrel=0
pkgdesc="KDE File Manager & Web Browser"
# armhf blocked by extra-cmake-modules
# s390x, ppc64le and mips(64) blocked by qt5-qtwebengine
arch="all !armhf !s390x !ppc64le !mips !mips64"
url="https://konqueror.org/"
license="GPL-2.0-or-later AND GFDL-1.2-only AND LicenseRef-KDE-Accepted-LGPL"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtwebengine-dev kparts-dev kcmutils-dev karchive-dev kcrash-dev kwindowsystem-dev kinit-dev kiconthemes-dev kdbusaddons-dev kdelibs4support-dev kactivities-dev kdoctools-dev kdesu-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/konqueror-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
options="!check" # Requires OpenGL and running D-Bus server

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 xvfb-run ctest
}

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

sha512sums="7fddf2bae4d6fd6a88ab4387b64916aab01b61db9e3423a66ac51181c179511e5ff5ba1e6bf21ff78a44207e8bb4a0e03ed9993fc6a3d61bf0c51140a0f6243e  konqueror-20.12.2.tar.xz"