# 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.7 pkgrel=1 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" _commit="" snapshot() { clean makedepends="git xz rsync tar" deps mkdir -p "$srcdir" && cd "$srcdir" git clone --filter=tree:0 https://invent.kde.org/plasma/kde-gtk-config.git . git archive --format tar --prefix=$pkgname/ $_commit > ../$pkgname-$_commit.tar xz -vv -T0 -9 -e ../$pkgname-$_commit.tar } 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=" 8dfc14f15b560e6c72668bd48d04bcf7dd24bf5c1fbeb9a8021e9d0262fa691e6533dfb4608c0424be95a46a9133ebb2bb223a965356a5cd725a0e619d4ba573 kde-gtk-config-5.27.7.tar.xz "