# Contributor: Bart Ribbers # Maintainer: Bart Ribbers # The group tag is just to easily find this APKBUILD by some scripts for automation # group=kde-other pkgname=kphotoalbum pkgver=5.11.0 pkgrel=0 pkgdesc="KDE Photo Album, picture collection manager" url="https://kphotoalbum.org" # armhf blocked my extra-cmake-modules # ppc64le, s390x and riscv64 blocked by qt5-qtwebengine -> purpose arch="all !armhf !ppc64le !s390x !riscv64" license="GPL-2.0-or-later" makedepends=" exiv2-dev extra-cmake-modules jpeg-dev karchive-dev kcompletion-dev kconfig-dev kcoreaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kio-dev kjobwidgets-dev ktextwidgets-dev kwidgetsaddons-dev kxmlgui-dev libkdcraw-dev libkipi-dev marble-dev phonon-dev purpose-dev qt5-qtbase-dev samurai " checkdepends="xvfb-run" subpackages="$pkgname-doc $pkgname-lang" source="https://download.kde.org/stable/kphotoalbum/$pkgver/kphotoalbum-$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() { xvfb-run ctest --test-dir build --output-on-failure } package() { DESTDIR="$pkgdir" cmake --install build } sha512sums=" dd521b5e158a691da69e333fcefd3cf48135053c7510dbd7f22d94299059fe58037c56e70b92edfcd1d8d7a55b04f80278ff3bdde08dba16507dc43ca77af96e kphotoalbum-5.11.0.tar.xz "