summaryrefslogtreecommitdiff
path: root/community/cheese/APKBUILD
blob: 8f9dfd76f162ea24820f301b0909aca6930ef9e2 (plain)
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
47
48
49
50
51
52
53
54
55
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: team/gnome <ablocorrea@hotmail.com>
pkgname=cheese
pkgver=43.0
pkgrel=3
pkgdesc="Take photos and videos with your webcam"
url="https://wiki.gnome.org/Apps/Cheese"
# s390x blocked by gnome-desktop
arch="all !s390x"
license="GPL-2.0-or-later"
options="!check" # no testsuite
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"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://download.gnome.org/sources/cheese/${pkgver%.*}/cheese-$pkgver.tar.xz"

build() {
	abuild-meson \
		-Db_lto=true \
		. output
	meson compile -C output
}

check() {
	meson test --no-rebuild --print-errorlogs -C output
}

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

sha512sums="
07ed087490b4024ecbc097c1a62e24fdc0c5c8acac23ba3ed246104655a8b1786faee5caa5e59cfa7b725527b5aedc587b0f99a2b43100497f866966818e345e  cheese-43.0.tar.xz
"