[enable_debug=$enableval],
[enable_debug=no])
-AC_ARG_ENABLE([web-engine-plugin],
- [AC_HELP_STRING([--enable-web-engine-plugin],
- [Turns on web engine plugin build])],
- [enable_web_engine_plugin=$enableval],
- [enable_web_engine_plugin=no])
-
PKG_CHECK_MODULES([DALI], [dali2-core dali2-adaptor dali2-toolkit])
AC_CONFIG_SUBDIRS(key)
if test "x$with_tizen_55_or_greater" = "xyes"; then
AC_CONFIG_SUBDIRS(vector-animation-renderer)
-if test "x$enable_web_engine_plugin" = "xyes"; then
AC_CONFIG_SUBDIRS(web-engine-chromium)
AC_CONFIG_SUBDIRS(web-engine-lwe)
fi
-fi
if test "x$with_tizen_65_or_greater" = "xyes"; then
AC_CONFIG_SUBDIRS(camera-player)
%define tizen_65_or_greater 1
%endif
-%if %{undefined NO_WEB_FRAMEWORK}
-%define enable_web_engine_plugin 1
-%endif
-
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
%package web-engine-chromium-plugin
Summary: Plugin to support WebView for Dali
Group: System/Libraries
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(chromium-efl)
BuildRequires: pkgconfig(elementary)
%package web-engine-lwe-plugin
Summary: Plugin to support WebView for Dali
Group: System/Libraries
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
BuildRequires: pkgconfig(libtbm)
BuildRequires: pkgconfig(lightweight-web-engine)
%endif
%if 0%{?tizen_65_or_greater}
--with-tizen-65-or-greater \
%endif
-%if 0%{?enable_web_engine_plugin} == 1
- --enable-web-engine-plugin \
-%endif
--enable-ecore-wl2 \
--enable-keyextension
%if 0%{?use_image_loader}
/sbin/ldconfig
exit 0
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%post web-engine-chromium-plugin
pushd %{_libdir}
ln -sf libdali2-web-engine-chromium-plugin.so libdali2-web-engine-plugin.so
/sbin/ldconfig
exit 0
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%post web-engine-lwe-plugin
/sbin/ldconfig
exit 0
/sbin/ldconfig
exit 0
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%postun web-engine-chromium-plugin
/sbin/ldconfig
exit 0
/sbin/ldconfig
exit 0
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%postun web-engine-lwe-plugin
/sbin/ldconfig
exit 0
%license LICENSE
%endif
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%files web-engine-chromium-plugin
%manifest dali-extension.manifest
%defattr(-,root,root,-)
%{_libdir}/libdali2-color-controller-plugin.so*
%license LICENSE
-%if 0%{?tizen_55_or_greater} && 0%{?enable_web_engine_plugin} == 1
+%if 0%{?tizen_55_or_greater}
%files web-engine-lwe-plugin
%manifest dali-extension.manifest
%defattr(-,root,root,-)