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"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \
|
|
|
|
file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7"
|
|
|
|
|
|
|
|
inherit gnomebase gettext gobject-introspection meson
|
|
|
|
|
|
|
|
WARN_QA_remove = "unknown-configure-option"
|
|
|
|
|
|
|
|
export GIDATADIR="${STAGING_DATADIR_NATIVE}/gobject-introspection-1.0"
|
|
|
|
|
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
|
|
|
|
|
|
|
EXTRA_OEMESON = " -Dskip_dbus_tests=true -Dskip_gtk_tests=true -Dinstalled_tests=false -Dpkgconfig-sysroot-path=${GIDATADIR}"
|
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"
|
2020-10-30 18:55:28 +00:00
|
|
|
SRC_URI[archive.md5sum] = "d43a936f5edd8ff36ecc54684b26d82a"
|
|
|
|
SRC_URI[archive.sha256sum] = "f30cf90e016db6c8fdd0059749559611760f0721f375b2b61e0b7239b43ab5f8"
|
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"
|