Name: dali
Summary: The OpenGLES Canvas Core Library
-Version: 1.1.15
+Version: 1.1.39
Release: 1
Group: System/Libraries
-License: Apache-2.0, BSD-2.0, MIT
+License: Apache-2.0 and BSD-2-Clause and MIT
URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-core.git;a=summary
Source0: %{name}-%{version}.tar.gz
export DALI_DATA_RW_DIR
export DALI_DATA_RO_DIR
+# Default to GLES 2.0 if not specified.
+%{!?target_gles_version: %define target_gles_version 20}
+
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS;
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS;
LDFLAGS="${LDFLAGS:-%optflags}" ; export LDFLAGS;
--localstatedir=%{_localstatedir} \
--sharedstatedir=%{_sharedstatedir} \
--mandir=%{_mandir} \
+ --enable-gles=%{target_gles_version} \
+%if 0%{?enable_debug}
+ --enable-debug \
+%endif
--infodir=%{_infodir}
-make %{?jobs:-j%jobs}
+#make %{?jobs:-j%jobs}
+make
##############################
# Installation