aboutsummaryrefslogtreecommitdiffstats
path: root/community/cheese/APKBUILD
blob: 1a4a21a70a93095190c3b28e39a356d907142a64 (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
35
36
37
38
39
40
41
42
43
44
45
46
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=cheese
pkgver=3.38.0
pkgrel=0
pkgdesc="Take photos and videos with your webcam"
url="https://wiki.gnome.org/Apps/Cheese"
arch="all !mips64" # blocked by gst-plugins-bad
license="GPL-2.0-or-later"
depends="gsettings-desktop-schemas"
makedepends="
	clutter-dev
	clutter-gst-dev
	clutter-gtk-dev
	docbook-xml
	docbook-xsl
	gdk-pixbuf-dev
	glib-dev
	gnome-desktop-dev
	gobject-introspection-dev
	gst-plugins-bad-dev
	gstreamer-dev
	gtk+3.0-dev
	gtk-doc
	itstool
	libcanberra-dev
	libx11-dev
	libxslt
	meson
	vala
	"
checkdepends="xvfb-run"
options="!check" # wonky tests
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://download.gnome.org/sources/cheese/${pkgver%.*}/cheese-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="210b50fc79a7b3a72c94163fe0dd76f7f29f576c1085c671c2c6c3b7f59ee362aec288f885a590ebfd9530534b6a6bad569c6df57874b9fcecf7e9f1ba9531ae  cheese-3.38.0.tar.xz"