extra/gjs to 1.50.1-1

This commit is contained in:
Kevin Mihelich 2017-10-06 16:24:59 +00:00
parent ecfb8ccadf
commit 868a0694ef

View file

@ -5,15 +5,16 @@
# - configure with --enable-compile-warnings=no
pkgname=gjs
pkgver=1.48.6
pkgver=1.50.1
pkgrel=1
pkgdesc="Javascript Bindings for GNOME"
url="https://wiki.gnome.org/Projects/Gjs"
arch=(i686 x86_64)
license=(GPL)
depends=(cairo gobject-introspection-runtime js38 gtk3)
makedepends=(gobject-introspection git gnome-common)
_commit=a9db649304db525ca166ec0845ee7a86cea4bf7f # tags/1.48.6^0
depends=(cairo gobject-introspection-runtime js52 gtk3)
makedepends=(gobject-introspection git autoconf-archive xorg-server-xvfb)
checkdepends=(valgrind)
_commit=b1b7b14bd54e108fde97eea9247e2636c8d760cf # tags/1.50.1^0
source=("git+https://git.gnome.org/browse/gjs#commit=$_commit")
sha256sums=('SKIP')
@ -29,15 +30,14 @@ prepare() {
build() {
cd $pkgname
./configure --prefix=/usr --disable-static --libexecdir=/usr/lib --enable-compile-warnings=no
./configure --prefix=/usr --disable-static --libexecdir=/usr/lib --with-xvfb-tests --enable-compile-warnings=no
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname
# Needs a display
make -k check || :
make check
}
package() {