diff options
-rw-r--r-- | meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb b/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb index 14e1ca9fe1..b6ac75dd8a 100644 --- a/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb +++ b/meta-gnome/recipes-gnome/grilo/grilo_0.3.16.bb | |||
@@ -26,5 +26,14 @@ PACKAGECONFIG[test-ui] = "-Denable-test-ui=true, -Denable-test-ui=false, gtk+3 l | |||
26 | EXTRA_OEMESON = "-Denable-grl-pls=false" | 26 | EXTRA_OEMESON = "-Denable-grl-pls=false" |
27 | 27 | ||
28 | do_compile:append() { | 28 | do_compile:append() { |
29 | sed -i -e 's,${B}/../,,' ${B}/src/grl-type-builtins.h | 29 | # grl-type-builtins.* are generated by glib-mkenums which leave full paths |
30 | # in comment and #include directives. Rewrite those before *-src packaging. | ||
31 | |||
32 | # Path can be relative to B or WORKDIR in devtool modify | ||
33 | for base in ${B} ${WORKDIR} ; do | ||
34 | relpath="$(realpath --relative-to="$base" "${S}")" | ||
35 | sed -i -e "s,$base/$relpath/src/,," \ | ||
36 | ${B}/src/grl-type-builtins.h \ | ||
37 | ${B}/src/grl-type-builtins.c | ||
38 | done | ||
30 | } | 39 | } |