aboutsummaryrefslogtreecommitdiffstats
path: root/community/konqueror/APKBUILD
blob: 21433fdbdd65dd4349021ff7f9ca80b1efe3deac (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.1
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="54b024705857c1afe926cdae0ada5201a5838496bd82be28884ef97a150647049c43cf026b60857881ee7f24f4202fdd308bd8fa71127288e80dae66e9487485  konqueror-20.12.1.tar.xz"