[arch-commits] Commit in gjs/repos (2 files)

Jan Steffens heftig at archlinux.org
Sun Mar 8 02:02:28 UTC 2020


    Date: Sunday, March 8, 2020 @ 02:02:27
  Author: heftig
Revision: 376949

archrelease: copy trunk to gnome-unstable-x86_64

Added:
  gjs/repos/gnome-unstable-x86_64/
  gjs/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 376948, gjs/trunk/PKGBUILD)

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: gjs/repos/gnome-unstable-x86_64/PKGBUILD (from rev 376948, gjs/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2020-03-08 02:02:27 UTC (rev 376949)
@@ -0,0 +1,43 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gjs
+pkgver=1.63.92
+pkgrel=1
+epoch=2
+pkgdesc="Javascript Bindings for GNOME"
+url="https://wiki.gnome.org/Projects/Gjs"
+arch=(x86_64)
+license=(GPL)
+depends=(cairo gobject-introspection-runtime js68 dconf readline)
+makedepends=(gobject-introspection git sysprof meson)
+checkdepends=(valgrind xorg-server-xvfb)
+provides=(libgjs.so)
+_commit=a205430d1f979e7dc36671ac5f515682fb36c413  # tags/1.63.92^0
+source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build --buildtype release -D installed_tests=false
+  ninja -C build
+}
+
+check() {
+  dbus-run-session xvfb-run \
+    -s '-screen 0 1920x1080x24 -nolisten local' \
+    meson test -C build --print-errorlogs
+}
+
+package() {
+  depends+=(libreadline.so)
+  DESTDIR="$pkgdir" meson install -C build
+}



More information about the arch-commits mailing list