diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gjs/gjs_1.58.5.bb')
-rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs_1.58.5.bb | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.58.5.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.58.5.bb new file mode 100644 index 000000000..fd74c45c1 --- /dev/null +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.58.5.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SUMMARY = "Javascript bindings for GNOME" | ||
2 | LICENSE = "MIT & LGPLv2+" | ||
3 | LIC_FILES_CHKSUM = " \ | ||
4 | file://COPYING;md5=beb29cf17fabe736f0639b09ee6e76fa \ | ||
5 | file://COPYING.LGPL;md5=3bf50002aefd002f49e7bb854063f7e7 \ | ||
6 | " | ||
7 | |||
8 | GNOMEBASEBUILDCLASS = "autotools" | ||
9 | |||
10 | DEPENDS = "mozjs gtk+3" | ||
11 | |||
12 | inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even | ||
13 | |||
14 | SRC_URI[archive.md5sum] = "4e74456ccb16d4cc5004a441f6abbec1" | ||
15 | SRC_URI[archive.sha256sum] = "e76d99c09f887438b9883e328710b26b3717f6dcdb4097dc7a9bab06ebd7a13a" | ||
16 | SRC_URI += "file://0001-Disable-tests-on-host.patch" | ||
17 | |||
18 | # gobject-introspection is mandatory and cannot be configured | ||
19 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
20 | UNKNOWN_CONFIGURE_WHITELIST_append = " --enable-introspection --disable-introspection" | ||
21 | |||
22 | EXTRA_OECONF = " \ | ||
23 | --without-dbus-tests \ | ||
24 | --disable-installed-tests \ | ||
25 | " | ||
26 | |||
27 | do_configure_prepend() { | ||
28 | # make configure find gobject-introspection test code. Although we set | ||
29 | # --disable-installed-tests gjs builds them | ||
30 | sed -i 's|:$GI_DATADIR|:${STAGING_DIR_NATIVE}$GI_DATADIR|g' ${S}/configure.ac | ||
31 | } | ||
32 | |||
33 | FILES_${PN} += "${datadir}/gjs-1.0/lsan" | ||
34 | |||
35 | PACKAGES =+ "${PN}-valgrind" | ||
36 | FILES_${PN}-valgrind = "${datadir}/gjs-1.0/valgrind" | ||
37 | RSEPENDS_${PN}-valgrind += "valgrind" | ||