echo " Gstreamer..........: ${enable_gstreamer}"
echo " Generic............: ${enable_generic}"
-if test "x${enable_generic}" = "xyes"; then
+if test "x${enable_generic}" = "xyes" || test "x${enable_generic}" = "xstatic"; then
echo
echo " Generic Players:"
echo " VLC................: ${enable_generic_vlc}"
],
[enable_module="auto"])
-if test "x${enable_generic}" != "xyes"; then
+if test "x${enable_generic}" != "xyes" && test "x${enable_generic}" != "xstatic"; then
if test "x${enable_module}" = "xyes"; then
AC_MSG_WARN([Generic module is disabled, force disable of Generic Player $1])
fi
AM_CPPFLAGS += @GSTREAMER_CFLAGS@
endif
-#if EMOTION_STATIC_BUILD_VLC
-#AM_CPPFLAGS += @VLC_CFLAGS@
-#endif
-
lib_LTLIBRARIES = libemotion.la
includes_HEADERS = Emotion.h
includesdir = $(includedir)/emotion-@VMAJ@
$(top_srcdir)/src/modules/gstreamer/emotion_sink.c
endif
-#if EMOTION_STATIC_BUILD_VLC
-#libemotion_la_SOURCES += \
-#$(top_srcdir)/src/modules/vlc/emotion_vlc.c
-#endif
+if EMOTION_STATIC_BUILD_GENERIC
+libemotion_la_SOURCES += \
+$(top_srcdir)/src/modules/generic/emotion_generic.c
+endif
libemotion_la_LIBADD = @EMOTION_LIBS@ @EIO_LIBS@ @EEZE_LIBS@
libemotion_la_LIBADD += @GSTREAMER_LIBS@
endif
-#if EMOTION_STATIC_BUILD_VLC
-#libemotion_la_LIBADD += @VLC_LIBS@
-#endif
-
libemotion_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@
EXTRA_DIST = emotion_private.h
static const char *_backend_priority[] = {
"gstreamer",
"xine",
- "vlc",
"generic"
};
#ifdef EMOTION_STATIC_BUILD_GSTREAMER
Eina_Bool gstreamer_module_init(void);
#endif
+#ifdef EMOTION_STATIC_BUILD_GENERIC
+Eina_Bool generic_module_init(void);
+#endif
static void
_smart_init(void)
#ifdef EMOTION_STATIC_BUILD_GSTREAMER
gstreamer_module_init();
#endif
+#ifdef EMOTION_STATIC_BUILD_GENERIC
+ generic_module_init();
+#endif
static Evas_Smart_Class sc =
EVAS_SMART_CLASS_INIT_NAME_VERSION(E_OBJ_NAME);