aboutsummaryrefslogblamecommitdiffstats
path: root/community/plasma-nano/APKBUILD
blob: e3bff29790a7819336c8dc9c5b8c2c67a0a2cd23 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                                      
                                      

                                                                 

                                                
                               













                                                                                 


                           
                        
                                         

                                             
                           


         
                



                                          
                                               
 
            
                                                                                                                                                           
 
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-nano
pkgver=5.23.5
pkgrel=0
pkgdesc="A minimal Plasma shell package intended for embedded devices"
# armhf blocked by extra-cmake-modules
# s390x, mips64 and riscv64 blocked by polkit -> plasma-framework
arch="all !armhf !s390x !mips64 !riscv64"
url="https://invent.kde.org/kde/plasma-nano"
license="GPL-2.0-or-later AND LGPL-2.1-or-later"
depends="qt5-qtvirtualkeyboard"
makedepends="
	extra-cmake-modules
	kwayland-dev
	kwindowsystem-dev
	plasma-framework-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	"

case "$pkgver" in
	*.90*) _rel=unstable;;
	*) _rel=stable;;
esac
source="https://download.kde.org/$_rel/plasma/$pkgver/plasma-nano-$pkgver.tar.xz"
options="!check" # No tests

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

check() {
	cd build
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
5826562ba9a91b527804e867ff92bfe6fdc6eb9aa05a714631aebf8c13768bdb7c5737900163a6485780ae18ebe7322d2cea52440dc6719b84cc76791402d91a  plasma-nano-5.23.5.tar.xz
"