Name: dali-adaptor
Summary: The DALi Tizen Adaptor
-Version: 1.2.42
+Version: 1.2.43
Release: 1
Group: System/Libraries
License: Apache-2.0 and BSD-3-Clause and MIT
%endif
# Default to GLES 2.0 if not specified.
-%define target_gles_version 20
+%{!?target_gles_version: %define target_gles_version 20}
#--enable-efl=no \ # only affects dali-adaptor-uv
#--enable-appfw=yes \ # affects both dali-adaptor & dali-adaptor-uv
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if mobile || "undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
-
%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
--enable-shaderbincache=DISABLE --enable-profile=MOBILE \
--enable-feedback \
for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.mobile"; done
popd
-make clean
-
%endif
#######################################################################
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if tv ||"undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "common" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
-
%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
--enable-shaderbincache=DISABLE --enable-profile=TV \
--enable-feedback \
for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.tv"; done
popd
-make clean
%endif
#######################################################################
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if wearable || "undefined"
%if "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "common"
-
%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
--enable-shaderbincache=DISABLE --enable-profile=WEARABLE \
--enable-feedback \
for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.wearable"; done
popd
-make clean
%endif
#######################################################################
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if ivi ||"undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "common" && "%{?profile}" != "mobile"
-
%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
--enable-shaderbincache=DISABLE --enable-profile=IVI \
--enable-feedback \
for FILE in libdali-adap*.so*; do mv "$FILE" "%{_builddir}/%{name}-%{version}/build/tizen/$FILE.ivi"; done
popd
-make clean
%endif
#######################################################################
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if common ||"undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi" && "%{?profile}" != "mobile"
-
%configure --prefix=$PREFIX --with-jpeg-turbo --enable-gles=%{target_gles_version} \
--enable-shaderbincache=DISABLE --enable-profile=COMMON \
--enable-feedback \
# Build.
make %{?jobs:-j%jobs}
-
%endif