aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile_Emotion.am
diff options
context:
space:
mode:
authorThomas Guillem <thomas@gllm.fr>2015-09-21 23:19:17 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-09-21 23:19:20 +0200
commitafe6f5c3a1adbfc3f1b8ab828021accc55b29341 (patch)
treef1b14483f3e1d7cded2389e82fc6e64960b92ee1 /src/Makefile_Emotion.am
parentedje: remove unused variable and simplify function prototype. (diff)
downloadefl-afe6f5c3a1adbfc3f1b8ab828021accc55b29341.tar.gz
emotion: add libvlc module
Summary: Everything is implemented except visualization, mouse events and some EMOTION_EVENT. Video can output RGBA, YUY2, YV12 or I420. About the video sink: this emotion module use libvlc callbacks: libvlc_video_set_format_callbacks and libvlc_video_set_callbacks. It may be temporary. Indeed, an other solution is to add an Evas module inside vlc. But this vlc module would need to link with emotion in order to use _emotion_frame_new and _emotion_frame_resize private functions. I didn't succeed to output a frame without these private functions: see https://github.com/tguillem/vlc/commit/ href="./?id=15daff4d3fdcd3ca7b485c1f8fabb8c1e1c4138c">15daff4d3fdcd3ca7b485c1f8fabb8c1e1c4138c List of /* FIXME */: - Visualization not implemented since there is no API (for now) in libvlc. - Mouse events not implemented since there is no API (for now) in libvlc. - Some EMOTION_EVENT are not handled. - SIGSEGV in evas_gl_common_texture_nv12_update with EVAS_COLORSPACE_YCBCR420NV12601_PL colorspace. Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D3071 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/Makefile_Emotion.am')
-rw-r--r--src/Makefile_Emotion.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/Makefile_Emotion.am b/src/Makefile_Emotion.am
index 6b6efca300..f16a4a4c3d 100644
--- a/src/Makefile_Emotion.am
+++ b/src/Makefile_Emotion.am
@@ -157,6 +157,35 @@ modules_emotion_gstreamer1_module_la_LIBTOOLFLAGS = --tag=disable-static
endif
endif
+# LibVLC
+EMOTION_LIBVLC_SOURCES =\
+modules/emotion/libvlc/emotion_libvlc.c
+
+if EMOTION_STATIC_BUILD_LIBVLC
+lib_emotion_libemotion_la_SOURCES += $(EMOTION_LIBVLC_SOURCES)
+else
+if EMOTION_BUILD_LIBVLC
+emotionmodulelibvlcdir = $(libdir)/emotion/modules/libvlc/$(MODULE_ARCH)
+emotionmodulelibvlc_LTLIBRARIES = modules/emotion/libvlc/module.la
+
+# Workaround for broken parallel install support in automake (relink issue)
+# http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328
+install_emotionmodulelibvlcLTLIBRARIES = install-emotionmodulelibvlcLTLIBRARIES
+$(install_emotionmodulelibvlcLTLIBRARIES): install-libLTLIBRARIES
+
+modules_emotion_libvlc_module_la_SOURCES = $(EMOTION_LIBVLC_SOURCES)
+modules_emotion_libvlc_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \
+@EMOTION_CFLAGS@ \
+@EMOTION_MODULE_LIBVLC_CFLAGS@
+modules_emotion_libvlc_module_la_LIBADD = \
+@USE_EMOTION_LIBS@ \
+@EMOTION_MODULE_LIBVLC_LIBS@
+modules_emotion_libvlc_module_la_DEPENDENCIES = @USE_EMOTION_INTERNAL_LIBS@
+modules_emotion_libvlc_module_la_LDFLAGS = -module @EFL_LTMODULE_FLAGS@
+modules_emotion_libvlc_module_la_LIBTOOLFLAGS = --tag=disable-static
+endif
+endif
+
# Generic
EMOTION_GENERIC_SOURCES = \
modules/emotion/generic/emotion_generic.h \