aboutsummaryrefslogtreecommitdiffstats
path: root/community/cheese/APKBUILD
blob: b62e4c8a86671efa8b0b36ffff479f95dac40598 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=cheese
pkgver=3.34.0
pkgrel=6
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"