aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-sdk/APKBUILD
blob: 051c346ab98190969f73542ed5d3ba28c30db7eb (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.3
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="de0efdabe2db6e6cee8fa143657c5f60d8e6c1d621900d2316ee823e29e8ace907ff541309ac7bfa87405369f781338af5462036c47e10ddf8009eef76c22d03  plasma-sdk-5.20.3.tar.xz"