summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-26 14:31:56 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-26 23:00:06 +0000
commitd61230ac70158dd9a33fcfac4eea768d21ccc61d (patch)
treec394aa3102beb87d65071d80122dddca311314e6
parente6885069e2af833ebacfd33a04147b095af92d20 (diff)
downloadopenembedded-core-d61230ac70158dd9a33fcfac4eea768d21ccc61d.tar.gz
openembedded-core-d61230ac70158dd9a33fcfac4eea768d21ccc61d.tar.bz2
openembedded-core-d61230ac70158dd9a33fcfac4eea768d21ccc61d.zip
harfbuzz: Add PACKAGECONFIG for icu
harfbuzz can be built without icu. We don't need harfbuzz-icu for any default OE-Core configuration so default to icu being disabled for performance improvements. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/harfbuzz/harfbuzz_0.9.22.bb7
1 files changed, 5 insertions, 2 deletions
diff --git a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.22.bb b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.22.bb
index e315f7803d..26f3f388ce 100644
--- a/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.22.bb
+++ b/meta/recipes-graphics/harfbuzz/harfbuzz_0.9.22.bb
@@ -18,11 +18,14 @@ SRC_URI[sha256sum] = "989680807e76197418338e44f226e02f155f33031efd9aff14dbc4dc14
inherit autotools pkgconfig
-DEPENDS = "icu glib-2.0 cairo freetype"
+DEPENDS = "glib-2.0 cairo freetype"
BBCLASSEXTEND = "native"
-EXTRA_OECONF = "--with-glib --with-freetype --with-cairo --with-icu --without-graphite2"
+EXTRA_OECONF = "--with-glib --with-freetype --with-cairo --without-graphite2"
+
+PACKAGECONFIG = ""
+PACKAGECONFIG[icu] = "--with-icu,--without-icu,icu"
PACKAGES =+ "${PN}-icu ${PN}-icu-dbg ${PN}-icu-dev"