aboutsummaryrefslogblamecommitdiffstats
path: root/community/qqc2-desktop-style/APKBUILD
blob: 2f3f720d403931b11ee4fd4f22ad000438b71dc7 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                                                              
                                                                                                         
                                          
                                                          














                              
                                                                                                  

                          
         
                        
                                         

                                             
                           


         
                



                                          
                                                              
 
                                                                                                                                                                               
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qqc2-desktop-style
pkgver=5.78.0
pkgrel=0
pkgdesc="A style for Qt Quick Controls 2 to make it follow your desktop theme"
arch="all !armhf !mips64 !s390x" # armhf blocked by qt5-qtdeclarative and mips64, s390x blocked by polkit
url="https://community.kde.org/Frameworks"
license="LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only)"
depends="
	qt5-qtgraphicaleffects
	qt5-qtquickcontrols2
	"
depends_dev="
	kconfigwidgets-dev
	kiconthemes-dev
	kirigami2-dev
	qt5-qtbase-dev
	qt5-qtdeclarative-dev
	qt5-qtx11extras-dev
	"
makedepends="$depends_dev
	extra-cmake-modules
	"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/qqc2-desktop-style-$pkgver.tar.xz"
subpackages="$pkgname-dev"

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 --build build --target install
}
sha512sums="cde01e39512a5315f31a1df47788564c8b0698391e7b5260be4f370f559fd15fd56f8f9c4be0cbe17db62ec3c5d7cd6519bf37f61f0e49419025db6cee84293f  qqc2-desktop-style-5.78.0.tar.xz"