forked from enlightenment/efl
parent
1144c93c93
commit
2926465e70
|
@ -92,18 +92,12 @@ CPPFLAGS="$CPPFLAGS $ECORE_CFLAGS"
|
||||||
AC_CHECK_HEADERS(Ecore_X.h Ecore_Fb.h)
|
AC_CHECK_HEADERS(Ecore_X.h Ecore_Fb.h)
|
||||||
CPPFLAGS=$save_CPPFLAGS
|
CPPFLAGS=$save_CPPFLAGS
|
||||||
|
|
||||||
requirements="eet evas edje ecore ecore-evas embryo"
|
|
||||||
|
|
||||||
AC_ARG_ENABLE(xine,
|
AC_ARG_ENABLE(xine,
|
||||||
AC_HELP_STRING([--disable-xine],[disable xine support @<:@default=auto@:>@]),
|
AC_HELP_STRING([--disable-xine],[disable xine support @<:@default=auto@:>@]),
|
||||||
[enable_xine=$enableval],[enable_xine=auto])
|
[enable_xine=$enableval],[enable_xine=auto])
|
||||||
HAVE_XINE="no"
|
HAVE_XINE="no"
|
||||||
if test "$enable_xine" != "no" ; then
|
if test "$enable_xine" != "no" ; then
|
||||||
PKG_CHECK_MODULES(XINE, [libxine >= 1.1.1], [HAVE_XINE="yes"])
|
PKG_CHECK_MODULES(XINE, [libxine >= 1.1.1], [HAVE_XINE="yes"])
|
||||||
|
|
||||||
if test "$HAVE_XINE" = "yes" ; then
|
|
||||||
requirements="$requirements libxine"
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
if test "$enable_xine$HAVE_XINE" = "yesno" ; then
|
if test "$enable_xine$HAVE_XINE" = "yesno" ; then
|
||||||
AC_MSG_RESULT(xine not found)
|
AC_MSG_RESULT(xine not found)
|
||||||
|
@ -159,17 +153,14 @@ else
|
||||||
AC_MSG_WARN([You should install gstreamer plugins and gst-ffmpeg to properly decode your video and audio files])
|
AC_MSG_WARN([You should install gstreamer plugins and gst-ffmpeg to properly decode your video and audio files])
|
||||||
GSTPLUG_MSG="no (you should install gst-plugins-base and gst-ffmpeg)"
|
GSTPLUG_MSG="no (you should install gst-plugins-base and gst-ffmpeg)"
|
||||||
fi
|
fi
|
||||||
requirements="$requirements gstreamer"
|
|
||||||
GSTPLUG_MSG="yes"
|
GSTPLUG_MSG="yes"
|
||||||
else
|
else
|
||||||
requirements="$requirements gstreamer"
|
|
||||||
GSTPLUG_MSG="yes"
|
GSTPLUG_MSG="yes"
|
||||||
fi
|
fi
|
||||||
if test "$HAVE_GSTCDIOCDDASRC" = "no"; then
|
if test "$HAVE_GSTCDIOCDDASRC" = "no"; then
|
||||||
AC_MSG_WARN([You should install gstreamer-plugins-good and make sure that the cdiocddasrc element is installed])
|
AC_MSG_WARN([You should install gstreamer-plugins-good and make sure that the cdiocddasrc element is installed])
|
||||||
GSTCDDA_MSG="no (you should install gst-plugins-good and the cdiocddasrc element)"
|
GSTCDDA_MSG="no (you should install gst-plugins-good and the cdiocddasrc element)"
|
||||||
else
|
else
|
||||||
requirements="$requirements gstreamer"
|
|
||||||
GSTCDDA_MSG="yes"
|
GSTCDDA_MSG="yes"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -183,8 +174,6 @@ AM_CONDITIONAL([BUILD_GSTREAMER_MODULE], [test "$HAVE_GSTREAMER" = yes])
|
||||||
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
|
AC_CHECK_LIB(dl, dlopen, dlopen_libs=-ldl)
|
||||||
AC_SUBST(dlopen_libs)
|
AC_SUBST(dlopen_libs)
|
||||||
|
|
||||||
AC_SUBST(requirements)
|
|
||||||
|
|
||||||
AC_OUTPUT([
|
AC_OUTPUT([
|
||||||
Makefile
|
Makefile
|
||||||
emotion.pc
|
emotion.pc
|
||||||
|
|
|
@ -5,7 +5,8 @@ includedir=@includedir@
|
||||||
|
|
||||||
Name: emotion
|
Name: emotion
|
||||||
Description: Emotion evas based multimedia library
|
Description: Emotion evas based multimedia library
|
||||||
Requires: @requirements@
|
Requires: evas
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Libs: -L${libdir} -lemotion
|
Libs: -L${libdir} -lemotion
|
||||||
|
Libs.private: @EET_LIBS@ @EDJE_LIBS@ @ECORE_LIBS@ @EMBRYO_LIBS@ @XINE_LIBS@ @GST_LIBS@
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|
Loading…
Reference in New Issue