# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-plasma pkgname=kde-gtk-config pkgver=5.27.8 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 _repo_url="https://invent.kde.org/plasma/kde-gtk-config.git" 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() { ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" c5ffbdb36a028584bf731c55a617ad620736eaa411df89c4f24b2ac5f602cf91c43daaf8ad7959c8cb5decba8244c64522902910134576b32de891bfbd2f5aa8 kde-gtk-config-5.27.8.tar.xz "