# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=cheese pkgver=3.34.0 pkgrel=2 pkgdesc="Take photos and videos with your webcam" url="https://wiki.gnome.org/Apps/Cheese" arch="all" license="GPL-2.0-or-later" makedepends="glib-dev gtk+3.0-dev gdk-pixbuf-dev gstreamer-dev gst-plugins-bad-dev gnome-desktop-dev clutter-dev clutter-gtk-dev clutter-gst-dev libcanberra-dev libx11-dev gobject-introspection-dev libxslt docbook-xml docbook-xsl itstool meson vala gtk-doc" checkdepends="xvfb-run" options="!check" # wonky tests subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.gnome.org/sources/cheese/${pkgver%.*}/cheese-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=plain \ . output ninja -C output } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="093b4e5f7f15fd0c445fffd254d4a5035a4e3e91bacccdeeda64a4a7182901646daea5c8596c954a67896f9aaf37dab2309c21e8f026583f59d787a2c1e4c200 cheese-3.34.0.tar.xz"