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


                                                  
             
        
                                                  


                                             

                                             














                           
                       
                                                                                        


                                                     
                        
                                         


                                             
                           


         
                
                                                   


           
                                               
 
            
                                                                                                                                                        
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kcmutils
pkgver=5.83.0
pkgrel=0
pkgdesc="Utilities for interacting with KCModules"
# armhf blocked by extra-cmake-modules
# mips64, s390x and riscv64 blocked by polkit
arch="all !armhf !mips64 !s390x !riscv64"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only AND LGPL-2.1-or-later"
depends_dev="
	kconfigwidgets-dev
	kcoreaddons-dev
	kdeclarative-dev
	ki18n-dev
	kiconthemes-dev
	kitemviews-dev
	kservice-dev
	kxmlgui-dev
	"
makedepends="$depends_dev
	doxygen
	extra-cmake-modules
	qt5-qttools-dev
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kcmutils-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
fe06fc60adf2df8a39fd69409abe9db6db62dab3ef09c81259285222d79710ad393c1bacf40cb303a37bbb7d80025f16f630e23897f32d3322d4d6e80342bf65  kcmutils-5.83.0.tar.xz
"