# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kamoso pkgver=19.12.3 pkgrel=0 arch="all !armhf" # armhf blocked by kirigami2 -> qt5-qtdeclarative url="https://kde.org/applications/multimedia/org.kde.kamoso" pkgdesc="An application to take pictures and videos out of your webcam" license="GPL-2.0-or-later AND LGPL-2.1-only" depends="kirigami2 qt5-qtquickcontrols2 gst-plugins-good gst-plugins-bad" makedepends="extra-cmake-modules qt5-qtbase-dev kconfig-dev kdoctools-dev kio-dev ki18n-dev purpose-dev knotifications-dev gstreamer-dev glib-dev gobject-introspection-dev gst-plugins-base-dev" source="https://download.kde.org/stable/release-service/$pkgver/src/kamoso-$pkgver.tar.xz" subpackages="$pkgname-doc $pkgname-lang" options="!check" # Broken build() { cmake -B build \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib make -C build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" make -C build install } sha512sums="6960c109bd7840a2dbfe901f857b560c67d422accf5d0649e81a31e45b0126133886e71ac558b4718dec639e49050d1f28572c57dfafbd8b2ca4cce6d2c8bd66 kamoso-19.12.3.tar.xz"