cjs: initial add 5.2.0

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2022-01-16 22:36:56 +01:00
parent feaecdfc25
commit 5cca5af6d3

View File

@@ -0,0 +1,36 @@
SUMMARY = "TThe Cinnamon Javascript interpreter"
LICENSE = "GPLv2 & LGPLv2"
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"