[oe] [PATCH 03/19] yelp-xsl: use itstool.bbclass

Andreas Müller schnitzeltony at gmail.com
Sun Oct 27 23:35:29 UTC 2019


Signed-off-by: Andreas Müller <schnitzeltony at gmail.com>
---
 meta-gnome/recipes-gnome/yelp/yelp-xsl_3.34.0.bb | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/meta-gnome/recipes-gnome/yelp/yelp-xsl_3.34.0.bb b/meta-gnome/recipes-gnome/yelp/yelp-xsl_3.34.0.bb
index 17994414e..20052cf16 100644
--- a/meta-gnome/recipes-gnome/yelp/yelp-xsl_3.34.0.bb
+++ b/meta-gnome/recipes-gnome/yelp/yelp-xsl_3.34.0.bb
@@ -6,13 +6,16 @@ LIC_FILES_CHKSUM = " \
     file://COPYING.LGPL;md5=a6f89e2100d9b6cdffcea4f398e37343 \
 "
 
-inherit gnomebase gettext
+inherit gnomebase gettext itstool
 
-DEPENDS += "libxml2 itstool-native"
+DEPENDS += "libxml2"
 
 SRC_URI[archive.md5sum] = "f8c4e777aee8b055251c333ef48a0cd0"
 SRC_URI[archive.sha256sum] = "e8063aee67d1df634f3d062f1c28130b2dabb3c0c66396b1af90388f34e14ee2"
 
-RDEPENDS_${PN} += "libxml2 itstool"
+RDEPENDS_${PN}_append_class-target = " libxml2 itstool"
+
+# ensure our native consumers are forced to inherit itstool
+RDEPENDS_${PN}_append_class-native = " libxml2"
 
 BBCLASSEXTEND = "native"
-- 
2.21.0



More information about the Openembedded-devel mailing list