void-packages/srcpkgs/gjs/template
maxice8 f28c7e7675 gjs: update to 1.52.2.
Closes #13613.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-04-20 17:36:31 +02:00

32 lines
1 KiB
Bash

# Template file for 'gjs'
pkgname=gjs
version=1.52.2
revision=1
configure_args="--without-dbus-tests"
build_style=gnu-configure
hostmakedepends="glib-devel gobject-introspection intltool pkg-config"
makedepends="dbus-glib-devel libgirepository-devel mozjs52-devel readline-devel"
short_desc="Mozilla-based javascript bindings for the GNOME platform"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MIT, LGPL-2.0-or-later"
homepage="https://wiki.gnome.org/action/show/Projects/Gjs"
distfiles="${GNOME_SITE}/$pkgname/${version%.*}/$pkgname-$version.tar.xz"
checksum=28bd9c9afabf934f43c55d97fa693a2f207c866c70eeba089a2306d3af47a003
case "$XBPS_TARGET_MACHINE" in
*-musl) configure_args+=" --disable-profiler" # https://gitlab.gnome.org/GNOME/gjs/issues/132
esac
post_install() {
vlicense COPYING
}
gjs-devel_package() {
depends="libgirepository-devel mozjs52-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}