Evas: Add lua support for evas

Since Lua is already a dependency for Edje, I believe it is safe
to add it as a dependency for Evas as well.

This will be used to replace the (bad) scripting language used for
the Evas filters (text effects).
This commit is contained in:
Jean-Philippe Andre 2014-04-10 17:49:53 +09:00 committed by Jean-Philippe ANDRE
parent f10d8c42bb
commit 72b959239d
1 changed files with 10 additions and 0 deletions

View File

@ -1439,6 +1439,14 @@ if test "${have_wince}" = "yes"; then
want_evas_image_loader_webp="no"
fi
if test "${want_lua_old}" = "yes"; then
EFL_CHECK_LUA_OLD([EVAS])
else
EFL_DEPEND_PKG([EVAS], [LUAJIT], [luajit >= 2.0.0])
fi
EFL_ADD_FEATURE([EVAS], [lua-old])
EFL_CHECK_FUNC([EVAS], [dlsym])
if test "x${efl_func_dlsym}" = "xno" && test "${with_opengl}" != "none"; then
@ -3826,8 +3834,10 @@ EFL_ADD_FEATURE([EDJE], [lua-old])
if test "${want_lua_old}" = "yes"; then
EFL_CHECK_LUA_OLD([EDJE])
EFL_CHECK_LUA_OLD([EVAS])
else
EFL_DEPEND_PKG([EDJE], [LUAJIT], [luajit >= 2.0.0])
EFL_DEPEND_PKG([EVAS], [LUAJIT], [luajit >= 2.0.0])
fi
EFL_ADD_LIBS([EDJE], [-lm])