summaryrefslogtreecommitdiff
path: root/user/pantheon-camera/APKBUILD
blob: e94155a960a4e211492f9ac50d51daeda34ba830 (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
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=pantheon-camera
pkgver=6.2.2
pkgrel=0
pkgdesc="Webcam application for the Pantheon desktop environment"
url="https://elementary.io"
arch="all"
license="GPL-2.0+"
depends=""
makedepends="meson ninja clutter-dev glib-dev gobject-introspection-dev
	granite-dev gstreamer-dev gst-plugins-base-dev libcanberra-dev
	libhandy-dev vala-dev"
subpackages="$pkgname-lang"
source="pantheon-camera-$pkgver.tar.gz::https://github.com/elementary/camera/archive/refs/tags/$pkgver.tar.gz"
builddir="$srcdir/camera-$pkgver"

build() {
	meson setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		--wrap-mode=nofallback \
		. output
	meson compile -C output
}

check() {
	meson test -C output
}

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

sha512sums="50f52599ccef8e11ee552a0a1299d42e567a7f8c95faf5036a89965e10d04513bfde03043e2f5fad02add6ac63ca4b115baee8fbc003c56a3e28e737719d0755  pantheon-camera-6.2.2.tar.gz"