gjs: update to 1.56.0.

This commit is contained in:
Rasmus Thomsen 2019-03-12 10:49:22 +01:00 committed by maxice8
parent 31183a1042
commit d0a109ab76

View file

@ -1,11 +1,11 @@
# Template file for 'gjs'
pkgname=gjs
version=1.54.3
revision=3
version=1.56.0
revision=1
build_style=gnu-configure
build_helper="gir"
configure_args="--without-dbus-tests"
hostmakedepends="glib-devel intltool pkg-config"
hostmakedepends="glib-devel pkg-config"
makedepends="dbus-glib-devel mozjs60-devel readline-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Enno Boland <gottox@voidlinux.org>"
@ -13,7 +13,7 @@ license="MIT, LGPL-2.0-or-later"
homepage="https://wiki.gnome.org/action/show/Projects/Gjs"
changelog="https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS"
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=76b30dcc3ce9836c053aee531aa9f1d9d3f94b8503adf0a5a7bd176c492ba6b1
checksum=64a7ad5554adb0105fabb432abcfa690033c177d8e650872b469b7cbf475ec1a
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-profiler" # https://gitlab.gnome.org/GNOME/gjs/issues/132
@ -25,10 +25,6 @@ case "$XBPS_TARGET_MACHINE" in
esac
post_configure() {
# Work around mozjs-60 pkg-config file having a -include directive
vsed -e "s|-include /usr/include|-include ${XBPS_CROSS_BASE}/usr/include|g" \
-i Makefile
# Cross compilation gets this result wrong
vsed -e "s|^#define HAVE_DEBUG_SPIDERMONKEY.*|/* #undef HAVE_DEBUG_SPIDERMONKEY */|g" \
-i config.h