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