gjs: update to 1.56.0.
This commit is contained in:
parent
31183a1042
commit
d0a109ab76
1 changed files with 4 additions and 8 deletions
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'gjs'
|
# Template file for 'gjs'
|
||||||
pkgname=gjs
|
pkgname=gjs
|
||||||
version=1.54.3
|
version=1.56.0
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_helper="gir"
|
build_helper="gir"
|
||||||
configure_args="--without-dbus-tests"
|
configure_args="--without-dbus-tests"
|
||||||
hostmakedepends="glib-devel intltool pkg-config"
|
hostmakedepends="glib-devel pkg-config"
|
||||||
makedepends="dbus-glib-devel mozjs60-devel readline-devel"
|
makedepends="dbus-glib-devel mozjs60-devel readline-devel"
|
||||||
short_desc="Mozilla-based javascript bindings for the GNOME platform"
|
short_desc="Mozilla-based javascript bindings for the GNOME platform"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
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"
|
homepage="https://wiki.gnome.org/action/show/Projects/Gjs"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/gjs/blob/gnome-3-30/NEWS"
|
||||||
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=76b30dcc3ce9836c053aee531aa9f1d9d3f94b8503adf0a5a7bd176c492ba6b1
|
checksum=64a7ad5554adb0105fabb432abcfa690033c177d8e650872b469b7cbf475ec1a
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
*-musl) configure_args+=" --disable-profiler" # https://gitlab.gnome.org/GNOME/gjs/issues/132
|
*-musl) configure_args+=" --disable-profiler" # https://gitlab.gnome.org/GNOME/gjs/issues/132
|
||||||
|
@ -25,10 +25,6 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
post_configure() {
|
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
|
# Cross compilation gets this result wrong
|
||||||
vsed -e "s|^#define HAVE_DEBUG_SPIDERMONKEY.*|/* #undef HAVE_DEBUG_SPIDERMONKEY */|g" \
|
vsed -e "s|^#define HAVE_DEBUG_SPIDERMONKEY.*|/* #undef HAVE_DEBUG_SPIDERMONKEY */|g" \
|
||||||
-i config.h
|
-i config.h
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue