X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fdali-adaptor.spec;h=5ae6d05dd6a703e422b265f4a990a54fc4474e87;hb=63e2ec56cd4076c8017526b3066a42201751dd0a;hp=0caae0e338ece1e4043c5e1caa2aac2268430024;hpb=e5723c58cd6458d98805419964a97d242bb902df;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index 0caae0e..5ae6d05 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -19,7 +19,7 @@ Name: dali-adaptor Summary: The DALi Tizen Adaptor -Version: 1.3.23 +Version: 1.3.54 Release: 1 Group: System/Libraries License: Apache-2.0 and BSD-3-Clause and MIT @@ -96,7 +96,12 @@ BuildRequires: wayland-devel BuildRequires: wayland-extension-client-devel # dali-adaptor uses ecore mainloop +%if 0%{?tizen_version_major} >= 5 +BuildRequires: pkgconfig(ecore-wl2) +BuildRequires: pkgconfig(wayland-egl-tizen) +%else BuildRequires: pkgconfig(ecore-wayland) +%endif # dali-adaptor needs tbm_surface in tizen 3.0 wayland BuildRequires: pkgconfig(libtbm) @@ -426,6 +431,18 @@ CXXFLAGS+=" -D_ARCH_ARM_ -lgcc" CFLAGS+=" -DWAYLAND" CXXFLAGS+=" -DWAYLAND" configure_flags="--enable-wayland" + +# Need Ecore-Wayland2 when Tizen version is 5.x or greater +%if 0%{?tizen_version_major} >= 5 +CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT" +CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT" +configure_flags+=" --enable-ecore-wayland2" +%endif +%endif + +# Use this conditional when Tizen version is 5.x or greater +%if 0%{?tizen_version_major} >= 5 +CXXFLAGS+=" -DOVER_TIZEN_VERSION_5" %endif # Use this conditional when Tizen version is 4.x or greater @@ -1166,7 +1183,6 @@ exit 0 %files %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%defattr(-,app,app,-) %dir %{user_shader_cache_dir} %{_bindir}/* %license LICENSE @@ -1187,7 +1203,6 @@ exit 0 %files cxx03 %manifest dali-adaptor.manifest %defattr(-,root,root,-) -%defattr(-,app,app,-) %dir %{user_shader_cache_dir} %{_bindir}/* %license LICENSE