44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Template file for 'gjs'
|
|
pkgname=gjs
|
|
version=1.74.1
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir qemu"
|
|
configure_args="-Dprofiler=disabled -Dinstalled_tests=false"
|
|
hostmakedepends="glib-devel pkg-config"
|
|
makedepends="dbus-glib-devel mozjs102-devel readline-devel sysprof-devel"
|
|
checkdepends="xvfb-run cantarell-fonts"
|
|
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://gitlab.gnome.org/GNOME/gjs"
|
|
#changelog="https://gitlab.gnome.org/GNOME/gjs/-/raw/master/NEWS"
|
|
changelog="https://gitlab.gnome.org/GNOME/gjs/-/raw/gnome-43/NEWS"
|
|
distfiles="${GNOME_SITE}/gjs/${version%.*}/gjs-${version}.tar.xz"
|
|
checksum=f21f9cd3337a672a44c7e64bf9a8d8ad77c1b88b952b2b6184c7af9b1f3ef459
|
|
make_check_pre="xvfb-run"
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
if [ "$XBPS_CHECK_PKGS" ]; then
|
|
hostmakedepends+=" dbus"
|
|
else
|
|
configure_args+=" -Dskip_dbus_tests=true -Dskip_gtk_tests=true"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
gjs-devel_package() {
|
|
depends="libgirepository-devel mozjs102-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|