From: Fabrice Fontaine Date: Sun, 10 May 2020 08:52:17 +0000 (+0200) Subject: package/cegui: add libfribidi optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1556484f0bbf082e8cae8cd00c1cf8afc1eae730;p=buildroot.git package/cegui: add libfribidi optional dependency 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 Tested-by: Bartosz Bilas Reviewed-by: Bartosz Bilas Signed-off-by: Yann E. MORIN --- diff --git a/package/cegui/cegui.mk b/package/cegui/cegui.mk index d578c9913c..23a5859bc8 100644 --- a/package/cegui/cegui.mk +++ b/package/cegui/cegui.mk @@ -72,6 +72,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