# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kamera pkgver=20.08.2 pkgrel=0 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 qt5-qtbase-dev kconfigwidgets-dev kxmlgui-dev kio-dev ki18n-dev kconfig-dev kdoctools-dev libgphoto2-dev" 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 \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="88eaab54a0d1449b18f1a45004010fd31e769b1dab3aca6c046a8038b0d7600d6ac4cad49f17a4c9c982c55cd1beb1d37c7137abe6d1b64d9b7dc9abb1b3c798 kamera-20.08.2.tar.xz"