Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.0.25
+Version: 1.0.29
Release: 1
Group: System/Libraries
License: Apache-2.0
%define dali_profile WEARABLE
%define dali_wearable_profile 1
+%define dali_feedback_plugin 0
+%define dali_assimp_plugin 0
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(gles20)
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
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=20 --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_assimp_plugin}
+ --enable-assimp \
+%endif
+ --libdir=%{_libdir}
make %{?jobs:-j%jobs}