$(dali_csharp_binder_tizen_wearable_src_files)
endif
+if RIVE_ANIMATION
+LIBDALI_CSHARP_BINDER_RIVE_LA_SOURCES = \
+ $(dali_csharp_binder_tizen_rive_src_files)
+endif
LIBDALI_CSHARP_BINDER_LA_includes = \
-I../../
endif
-if MOBILE_PROFILE
-LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
- $(DALIRIVEVIEW_CFLAGS)
-LIBDALI_CSHARP_BINDER_LA_LIBADD += $(DALIRIVEVIEW_LIBS)
-endif
-
if WEARABLE_PROFILE
LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
$(DALIWATCHVIEW_CFLAGS)
LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
$(DALIWATCHHOLDERBASE_CFLAGS)
LIBDALI_CSHARP_BINDER_LA_LIBADD += $(DALIWATCHHOLDERBASE_LIBS)
-
-LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
- $(DALIRIVEVIEW_CFLAGS)
-LIBDALI_CSHARP_BINDER_LA_LIBADD += $(DALIRIVEVIEW_LIBS)
endif
-if TV_PROFILE
-LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
- $(DALIRIVEVIEW_CFLAGS)
-LIBDALI_CSHARP_BINDER_LA_LIBADD += $(DALIRIVEVIEW_LIBS)
-endif
-
-if COMMON_PROFILE
+if RIVE_ANIMATION
LIBDALI_CSHARP_BINDER_LA_CXXFLAGS += -DTIZEN_BUILD \
$(DALIRIVEVIEW_CFLAGS)
LIBDALI_CSHARP_BINDER_LA_LIBADD += $(DALIRIVEVIEW_LIBS)
lib_LTLIBRARIES = libdali2-csharp-binder.la
libdali2_csharp_binder_la_SOURCES = $(LIBDALI_CSHARP_BINDER_LA_SOURCES)
+if RIVE_ANIMATION
+libdali2_csharp_binder_la_SOURCES += $(LIBDALI_CSHARP_BINDER_RIVE_LA_SOURCES)
+endif
libdali2_csharp_binder_la_includes = $(LIBDALI_CSHARP_BINDER_LA_INCLUDES)
libdali2_csharp_binder_ladir = $(libdir)
libdali2_csharp_binder_la_LDFLAGS = ${LDFLAGS}
enable_ecore_wayland2=yes,
enable_ecore_wayland2=no)
+AC_ARG_ENABLE([rive-animation-view],
+ [AC_HELP_STRING([--enable-rive-animation-view],
+ [enables the rive animation view])],
+ [enable_rive_animation_view=yes],
+ [enable_rive_animation_view=no])
+
+
DALI_CSHARP_BINDER_CFLAGS="$DALI_CSHARP_BINDER_CFLAGS -DDALI_PROFILE_${enable_profile}"
DALI_PROFILE_CFLAGS=" -DDALI_PROFILE_${enable_profile}"
AM_CONDITIONAL([COMMON_PROFILE], [test x$enable_profile = xCOMMON])
AM_CONDITIONAL([WAYLAND], [test x$enable_wayland = xyes])
AM_CONDITIONAL([ECORE_WAYLAND2], [test x$enable_ecore_wayland2 = xyes])
AM_CONDITIONAL([ENABLE_RENAME_SO], [test x$enable_rename_so = xyes])
-
+AM_CONDITIONAL([RIVE_ANIMATION], [test x$enable_rive_animation_view = xyes])
### AM_CONDITIONAL([TIZENBUILD], [test x$enable_tizenBuild = xyes])
### AM_CONDITIONAL([ECOREWL2], [test x$enable_ecoreWl2 = xyes])
if test "x$enable_profile" = "xMOBILE" -o "x$enable_profile" = "xWEARABLE" -o "x$enable_profile" = "xTV" -o "x$enable_profile" = "xIVI" -o "x$enable_profile" = "xCOMMON"; then
PKG_CHECK_MODULES(DALIWIDGET, widget_viewer_dali)
- PKG_CHECK_MODULES(DALIRIVEVIEW, dali2-extension-rive-animation-view)
+ if test "x$enable_rive_animation_view" = "xyes"; then
+ PKG_CHECK_MODULES(DALIRIVEVIEW, dali2-extension-rive-animation-view)
+ fi
+
if test x$enable_ecore_wayland2 = xyes; then
PKG_CHECK_MODULES(ECORE_WL2, ecore-wl2)
else
${dali_csharp_binder_dir}/src/transition-effects-wrap.cpp \
${dali_csharp_binder_dir}/src/atspi-wrap.cpp \
${dali_csharp_binder_dir}/src/component-application-wrap.cpp \
- ${dali_csharp_binder_dir}/src/tizen-dependency-wrap.cpp \
+ ${dali_csharp_binder_dir}/src/tizen-dependency-wrap.cpp
+
+# added for rive animation view for tizen
+# module: csharp-binder, backend: mobile,tv,ivi
+dali_csharp_binder_tizen_rive_src_files = \
${dali_csharp_binder_dir}/src/rive-animation-view-wrap.cpp
# module: csharp-binder, backend: tizen-wearable
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.
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.
%if 0%{?enable_debug}
--enable-debug \
%endif
+%if 0%{?rive_animation_view}
+ --enable-rive-animation-view \
+%endif
$configure_flags --libdir=%{_libdir}
# Build.