# 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=kimagemapeditor pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine arch="all !armhf !ppc64le !s390x !riscv64" url="https://kde.org/applications/development/org.kde.kimagemapeditor" pkgdesc="An editor of image maps embedded inside HTML files, based on the tag" license="GPL-2.0-or-later" makedepends=" extra-cmake-modules kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev kguiaddons-dev khtml-dev ki18n-dev kiconthemes-dev kparts-dev kwidgetsaddons-dev kxmlgui-dev qt5-qtbase-dev qt5-qtwebengine-dev samurai " _repo_url="https://invent.kde.org/graphics/kimagemapeditor.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kimagemapeditor-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # No tests 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=" 49f77993de5a04d3e27a3ae6026f9448812fbf87db761a32e95ad5426332df57db3d90a06a38e417dff21999e7f887f1e5dae2ddca9e406a134fccb31b64b3af kimagemapeditor-23.04.3.tar.xz "