Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.23
+Version: 1.0.29
Release: 1
Group: System/Libraries
License: Apache-2.0
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(opengl-es-20)
BuildRequires: pkgconfig(efl-assist)
+BuildRequires: libcurl-devel
+
+%if 0%{?dali_assimp_plugin}
BuildRequires: pkgconfig(assimp)
+%endif
%description
The DALi Tizen Adaptor provides a Tizen specific implementation of the dali-core
%package dali-feedback-plugin
Summary: Plugin to play haptic and audio feedback for Dali
Group: System/Libraries
+%if 0%{?dali_feedback_plugin}
Requires: libdeviced
BuildRequires: pkgconfig(mm-sound)
BuildRequires: pkgconfig(deviced)
BuildRequires: libfeedback-devel
+%endif
%description dali-feedback-plugin
Feedback plugin to play haptic and audio feedback for Dali
%package dali-bullet-plugin
Summary: Plugin to provide physics
Group: System/Libraries
+%if 0%{?dali_bullet_plugin}
BuildRequires: libbullet-devel
+%endif
%description dali-bullet-plugin
Dynamics plugin to wrap the libBulletDynamics libraries
CXXFLAGS+=" -Wall -g -Os -fPIC -fvisibility-inlines-hidden -fdata-sections -ffunction-sections "
LDFLAGS+=" -Wl,--rpath=%{_libdir} -Wl,--as-needed -Wl,--gc-sections "
-%if 0%{?sec_build_binary_debug_enable}
-export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
-export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
-export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
-%endif
-
%ifarch %{arm}
CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
%endif
FONT_APPLICATION_PATH="%{font_application_path}" ; export FONT_APPLICATION_PATH
FONT_CONFIGURATION_FILE="%{font_configuration_file}" ; export FONT_CONFIGURATION_FILE
-%configure --with-jpeg-turbo --enable-gles=30 --enable-profile=%{dali_profile} --libdir=%{_libdir}
+%configure --with-jpeg-turbo --enable-gles=20 --enable-profile=%{dali_profile} \
+%if 0%{?dali_feedback_plugin}
+ --enable-feedback \
+%endif
+%if 0%{?dali_bullet_plugin}
+ --enable-bullet \
+%endif
+%if 0%{?dali_assimp_plugin}
+ --enable-assimp \
+%endif
+ --libdir=%{_libdir}
make %{?jobs:-j%jobs}