summaryrefslogtreecommitdiff
path: root/user/pantheon-camera/APKBUILD
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-09 08:44:18 -0800
committerSíle Ekaterin Liszka <sheila@vulpine.house>2023-11-09 08:44:18 -0800
commit8286b6617453195e01c7b4cb2cab68b9531acd95 (patch)
tree23f79b8d2fbae82d38d7848d2f86e63d189d2de4 /user/pantheon-camera/APKBUILD
parent7ab9f0ecbdf87213cab1053db13bdddf69ba3325 (diff)
downloadpackages-8286b6617453195e01c7b4cb2cab68b9531acd95.tar.gz
packages-8286b6617453195e01c7b4cb2cab68b9531acd95.tar.bz2
packages-8286b6617453195e01c7b4cb2cab68b9531acd95.tar.xz
packages-8286b6617453195e01c7b4cb2cab68b9531acd95.zip
user/pantheon-camera: new package
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"