# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kde-gtk-config pkgver=5.27.6 pkgrel=0 pkgdesc="GTK2 and GTK3 Configurator for KDE" # armhf blocked by qt5-qtdeclarative arch="all !armhf" url="https://invent.kde.org/plasma/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 samurai sassc " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kde-gtk-config-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -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=" f15ab208b977093ee3f76ebfccd1b0d578294924a0d858503402f578428fcf5085712930b712794d6c4d333184196f505c7ec9dc24cda352fa7a7e8c254bd888 kde-gtk-config-5.27.6.tar.xz "