summaryrefslogtreecommitdiffstats
path: root/meta-gnome/recipes-gnome/gjs/gjs_1.84.2.bb
diff options
context:
space:
mode:
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.bb45
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 @@
1SUMMARY = "Javascript bindings for GNOME"
2LICENSE = "MIT & LGPL-2.0-or-later"
3LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48"
4
5
6DEPENDS = "mozjs-128 cairo"
7
8inherit gnomebase gobject-introspection gettext features_check upstream-version-is-even pkgconfig multilib_script
9
10SRC_URI[archive.sha256sum] = "35142edf345705636300291ec3a7d583f14969ff3fae0ff30f4a95b1e6740166"
11SRC_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
17REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
18GIR_MESON_OPTION = ""
19
20EXTRA_OEMESON = " \
21 -Dinstalled_tests=false \
22 -Dskip_dbus_tests=true \
23 -Dskip_gtk_tests=true \
24"
25
26LDFLAGS:append:mipsarch = " -latomic"
27LDFLAGS:append:powerpc = " -latomic"
28LDFLAGS:append:powerpc64 = " -latomic"
29LDFLAGS:append:riscv32 = " -latomic"
30
31FILES:${PN} += "${datadir}/gjs-1.0/lsan"
32
33PACKAGES =+ "${PN}-valgrind"
34FILES:${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
35RDEPENDS:${PN}-valgrind += "valgrind"
36
37# Valgrind not yet available on rv32/rv64
38RDEPENDS:${PN}-valgrind:remove:riscv32 = "valgrind"
39RDEPENDS:${PN}-valgrind:remove:riscv64 = "valgrind"
40
41MULTILIB_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 "