[arch-commits] Commit in gjs/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Mar 8 01:35:00 UTC 2020
Date: Sunday, March 8, 2020 @ 01:34:59
Author: heftig
Revision: 376941
1.63.92
Modified:
gjs/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++----------------
1 file changed, 9 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-08 01:33:25 UTC (rev 376940)
+++ PKGBUILD 2020-03-08 01:34:59 UTC (rev 376941)
@@ -2,7 +2,7 @@
# Contributor: Ionut Biru <ibiru at archlinux.org>
pkgname=gjs
-pkgver=1.58.5
+pkgver=1.63.92
pkgrel=1
epoch=2
pkgdesc="Javascript Bindings for GNOME"
@@ -9,10 +9,11 @@
url="https://wiki.gnome.org/Projects/Gjs"
arch=(x86_64)
license=(GPL)
-depends=(cairo gobject-introspection-runtime js60 dconf readline)
-makedepends=(gobject-introspection git autoconf-archive sysprof)
+depends=(cairo gobject-introspection-runtime js68 dconf readline)
+makedepends=(gobject-introspection git sysprof meson)
checkdepends=(valgrind xorg-server-xvfb)
-_commit=680fc377fd4f8a3b87836d6c7a1fa1b5074c4137 # tags/1.58.5^0
+provides=(libgjs.so)
+_commit=a205430d1f979e7dc36671ac5f515682fb36c413 # tags/1.63.92^0
source=("git+https://gitlab.gnome.org/GNOME/gjs.git#commit=$_commit")
sha256sums=('SKIP')
@@ -22,29 +23,21 @@
}
prepare() {
- mkdir build
cd $pkgname
- NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd build
- ../$pkgname/configure \
- --prefix=/usr \
- --libexecdir=/usr/lib \
- --disable-static \
- --enable-compile-warnings=yes
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ 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' \
- make check -C build
+ meson test -C build --print-errorlogs
}
package() {
depends+=(libreadline.so)
- DESTDIR="$pkgdir" make install -C build
+ DESTDIR="$pkgdir" meson install -C build
}
More information about the arch-commits
mailing list