[arch-commits] Commit in gjs/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu Mar 14 19:23:42 UTC 2019


    Date: Thursday, March 14, 2019 @ 19:23:41
  Author: heftig
Revision: 348062

1.56.0-1

Modified:
  gjs/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++--------------
 1 file changed, 6 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 18:52:26 UTC (rev 348061)
+++ PKGBUILD	2019-03-14 19:23:41 UTC (rev 348062)
@@ -2,8 +2,8 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=gjs
-pkgver=1.54.3
-pkgrel=2
+pkgver=1.56.0
+pkgrel=1
 epoch=2
 pkgdesc="Javascript Bindings for GNOME"
 url="https://wiki.gnome.org/Projects/Gjs"
@@ -10,9 +10,9 @@
 arch=(x86_64)
 license=(GPL)
 depends=(cairo gobject-introspection-runtime js60 gtk3)
-makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
-checkdepends=(valgrind)
-_commit=7d5e567b47dce85caf734caa5ba1c9387fdea253  # tags/1.54.3^0
+makedepends=(gobject-introspection git autoconf-archive)
+checkdepends=(valgrind xorg-server-xvfb)
+_commit=31a0ed59b2c1c621410269e17740b133e73f7334  # tags/1.56.0^0
 source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -23,15 +23,7 @@
 
 prepare() {
   cd $pkgname
-
-  # We don't have C.UTF-8
-  sed -i 's|C\.UTF-8|en_US.UTF-8|g' Makefile-test.am test/test-ci.sh
-
   NOCONFIGURE=1 ./autogen.sh
-
-  # https://gitlab.gnome.org/GNOME/gjs/issues/149
-  git checkout m4/ax_code_coverage.m4
-  autoreconf -v
 }
 
 build() {
@@ -41,7 +33,7 @@
     --libexecdir=/usr/lib \
     --disable-static \
     --enable-compile-warnings=yes \
-    --with-xvfb-tests
+    $(type -P Xvfb >/dev/null && echo --with-xvfb-tests)
   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
   make
 }



More information about the arch-commits mailing list