Name: dali2-adaptor
Summary: The DALi Tizen Adaptor
-Version: 2.0.50
+Version: 2.1.17
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
BuildRequires: pkgconfig(capi-appfw-watch-application)
BuildRequires: pkgconfig(appcore-watch)
-BuildRequires: pkgconfig(screen_connector_provider)
%endif
+BuildRequires: pkgconfig(screen_connector_provider)
BuildRequires: pkgconfig(gles20)
BuildRequires: pkgconfig(glesv2)
BuildRequires: pkgconfig(ttrace)
CFLAGS+=" -DWAYLAND"
CXXFLAGS+=" -DWAYLAND"
-cmake_flags=" -DENABLE_WAYLAND=ON -DENABLE_ATSPI=ON"
+cmake_flags=" -DENABLE_WAYLAND=ON -DENABLE_ATSPI=ON -DENABLE_TRACE=ON"
# Use this conditional when Tizen version is 5.x or greater
%if 0%{?tizen_version_major} >= 5
cmake_flags+=" -DENABLE_ECORE_WAYLAND2=ON"
%endif
-%if 0%{?enable_debug}
-cmake_flags+=" -DCMAKE_BUILD_TYPE=Debug"
+# 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_trace}
-cmake_flags+=" -DENABLE_TRACE=ON"
+%if 0%{?enable_debug}
+cmake_flags+=" -DCMAKE_BUILD_TYPE=Debug"
%endif
%if 0%{?enable_logging}