mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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 <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
07f6f179cf
commit
a4e5fef14a
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user