Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.5.17
+Version: 1.5.19
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
BuildRequires: wayland-devel
BuildRequires: wayland-extension-client-devel
-# dali-adaptor uses ecore mainloop
+# 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)
BuildRequires: pkgconfig(wayland-egl-tizen)
#Use TZ_PATH when tizen version is 3.x or greater
-%define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali/
-%define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali/
+%define dali_data_rw_dir %TZ_SYS_RO_SHARE/dali-legacy/
+%define dali_data_ro_dir %TZ_SYS_RO_SHARE/dali-legacy/
%define font_preloaded_path %TZ_SYS_RO_SHARE/fonts/
%define font_downloaded_path %TZ_SYS_SHARE/fonts/
%define font_application_path %TZ_SYS_RO_SHARE/app_fonts/