]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
librsvg: enable vapi build
authorMarkus Volk <f_l_k@t-online.de>
Mon, 9 Jan 2023 13:34:37 +0000 (14:34 +0100)
committerSteve Sakoman <steve@sakoman.com>
Fri, 20 Jan 2023 02:28:32 +0000 (16:28 -1000)
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)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ed814eff90677f894d9eb480d8d4389c64a35820)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-gnome/librsvg/librsvg_2.54.5.bb

index fc52ae61c565e49bc45c31550f47a0fdf59030a0..b2e93a268448a8fd200214cd5c5a5adc764983c0 100644 (file)
@@ -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