Name: dali2-csharp-binder
Summary: The DALI Csharp Binder
-Version: 2.0.24
+Version: 2.0.45
Release: 1
Group: uifw/graphic
License: Apache-2.0 and BSD-3-Clause and MIT
BuildRequires: pkgconfig(dali2-core)
BuildRequires: pkgconfig(dali2-adaptor)
BuildRequires: pkgconfig(dali2-toolkit)
+%if "%{_vd_cfg_product_type}" != "AUDIO" && "%{_vd_cfg_product_type}" !="AV"
+%define rive_animation_view 1
+BuildRequires: pkgconfig(dali2-extension-rive-animation-view)
+%endif
+
+
BuildRequires: pkgconfig(widget_viewer_dali)
BuildRequires: pkgconfig(watch_viewer_dali)
BuildRequires: pkgconfig(watch-holder-base)
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
mv pkgconfig/dali2-csharp-binder*pc %{_builddir}/%{name}-%{version}/build/tizen/
popd
+%if "%{?profile}" != "mobile"
make clean
%endif
+%endif
+
#######################################################################
# If the profile is selected, the line below is repquired.
# if tv ||"undefined"
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
mv pkgconfig/dali2-csharp-binder*pc %{_builddir}/%{name}-%{version}/build/tizen/
popd
+%if "%{?profile}" != "tv"
make clean
%endif
+%endif
+
#######################################################################
# If the profile is selected, the line below is repquired.
# if wearable || "undefined"
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
mv pkgconfig/dali2-csharp-binder*pc %{_builddir}/%{name}-%{version}/build/tizen/
popd
+%if "%{?profile}" != "wearable"
make clean
%endif
+%endif
+
#######################################################################
# If the profile is selected, the line below is repquired.
# if ivi ||"undefined"
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
mv pkgconfig/dali2-csharp-binder*pc %{_builddir}/%{name}-%{version}/build/tizen/
popd
+%if "%{?profile}" != "ivi"
make clean
%endif
+%endif
+
#######################################################################
# common
# If the profile is selected, the line below is repquired.
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
mv pkgconfig/dali2-csharp-binder*pc %{_builddir}/%{name}-%{version}/build/tizen/
popd
+%if "%{?profile}" != "common"
make clean
%endif
+%endif
+
##############################
# Installation
##############################