aboutsummaryrefslogblamecommitdiffstats
path: root/community/kde-gtk-config/APKBUILD
blob: b472c84bcacfd1099c67277ba3a9d599a14a3b20 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                  
             
        
                                            


                                    


                                                    
















                                     
                                                                                     
 
         
                        
                                         

                                             
                           


         
                



                                          
                                                              
 
                                                                                                                                                                           
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kde-gtk-config
pkgver=5.20.4
pkgrel=0
pkgdesc="GTK2 and GTK3 Configurator for KDE"
# armhf blocked by qt5-qtdeclarative
# s390x blocked by kcmutils
arch="all !armhf !s390x"
url="https://cgit.kde.org/kde-gtk-config"
license="GPL-2.0 AND LGPL-2.1-only OR LGPL-3.0-only"
depends="gsettings-desktop-schemas"
makedepends="
	extra-cmake-modules
	gsettings-desktop-schemas-dev
	gtk+2.0-dev
	gtk+3.0-dev
	karchive-dev
	kcmutils-dev
	kconfigwidgets-dev
	kdecoration-dev
	ki18n-dev
	kiconthemes-dev
	kio-dev
	knewstuff-dev
	qt5-qtbase-dev
	qt5-qtsvg-dev
	sassc
	"
source="https://download.kde.org/stable/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz"

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="753a0151cf0b010852e1ce013f74e264d2513f8fe47d3d4f139e3eaf54f4dee99ab73d46fc6b1fada8dab37baa15be9a11093706b4e0c5ae7a17eaac5541ed5d  kde-gtk-config-5.20.4.tar.xz"