diff options
Diffstat (limited to 'meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb')
| -rw-r--r-- | meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb b/meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb new file mode 100644 index 0000000000..c41fa6e93a --- /dev/null +++ b/meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | SUMMARY = "Javascript bindings for GNOME" | ||
| 2 | LICENSE = "MIT & LGPL-2.0-or-later" | ||
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48" | ||
| 4 | |||
| 5 | |||
| 6 | DEPENDS = "mozjs-128 cairo" | ||
| 7 | |||
| 8 | inherit gnomebase gobject-introspection gettext features_check upstream-version-is-even pkgconfig multilib_script | ||
| 9 | |||
| 10 | SRC_URI[archive.sha256sum] = "35142edf345705636300291ec3a7d583f14969ff3fae0ff30f4a95b1e6740166" | ||
| 11 | SRC_URI += " \ | ||
| 12 | file://0001-Support-cross-builds-a-bit-better.patch \ | ||
| 13 | file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | # gobject-introspection is mandatory and cannot be configured | ||
| 17 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" | ||
| 18 | GIR_MESON_OPTION = "" | ||
| 19 | |||
| 20 | EXTRA_OEMESON = " \ | ||
| 21 | -Dinstalled_tests=false \ | ||
| 22 | -Dskip_dbus_tests=true \ | ||
| 23 | -Dskip_gtk_tests=true \ | ||
| 24 | " | ||
| 25 | |||
| 26 | LDFLAGS:append:mipsarch = " -latomic" | ||
| 27 | LDFLAGS:append:powerpc = " -latomic" | ||
| 28 | LDFLAGS:append:powerpc64 = " -latomic" | ||
| 29 | LDFLAGS:append:riscv32 = " -latomic" | ||
| 30 | |||
| 31 | FILES:${PN} += "${datadir}/gjs-1.0/lsan" | ||
| 32 | |||
| 33 | PACKAGES =+ "${PN}-valgrind" | ||
| 34 | FILES:${PN}-valgrind = "${datadir}/gjs-1.0/valgrind" | ||
| 35 | RDEPENDS:${PN}-valgrind += "valgrind" | ||
| 36 | |||
| 37 | # Valgrind not yet available on rv32/rv64 | ||
| 38 | RDEPENDS:${PN}-valgrind:remove:riscv32 = "valgrind" | ||
| 39 | RDEPENDS:${PN}-valgrind:remove:riscv64 = "valgrind" | ||
| 40 | |||
| 41 | MULTILIB_SCRIPTS:append = "${PN}:${libexecdir}/installed-tests/gjs/GIMarshallingTests-1.0.typelib \ | ||
| 42 | ${PN}:${libexecdir}/installed-tests/gjs/Regress-1.0.typelib \ | ||
| 43 | ${PN}:${libexecdir}/installed-tests/gjs/Utility-1.0.typelib \ | ||
| 44 | ${PN}:${libexecdir}/installed-tests/gjs/WarnLib-1.0.typelib \ | ||
| 45 | " | ||
