# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-frameworks pkgname=attica pkgver=6.1.0 pkgrel=0 pkgdesc="Freedesktop OCS binding for Qt" url="https://www.kde.org/" arch="all !armhf" # Blocked by extra-cmake-modules license="LGPL-2.0-or-later" makedepends=" doxygen extra-cmake-modules qt6-qtbase-dev qt6-qttools-dev samurai " subpackages="$pkgname-dev $pkgname-doc" _repo_url="https://invent.kde.org/frameworks/attica.git" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/attica-$pkgver.tar.xz" build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=MinSizeRel \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_QCH=ON cmake --build build } check() { # providertest requires network access ctest --test-dir build --output-on-failure -E "providertest" } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" 25cf795e81e96065c6f25b5dbb77fea93eeb14a3475bc5b61472618d0d8703c5d913742bf7f7058dfb9ade2af414437d7ac18bd90b96c55458c727a0c4087e13 attica-6.1.0.tar.xz "