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"
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
LICENSE = "MIT & LGPL-2.0-only"
|
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
|
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
GIR_MESON_OPTION = ""
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
DEPENDS = "glib-2.0 gobject-introspection gobject-introspection-native cairo gtk+3 mozjs-91 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"
|
2022-05-28 11:20:07 -04:00
|
|
|
CFLAGS:append = " -include ${STAGING_INCDIR}/mozjs-91/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
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
RDEPENDS:${PN} += "libmozjs-91"
|
2020-07-08 10:42:25 -04:00
|
|
|
|
2022-05-28 11:20:07 -04:00
|
|
|
FILES:${PN}-dbg += "${datadir}/gjs-1.0/lsan ${datadir}/gjs-1.0/valgrind"
|