From 8962d3a4ce9712b66e23d3fe4bb2919e6638cb12 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Mon, 9 Jan 2023 14:34:37 +0100 Subject: librsvg: enable vapi build Otherwise gnome-chess will fail like this: | error: Package `librsvg-2.0' not found in specified Vala API directories or GObject-Introspection GIR directories | Compilation failed: 1 error(s), 0 warning(s) (From OE-Core rev: ed814eff90677f894d9eb480d8d4389c64a35820) Signed-off-by: Markus Volk Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- meta/recipes-gnome/librsvg/librsvg_2.54.5.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-gnome') diff --git a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb index fc52ae61c5..b2e93a2684 100644 --- a/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb +++ b/meta/recipes-gnome/librsvg/librsvg_2.54.5.bb @@ -42,6 +42,8 @@ do_configure[postfuncs] += "cargo_common_do_configure" inherit rust-target-config +EXTRA_OECONF:class-target = "--enable-vala" + # rust-cross writes the target linker binary into target json definition without any flags. # This breaks here because the linker isn't going to work without at least knowing where # the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class -- cgit v1.2.3-54-g00ecf