[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4357/8267] libxml2: Drop docs in native case



commit aa8319c05da6ffc6ab76cbb71a41b857db235187
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Fri Jan 27 16:57:53 2017 +0000

    libxml2: Drop docs in native case
    
    With rss, moving these around was having an increasing overhead and we don't
    need them in the native case so remove them.
    
    (From OE-Core rev: 3b8dcd210a494baecead7dd1e568fb60ac93ed9b)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-core/libxml/libxml2_2.9.4.bb |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-core/libxml/libxml2_2.9.4.bb b/meta/recipes-core/libxml/libxml2_2.9.4.bb
index 0287a0a..93b9ba0 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.4.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.4.bb
@@ -76,4 +76,9 @@ do_install_ptest () {
        cp -r ${WORKDIR}/xmlconf ${D}${PTEST_PATH}
 }
 
+do_install_append_class-native () {
+       # Docs are not needed in the native case
+       rm ${D}${datadir}/gtk-doc -rf
+}
+
 BBCLASSEXTEND = "native nativesdk"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]