aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-sdk/APKBUILD
blob: cf4b51d6bd56cf5485f8e69d41c38d11393cca78 (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=plasma-sdk
pkgver=5.20.4
pkgrel=0
pkgdesc="Applications useful for Plasma Development"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by kconfigwidgets
# mips64 blocked by multiple dependencies
arch="all !armhf !s390x !mips64"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0-or-later"
depends="kirigami2 qt5-qtquickcontrols"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev karchive-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kdeclarative-dev ki18n-dev kiconthemes-dev kio-dev plasma-framework-dev kservice-dev ktexteditor-dev kwidgetsaddons-dev kdoctools-dev kparts-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/plasma/$pkgver/plasma-sdk-$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
	# iconmodeltest is broken
	CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "iconmodeltest"
}

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

sha512sums="34de3ae7561aa0c2840c196e7d19fdfb92140744f75b994d09d84a6fc853ac4b023f6ae45d04e345617e233d653b2aa670c764a6de44c46dc83a0850cea603f2  plasma-sdk-5.20.4.tar.xz"