projects
/
platform
/
core
/
uifw
/
dali-adaptor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Support Ecore-Wayland2
[platform/core/uifw/dali-adaptor.git]
/
packaging
/
dali-adaptor.spec
diff --git
a/packaging/dali-adaptor.spec
b/packaging/dali-adaptor.spec
old mode 100755
(executable)
new mode 100644
(file)
index
604de53
..
c48eabd
--- a/
packaging/dali-adaptor.spec
+++ b/
packaging/dali-adaptor.spec
@@
-15,12
+15,11
@@
%global __provides_exclude_from ^.*\\.(wearable|mobile|tv|ivi|common)$
%endif
%global __provides_exclude_from ^.*\\.(wearable|mobile|tv|ivi|common)$
%endif
-%bcond_without wayland
-%bcond_with x
+%bcond_with wayland
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.3.2
1
+Version: 1.3.2
3
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
@@
-455,18
+454,26
@@
CXXFLAGS+=" -D_ARCH_ARM_ -lgcc"
%if %{with wayland}
CFLAGS+=" -DWAYLAND"
CXXFLAGS+=" -DWAYLAND"
%if %{with wayland}
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
%if 0%{?tizen_version_major} >= 5
-CFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
-CXXFLAGS+=" -DECORE_WL2 -DEFL_BETA_API_SUPPORT"
+CFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
+CXXFLAGS+=" -DECORE_WAYLAND2 -DEFL_BETA_API_SUPPORT"
+configure_flags+=" --enable-ecore-wayland2"
%endif
%endif
-configure_flags="--enable-wayland"
%endif
%endif
-# Use this conditional when Tizen version is
4
.x or greater
+# Use this conditional when Tizen version is
5
.x or greater
%if 0%{?tizen_version_major} >= 5
CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
%endif
%if 0%{?tizen_version_major} >= 5
CXXFLAGS+=" -DOVER_TIZEN_VERSION_5"
%endif
+# Use this conditional when Tizen version is 4.x or greater
+%if 0%{?tizen_version_major} >= 4
+CXXFLAGS+=" -DOVER_TIZEN_VERSION_4"
+%endif
+
%if 0%{?tizen_2_2_compatibility}
CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
%if 0%{?tizen_2_2_compatibility}
CFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"
CXXFLAGS+=" -DTIZEN_SDK_2_2_COMPATIBILITY"