From a4e5fef14a3eda7eef0b40f84e2a88ee5eb7b57e Mon Sep 17 00:00:00 2001 From: Joe Slater Date: Mon, 2 Aug 2021 16:34:06 -0700 Subject: gtksourceview4: work around dependency deficiency Compile in two stages. First, generate gtksourceview-gresources.h, then compile everything else. Adding the dependency is not trivial so we wait for upstream and add a benign workaround. Signed-off-by: Joe Slater Signed-off-by: Khem Raj --- .../recipes-gnome/gtksourceview/gtksourceview4_4.8.1.bb | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'meta-gnome') diff --git a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.1.bb b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.1.bb index f7d040d73c..bc04a3037a 100644 --- a/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.1.bb +++ b/meta-gnome/recipes-gnome/gtksourceview/gtksourceview4_4.8.1.bb @@ -22,4 +22,16 @@ SRC_URI[sha256sum] = "d163d71b5fcafbc5b1eec6dd841edbdbcddd3a7511cd5fdcffd86b8bbf GIR_MESON_OPTION = 'gir' GTKDOC_MESON_OPTION = "gtk_doc" +# Override the definition in meson.bbclass. The dependencies in mason.build are incomplete +# and the recipe will not build with "-j 1". This fix is benign but should be reviewed when +# updating versions. +# +meson_do_compile() { + bbnote "========== generating gtksourceview-gresources.h ========" + bbnote "PARALLEL_MAKE is ${PARALLEL_MAKE}" + ninja ${PARALLEL_MAKE} gtksourceview/gtksourceview-gresources.h + bbnote "========== compiling target all ========" + ninja ${PARALLEL_MAKE} +} + FILES_${PN} += "${datadir}/gtksourceview-4" -- cgit 1.2.3-korg