void-packages/srcpkgs/cjs/template
Jürgen Buchmüller 088380d350 Revert "cjs: fix cross build"
This reverts commit 570928df0e.

Fix it on the side of gobject-introspection.
2020-03-25 00:46:59 +01:00

34 lines
1 KiB
Bash

# Template file for 'cjs'
pkgname=cjs
version=4.4.0
revision=2
build_style=gnu-configure
build_helper=gir
configure_args="--disable-static --disable-profiler"
hostmakedepends="automake autoconf-archive libtool gnome-common pkg-config
gobject-introspection glib-devel dbus mozjs52-devel"
makedepends="dbus-glib-devel readline-devel gobject-introspection
gtk+3-devel mozjs52 mozjs52-devel"
short_desc="Javascript for Cinnamon"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.0-or-later"
homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/"
distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz"
checksum=7dab9615c41d9cb3b2409b2aa6cb9813ef5762f8c62526f54b4b3734079961f6
pre_configure() {
cp ${FILESDIR}/ax_code_coverage.m4 m4/
NOCONFIGURE=1 ./autogen.sh
}
cjs-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove "usr/lib/*.so"
vmove usr/include
vmove usr/lib/pkgconfig
}
}