summaryrefslogtreecommitdiff
path: root/user/pantheon-camera/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/pantheon-camera/APKBUILD')
-rw-r--r--user/pantheon-camera/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/pantheon-camera/APKBUILD b/user/pantheon-camera/APKBUILD
new file mode 100644
index 000000000..e94155a96
--- /dev/null
+++ b/user/pantheon-camera/APKBUILD
@@ -0,0 +1,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"