# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kamoso pkgver=20.12.1 pkgrel=0 # armhf blocked by kirigami2 # mips64 and s390x blocked by kio arch="all !armhf !mips64 !s390x" 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=" gst-plugins-bad gst-plugins-good kirigami2 qt5-qtquickcontrols2 " makedepends=" extra-cmake-modules glib-dev gobject-introspection-dev gst-plugins-base-dev gstreamer-dev kconfig-dev kdoctools-dev ki18n-dev kio-dev knotifications-dev purpose-dev qt5-qtbase-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 cmake --build build } check() { cd build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { DESTDIR="$pkgdir" cmake --build build --target install } sha512sums="c25edb9b4e82b9167e1066afe0f195c49d859def859eff61ddccf279239ef2171e804cd979dcc8c6fc4d88f464fa65db74df7c9f89bbba68574d2e525d810940 kamoso-20.12.1.tar.xz"