diff mbox series

[2/2] package/cegui: add libfribidi optional dependency

Message ID 20200510085217.3626176-2-fontaine.fabrice@gmail.com
State New
Headers show
Series [1/2] package/cegui: remove tinyxml2 dependency | expand

Commit Message

Fabrice Fontaine May 10, 2020, 8:52 a.m. UTC
libfribidi is an optional dependency (enabled by default) since version
0.8.0 and
https://github.com/cegui/cegui/commit/17974582e6b6a7d8f5853b0272433f130f82e52a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/cegui/cegui.mk | 7 +++++++
 1 file changed, 7 insertions(+)
diff mbox series

Patch

diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk
index 6158ef129c..73d0c22ce5 100644
--- a/package/cegui/cegui.mk
+++ b/package/cegui/cegui.mk
@@ -62,6 +62,13 @@  else
 CEGUI_CONF_OPTS += -DCEGUI_HAS_FREETYPE=OFF
 endif
 
+ifeq ($(BR2_PACKAGE_LIBFRIBIDI),y)
+CEGUI_DEPENDENCIES += libfribidi
+CEGUI_CONF_OPTS += -DCEGUI_USE_FRIBIDI=ON
+else
+CEGUI_CONF_OPTS += -DCEGUI_USE_FRIBIDI=OFF
+endif
+
 ifeq ($(BR2_PACKAGE_LIBXML2),y)
 CEGUI_DEPENDENCIES += libxml2
 CEGUI_CONF_OPTS += -DCEGUI_BUILD_XMLPARSER_LIBXML2=ON