package/cegui: add libfribidi optional dependency
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 10 May 2020 08:52:17 +0000 (10:52 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Fri, 7 May 2021 20:11:03 +0000 (22:11 +0200)
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>
Tested-by: Bartosz Bilas<b.bilas@grinn-global.com>
Reviewed-by: Bartosz Bilas<b.bilas@grinn-global.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/cegui/cegui.mk

index d578c9913c3858e995047891bbd45414e8131392..23a5859bc8a150025c59d16bb976d7a1045fdd07 100644 (file)
@@ -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