# 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=kamera pkgver=23.04.3 pkgrel=1 # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/applications/graphics" pkgdesc="KDE integration for gphoto2 cameras" license="GPL-2.0-or-later AND GFDL-1.2-only" makedepends=" extra-cmake-modules kcmutils-dev kconfig-dev kconfigwidgets-dev kdoctools-dev ki18n-dev kio-dev kxmlgui-dev libgphoto2-dev qt5-qtbase-dev samurai " _repo_url="https://invent.kde.org/graphics/kamera.git" source="https://download.kde.org/stable/release-service/$pkgver/src/kamera-$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=" c5626a50e0cc7313ab2aaf8d85a7c2f8dc045d4097af0c924de89f2da55ec8a79d1b302eb87328a82dc2a61ed8f4522d43221e813852a155dd3740d93853378e kamera-23.04.3.tar.xz "