cjs: update to 4.8.2.
Fix homepage.
This commit is contained in:
parent
e1876b483a
commit
447aeaced0
1 changed files with 13 additions and 12 deletions
|
@ -1,28 +1,29 @@
|
|||
# Template file for 'cjs'
|
||||
pkgname=cjs
|
||||
version=4.6.0
|
||||
version=4.8.2
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
build_style=meson
|
||||
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"
|
||||
# XXX: disable tests because they need dbus, X and GTK, same as gjs
|
||||
configure_args="-Dskip_dbus_tests=true -Dskip_gtk_tests=true
|
||||
-Dprofiler=disabled -Dinstalled_tests=false"
|
||||
hostmakedepends="pkg-config gobject-introspection glib-devel dbus mozjs78-devel"
|
||||
makedepends="dbus-glib-devel readline-devel gobject-introspection
|
||||
gtk+3-devel mozjs52 mozjs52-devel"
|
||||
gtk+3-devel mozjs78 mozjs78-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/"
|
||||
homepage="https://github.com/linuxmint/cjs"
|
||||
distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz"
|
||||
checksum=47f8abb867881594766fec1398d1b9117012826c5e72ecafb3153a0c8226bf81
|
||||
|
||||
checksum=c3248663e0084dbcee1bf4d1db56966c1321983617dbbec9b1253e50614a3f4e
|
||||
|
||||
# The deleted lines in meson.build try to build and run a simple program,
|
||||
# and that does not work when cross-compiling.
|
||||
pre_configure() {
|
||||
cp ${FILESDIR}/ax_code_coverage.m4 m4/
|
||||
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
vsed -e '/Check if a minimal SpiderMonkey program compiles/,/^endif/d' -i meson.build
|
||||
}
|
||||
|
||||
|
||||
cjs-devel_package() {
|
||||
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue