Name: dali2-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.9.10
+Version: 1.9.19
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
BuildRequires: wayland-devel
BuildRequires: wayland-extension-client-devel
+# WebP support only from Tizen 6 onwards
+%if 0%{?tizen_version_major} >= 6
+BuildRequires: pkgconfig(libwebp)
+BuildRequires: pkgconfig(libwebpdecoder)
+BuildRequires: pkgconfig(libwebpdemux)
+BuildRequires: pkgconfig(libwebpmux)
+%endif
+
# We use ecore mainloop
%if 0%{?tizen_version_major} >= 5
BuildRequires: pkgconfig(ecore-wl2)
# for feedback plugin
BuildRequires: pkgconfig(mm-sound)
BuildRequires: pkgconfig(feedback)
+BuildRequires: pkgconfig(component-based-core-base)
# for multiprofile
Requires: %{name}-compat = %{version}-%{release}
cmake_flags+=" -DENABLE_TRACE=ON"
%endif
-%if 0%{?enable_appfw}
-cmake_flags+=" -DUSE_APPFW"
-%endif
-
libtoolize --force
cd %{_builddir}/%{name}-%{version}/build/tizen
cmake_flags+=" -DENABLE_TIZEN_MAJOR_VERSION=%{tizen_version_major}"
cmake_flags+=" -DENABLE_FEEDBACK=YES"
cmake_flags+=" -DENABLE_APPFW=YES"
+cmake_flags+=" -DCOMPONENT_APPLICATION_SUPPORT=YES"
# Set up the build via Cmake
#######################################################################