[arch-commits] Commit in cheese/repos (2 files)
Jan Steffens
heftig at archlinux.org
Sun Mar 8 04:59:52 UTC 2020
Date: Sunday, March 8, 2020 @ 04:59:52
Author: heftig
Revision: 376984
archrelease: copy trunk to gnome-unstable-x86_64
Added:
cheese/repos/gnome-unstable-x86_64/
cheese/repos/gnome-unstable-x86_64/PKGBUILD
(from rev 376983, cheese/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: cheese/repos/gnome-unstable-x86_64/PKGBUILD (from rev 376983, cheese/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD 2020-03-08 04:59:52 UTC (rev 376984)
@@ -0,0 +1,45 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+
+pkgname=cheese
+pkgver=3.34.0+23+gcac6d3a1
+pkgrel=1
+pkgdesc="Take photos and videos with your webcam, with fun graphical effects"
+url="https://wiki.gnome.org/Apps/Cheese"
+arch=(x86_64)
+license=(GPL)
+depends=(gtk3 gstreamer gst-plugins-bad gst-plugins-base gst-plugins-good clutter-gst clutter-gtk
+ libcanberra librsvg gnome-desktop libgudev dconf gnome-video-effects)
+makedepends=(gobject-introspection vala git appstream-glib meson yelp-tools)
+checkdepends=(xorg-server-xvfb)
+groups=(gnome)
+_commit=cac6d3a11be0ea913afaef339e9ed8539acd95b7 # master
+source=("git+https://gitlab.gnome.org/GNOME/cheese.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+}
+
+build() {
+ arch-meson $pkgname build -D tests=true
+ ninja -C build
+}
+
+check() (
+ glib-compile-schemas "${GSETTINGS_SCHEMA_DIR:=$PWD/$pkgname/data}"
+ export GSETTINGS_SCHEMA_DIR
+
+ dbus-run-session xvfb-run \
+ -s '-screen 0 1920x1080x24 -nolisten local' \
+ meson test -C build --print-errorlogs
+)
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+}
More information about the arch-commits
mailing list