mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-18 05:01:58 +02:00
Changelog: ========== - Various fixes ported from the development branch. - Closed bugs and merge requests: * gi/arg-cache.cpp: Fix building on Visual Studio * doc: Reflect support for constructor with GObject Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
41 lines
1.3 KiB
BlitzBasic
41 lines
1.3 KiB
BlitzBasic
SUMMARY = "Javascript bindings for GNOME"
|
|
LICENSE = "MIT & LGPL-2.0-or-later"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=8dcea832f6acf45d856abfeb2d51ec48"
|
|
|
|
GNOMEBASEBUILDCLASS = "meson"
|
|
|
|
DEPENDS = "mozjs-91 cairo"
|
|
|
|
inherit gnomebase gsettings gobject-introspection vala gettext features_check upstream-version-is-even pkgconfig
|
|
|
|
SRC_URI[archive.sha256sum] = "ddee379bdc5a7d303a5d894be2b281beb8ac54508604e7d3f20781a869da3977"
|
|
SRC_URI += " \
|
|
file://0001-Support-cross-builds-a-bit-better.patch \
|
|
file://0002-meson.build-Do-not-add-dir-installed-tests-when-inst.patch \
|
|
"
|
|
|
|
# gobject-introspection is mandatory and cannot be configured
|
|
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
|
GIR_MESON_OPTION = ""
|
|
|
|
EXTRA_OEMESON = " \
|
|
-Dinstalled_tests=false \
|
|
-Dskip_dbus_tests=true \
|
|
-Dskip_gtk_tests=true \
|
|
"
|
|
|
|
LDFLAGS:append:mipsarch = " -latomic"
|
|
LDFLAGS:append:powerpc = " -latomic"
|
|
LDFLAGS:append:powerpc64 = " -latomic"
|
|
LDFLAGS:append:riscv32 = " -latomic"
|
|
|
|
FILES:${PN} += "${datadir}/gjs-1.0/lsan"
|
|
|
|
PACKAGES =+ "${PN}-valgrind"
|
|
FILES:${PN}-valgrind = "${datadir}/gjs-1.0/valgrind"
|
|
RDEPENDS:${PN}-valgrind += "valgrind"
|
|
|
|
# Valgrind not yet available on rv32/rv64
|
|
RDEPENDS:${PN}-valgrind:remove:riscv32 = "valgrind"
|
|
RDEPENDS:${PN}-valgrind:remove:riscv64 = "valgrind"
|