Name: dali2-adaptor
Summary: The DALi Tizen Adaptor
-Version: 2.0.40
+Version: 2.1.6
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
cmake_flags+=" -DENABLE_ECORE_WAYLAND2=ON"
%endif
+# Use this conditional when Tizen version is 7.x or greater
+%if 0%{?tizen_version_major} >= 7
+CXXFLAGS+=" -DOVER_TIZEN_VERSION_7"
+%endif
+
%if 0%{?enable_debug}
cmake_flags+=" -DCMAKE_BUILD_TYPE=Debug"
%endif
cmake_flags+=" -DENABLE_TRACE=ON"
%endif
+%if 0%{?enable_logging}
+cmake_flags+=" -DENABLE_NETWORK_LOGGING=ON"
+%endif
+
libtoolize --force
cd %{_builddir}/%{name}-%{version}/build/tizen