aboutsummaryrefslogblamecommitdiffstats
path: root/community/konsole/APKBUILD
blob: e2aa7f8b3a22b790324ed02f5a4d2eb237d690ca (plain) (tree)
1
2
3
4
5
6
7
8


                                                  
              
        


                                          


                                                                 
                               




                                                                                 
                                       
                       
                                                                                           


                                        
                        
                                         

                                             
                           


         
                

                                                                 


           
                                                              

 
                                                                                                                                                                     
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=konsole
pkgver=20.12.1
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="c2791739afa2655eea9ee87d7513f5666540a1d3e488426af32a9033925732e04b2ccfd2036102f224220f3dbf3505af196857c5f9aa7340f11456fcee509f61  konsole-20.12.1.tar.xz"