Patchwork libcroco: allow native builds

login
register
mail settings
Submitter Ross Burton
Date May 16, 2013, 5:05 p.m.
Message ID <1368723943-10440-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/50001/
State Accepted
Commit f2c438ddfeb17bbff384e612bb247f3652d85a74
Headers show

Comments

Ross Burton - May 16, 2013, 5:05 p.m.
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@intel.com>
---
 meta/recipes-support/libcroco/libcroco_0.6.8.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

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"