diff options
Diffstat (limited to 'meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb')
-rw-r--r-- | meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb index 50d4d99722..b508e62741 100644 --- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb +++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.32.bb | |||
@@ -36,6 +36,17 @@ do_configure_prepend() { | |||
36 | sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac | 36 | sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac |
37 | } | 37 | } |
38 | 38 | ||
39 | do_install_append () { | ||
40 | # configure values for python3 and pkg-config encoded in scripts | ||
41 | for fn in ${bindir}/gtkdoc-depscan \ | ||
42 | ${bindir}/gtkdoc-mkhtml2 \ | ||
43 | ${datadir}/gtk-doc/python/gtkdoc/config.py; do | ||
44 | sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \ | ||
45 | -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ | ||
46 | -i ${D}$fn | ||
47 | done | ||
48 | } | ||
49 | |||
39 | FILES_${PN} += "${datadir}/sgml" | 50 | FILES_${PN} += "${datadir}/sgml" |
40 | FILES_${PN}-dev += "${libdir}/cmake" | 51 | FILES_${PN}-dev += "${libdir}/cmake" |
41 | FILES_${PN}-doc = "" | 52 | FILES_${PN}-doc = "" |
@@ -48,3 +59,4 @@ gtkdoc_makefiles_sysroot_preprocess() { | |||
48 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ | 59 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ |
49 | ${SYSROOT_DESTDIR}${datadir}/gtk-doc/data/gtk-doc*make | 60 | ${SYSROOT_DESTDIR}${datadir}/gtk-doc/data/gtk-doc*make |
50 | } | 61 | } |
62 | |||