$(DEVICED_CFLAGS) \
$(EFL_ASSIST_CFLAGS) \
$(NATIVE_BUFFER_CFLAGS) \
- $(NATIVE_BUFFER_POOL_CFLAGS) \
- -DFREETYPE_BITMAP_SUPPORT
+ $(NATIVE_BUFFER_POOL_CFLAGS)
libdali_adaptor_la_LIBADD += \
$(EFL_ASSIST_LIBS) \
if WEARABLE_PROFILE
libdali_adaptor_la_CXXFLAGS += \
$(HAPTIC_CFLAGS) \
- $(EFL_ASSIST_CFLAGS) \
- -DFREETYPE_BITMAP_SUPPORT
+ $(EFL_ASSIST_CFLAGS)
endif
if TV_PROFILE
-libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS) \
- -DFREETYPE_BITMAP_SUPPORT
+libdali_adaptor_la_CXXFLAGS += $(HAPTIC_CFLAGS)
libdali_adaptor_la_LIBADD +=
endif
libdali_adaptor_la_LIBADD += -ljpeg
endif
-if UBUNTU_PROFILE
-libdali_adaptor_la_CXXFLAGS += -DFREETYPE_BITMAP_SUPPORT
-endif
-
tizenadaptorpublicapidir = $(devincludepath)/dali/public-api
tizenadaptorpublicapi_HEADERS = $(public_api_header_files)
AC_SUBST(DALI_ADAPTOR_VERSION)
FREETYPE_REQUIRED=9.16.3
+# 17.1.11 = Freetype version 2.5.2
+FREETYPE_BITMAP_SUPPORT_VERSION=17.1.11
PKG_CHECK_MODULES(DALICORE, dali-core)
PKG_CHECK_MODULES(ELEMENTARY, elementary)
PKG_CHECK_MODULES(ECORE_IPC, ecore-ipc)
PKG_CHECK_MODULES(EXIF, libexif)
PKG_CHECK_MODULES(FREETYPE, [freetype2 >= $FREETYPE_REQUIRED])
+PKG_CHECK_MODULES(FREETYPE_BITMAP_SUPPORT, [freetype2 >= $FREETYPE_BITMAP_SUPPORT_VERSION], [ freetype_bitmap_support=yes ], [ freetype_bitmap_support=no ] )
PKG_CHECK_MODULES(FONTCONFIG, fontconfig)
PKG_CHECK_MODULES(PNG, libpng)
PKG_CHECK_MODULES(XML, libxml-2.0)
[ AC_MSG_NOTICE([Tizen Trace not avaiable]) ]
)
+
# Check for availability of BulletPhysics
PKG_CHECK_EXISTS(bullet, [
BULLET_CFLAGS=`pkg-config --cflags bullet`
])
fi
+if test "x$freetype_bitmap_support" = "xyes"; then
+DALI_ADAPTOR_CFLAGS="$DALI_ADAPTOR_CFLAGS -DFREETYPE_BITMAP_SUPPORT"
+fi
+
AC_OUTPUT
Compile flags $DALI_ADAPTOR_CFLAGS
Using Assimp Library: $enable_assimp
Using JPEG Turbo Library: $with_jpeg_turbo
+ Freetype bitmap support (Emoji): $freetype_bitmap_support
Profile: $enable_profile
Data Dir (Read/Write): $dataReadWriteDir
Data Dir (Read Only): $dataReadOnlyDir