aboutsummaryrefslogblamecommitdiffstats
path: root/community/kguiaddons/APKBUILD
blob: 601494cdd03fa2623d60195a28d8bb5aaab82bc0 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
             
        
                         

                                      

                                          









                           
                       
                                                                                          
                                       

         
                        
                                         


                                             
                           


         
                
                                                   



           
                                               

 
                                                                                                                                                                       
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kguiaddons
pkgver=5.78.0
pkgrel=0
pkgdesc="Addons to QtGui"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-only OR LGPL-3.0-only"
depends_dev="
	qt5-qttools-dev
	qt5-qtwayland-dev
	qt5-qtx11extras-dev
	wayland-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	doxygen
	"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kguiaddons-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-doc"

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="79f59af4af45059f9b48c677df2ecf3b79a5ff9efbe3d37e46cf11194376e535e8767e5e568a7524f00998f6e83ccea00d2ccfe63140091d2d689a0a20d703aa  kguiaddons-5.78.0.tar.xz"