35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
# Template file for 'gjs'
|
|
pkgname=gjs
|
|
version=1.70.0
|
|
revision=1
|
|
build_style=meson
|
|
build_helper="gir qemu"
|
|
configure_args="-Dskip_dbus_tests=true -Dskip_gtk_tests=true
|
|
-Dprofiler=disabled -Dinstalled_tests=false" # Disable tests because they need dbus, X and GTK.
|
|
hostmakedepends="glib-devel pkg-config"
|
|
makedepends="dbus-glib-devel mozjs78-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-41/NEWS"
|
|
distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
|
|
checksum=4b0629341a318a02374e113ab97f9a9f3325423269fc1e0b043a5ffb01861c5f
|
|
|
|
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
|
makedepends+=" libatomic-devel"
|
|
fi
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
}
|
|
|
|
gjs-devel_package() {
|
|
depends="libgirepository-devel mozjs78-devel ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|