[OE-core] [PATCH] libcroco: allow native builds

Ross Burton ross.burton at intel.com
Thu May 16 17:05:43 UTC 2013


Use BBCLASSEXTEND to get native builds, and inherit gnomebase instead of gnome.
libcroco uses the class just for the SRC_URI helpers, and the full class was
pulling in many unrequired dependencies including hicolor-icon-theme-native,
which doesn't exist.

Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/libcroco/libcroco_0.6.8.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/libcroco/libcroco_0.6.8.bb b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
index 5c3fd5c..3c5dc9a 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.8.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
@@ -9,9 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605 \
 
 SECTION = "x11/utils"
 DEPENDS = "glib-2.0 libxml2 zlib"
+BBCLASSEXTEND = "native"
+
 PR = "r1"
 
-inherit autotools pkgconfig gnome
+inherit autotools pkgconfig gnomebase
 
 GNOME_COMPRESS_TYPE = "xz"
 
-- 
1.7.10.4





More information about the Openembedded-core mailing list