# Contributor: Bart Ribbers # Maintainer: team/kde # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-applications pkgname=kmag pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/utilities/org.kde.kmag" pkgdesc="A screen magnifier" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kdoctools-dev ki18n-dev kio-dev kxmlgui-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/accessibility/kmag.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kmag-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" 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=" 3d922f1e19e9757c99b087550ec42b6fda7cfd9651be966f5e8a442865a8170dbbb2781863d614c469b97d19f5bd208a85066fae8890e313ca522f49fd40adf9 kmag-23.04.3.tar.xz "