aboutsummaryrefslogtreecommitdiffstats
path: root/community/konsole/APKBUILD
blob: 6f4339bec92e5e0b00582b354289411e2e2e3d40 (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=konsole
pkgver=20.12.2
pkgrel=0
# armhf blocked by qt5-qtdeclarative
# mips64 blocked by various KDE frameworks
arch="all !armhf !mips64 !s390x"
url="https://kde.org/applications/system/konsole"
pkgdesc="KDE's terminal emulator"
license="GPL-2.0-only AND LGPL-2.1-or-later AND Unicode-DFS-2016"
depends="ncurses-terminfo-base"
makedepends="extra-cmake-modules qt5-qtbase-dev kbookmarks-dev kcompletion-dev
	kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kguiaddons-dev
	kdbusaddons-dev ki18n-dev kiconthemes-dev kinit-dev kio-dev knewstuff-dev
	knotifications-dev knotifyconfig-dev kparts-dev kpty-dev kservice-dev
	ktextwidgets-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev
	kglobalaccel-dev kdoctools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/release-service/$pkgver/src/konsole-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"

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

check() {
	cd build
	# DBusTest requires running DBus
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "DBusTest"
}

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

sha512sums="022cbe43ae69480c17e7698e60b3f5a30256268aa650a476f2c69f5e8446b9d4ec9d60f1d57cef69f641c6026b7ef641d5bf4c88cc8642a8231cf46561a03700  konsole-20.12.2.tar.xz"