summaryrefslogblamecommitdiff
path: root/user/pantheon-camera/APKBUILD
blob: e94155a960a4e211492f9ac50d51daeda34ba830 (plain) (tree)





































                                                                                                                                                                           
# 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"