Patchwork [meta-oe,11/29] libass: add PACKAGECONFIG for harfbuzz

login
register
mail settings
Submitter Martin Jansa
Date July 24, 2013, 12:40 p.m.
Message ID <d28fa8283d316aa4672b8a43c9860ab1ec74c519.1374669516.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/54379/
State Accepted, archived
Commit e1f3f99c4172c0bf98945c01e6d93ca0f6d54c62
Headers show

Comments

Martin Jansa - July 24, 2013, 12:40 p.m.
* it's autodetected from sysroot
* add PACKAGECONFIG to make it deterministic
* runtime dependencies for glib-2.0 harfbuzz libffi libicudata libicule libicuuc libstdc++ are added
  only when harfbuzz is detected

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/libass/libass.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/meta-oe/recipes-multimedia/libass/libass.inc b/meta-oe/recipes-multimedia/libass/libass.inc
index 4dd5181..a0dc564 100644
--- a/meta-oe/recipes-multimedia/libass/libass.inc
+++ b/meta-oe/recipes-multimedia/libass/libass.inc
@@ -13,6 +13,9 @@  SRC_URI = "http://${PN}.googlecode.com/files/${P}.tar.gz"
 
 inherit autotools pkgconfig
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[harfbuzz] = "--enable-harfbuzz,--disable-harfbuzz,harfbuzz"
+
 EXTRA_OECONF = " \
     --enable-enca \
     --enable-fontconfig \