2020-07-08 14:42:25 +00:00
|
|
|
SUMMARY = "GNOME javascript bindings based on the Spidermonkey javascript engine"
|
|
|
|
HOMEPAGE = "https://wiki.gnome.org/Projects/Gjs"
|
|
|
|
|
|
|
|
LICENSE = "MIT & LGPLv2"
|
2021-05-05 12:45:55 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
|
|
|
inherit gnomebase gettext gobject-introspection meson
|
|
|
|
|
2021-10-06 19:27:34 +00:00
|
|
|
UNKNOWN_CONFIGURE_WHITELIST_append = " introspection"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
2020-10-30 18:55:28 +00:00
|
|
|
DEPENDS = "glib-2.0 gobject-introspection gobject-introspection-native cairo gtk+3 mozjs78 glib-2.0-native"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
2021-10-06 19:27:34 +00:00
|
|
|
EXTRA_OEMESON = " -Dskip_dbus_tests=true -Dskip_gtk_tests=true -Dinstalled_tests=false"
|
2020-10-30 18:55:28 +00:00
|
|
|
CFLAGS_append = " -include ${STAGING_INCDIR}/mozjs-78/js/RequiredDefines.h"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
|
|
|
SRC_URI += " file://0001-Fix-tests-that-cannot-run.patch"
|
2021-10-06 19:27:34 +00:00
|
|
|
SRC_URI[archive.sha256sum] = "4b0629341a318a02374e113ab97f9a9f3325423269fc1e0b043a5ffb01861c5f"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
2020-10-30 18:55:28 +00:00
|
|
|
RDEPENDS_${PN} += "libmozjs-78"
|
2020-07-08 14:42:25 +00:00
|
|
|
|
|
|
|
FILES_${PN}-dbg += "${datadir}/gjs-1.0/lsan ${datadir}/gjs-1.0/valgrind"
|