Files
meta-gnome-forks/recipes-cinnamon/cjs/cjs.bb
Andreas Müller 29fa012171 All recipes: Auto change licenses to SPDX
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2022-03-10 23:36:48 +01:00

37 lines
967 B
BlitzBasic

SUMMARY = "TThe Cinnamon Javascript interpreter"
LICENSE = "GPL-2.0-only & LGPL-2.0-only"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \
"
DEPENDS = " \
dbus-native \
glib-2.0-native \
gtk+3 \
mozjs-78 \
sysprof \
"
inherit meson pkgconfig gobject-introspection features_check gettext
REQUIRED_DISTRO_FEATURES = "x11 gobject-introspection-data"
GIR_MESON_OPTION = ""
SRC_URI = "git://github.com/linuxmint/cjs.git;branch=master;protocol=https"
SRCREV = "b73665be7781a34e4da3bfbfb5fa853a76edbf9c"
PV = "5.2.0"
S = "${WORKDIR}/git"
EXTRA_OEMESON += " \
-Dinstalled_tests=false \
-Dskip_dbus_tests=true \
-Dskip_gtk_tests=true \
"
do_configure:prepend() {
sed -i 's:gidatadir =.*:gidatadir = '"'"'${STAGING_DATADIR_NATIVE}/gobject-introspection-1.0'"'"':g' ${S}/installed-tests/js/meson.build
}
FILES:${PN} += "${datadir}/cjs-1.0"