gjs: update to 1.65.2.

Closes: #21716
This commit is contained in:
Lorem 2020-05-07 14:06:06 +05:30 committed by Đoàn Trần Công Danh
parent f10e5b83c9
commit d82251f5f5
2 changed files with 7 additions and 18 deletions

View file

@ -832,9 +832,7 @@ libtotem.so.0 libtotem-3.6.2_1
libclutter-1.0.so.0 clutter-1.14.0_1
libavfs.so.0 libavfs-1.0.5_1
libdmr.so.0.1 deepin-movie-reborn-3.2.5_1
libgjs.so.0 gjs-1.63.3_1
libgjs-gi.so gjs-1.63.3_1
libgjs-dbus.so.0 gjs-1.63.3_1
libgjs.so.0 gjs-1.65.2_1
libtelepathy-glib.so.0 telepathy-glib-0.15.5_1
libaccountsservice.so.0 accountsservice-0.6.4_1
libfolks.so.25 folks-0.9.5_1

View file

@ -1,36 +1,27 @@
# Template file for 'gjs'
pkgname=gjs
version=1.63.3
revision=2
version=1.65.2
revision=1
build_style=meson
build_helper="gir qemu"
configure_args="-Dskip_dbus_tests=true -Dskip_gtk_tests=true
-Dprofiler=disabled" # Disable test because they need X and GTK.
-Dprofiler=disabled -Dinstalled_tests=false" # Disable tests because they need dbus, X and GTK.
hostmakedepends="glib-devel pkg-config"
makedepends="dbus-glib-devel mozjs60-devel readline-devel sysprof-devel"
makedepends="dbus-glib-devel mozjs68-devel readline-devel sysprof-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Enno Boland <gottox@voidlinux.org>"
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=09f232c20e986c368e93394b2c10dc21b6fedacfff7de926f0b221ea5b933b5f
pre_configure() {
if [ "$CROSS_BUILD" ]; then
vsed -i meson.build -e"/subdir('installed-tests')/d"
fi
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
grep -rlw "<sys/signal.h>" | xargs sed -i -e"s;<sys/signal.h>;<signal.h>;"
fi
}
checksum=a66edad8a5f10027f9b182d88af84b81f13e5ad5840319cfa747d66e77e0214f
post_install() {
vlicense COPYING
}
gjs-devel_package() {
depends="libgirepository-devel mozjs60-devel ${sourcepkg}>=${version}_${revision}"
depends="libgirepository-devel mozjs68-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include