Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer


Modified Files:
        ChangeLog configure.ac 


Log Message:
Added input plugin stuff, fixed some playlist bugs
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/ChangeLog,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -3 -r1.11 -r1.12
--- ChangeLog   22 Oct 2003 18:50:04 -0000      1.11
+++ ChangeLog   23 Oct 2003 17:01:48 -0000      1.12
@@ -1,4 +1,9 @@
-$Id: ChangeLog,v 1.11 2003/10/22 18:50:04 tsauerbeck Exp $
+$Id: ChangeLog,v 1.12 2003/10/23 17:01:48 tsauerbeck Exp $
+
+2003-10-23 Tilman Sauerbeck <[EMAIL PROTECTED]>
+        * src/input: Added a input plugin system
+        * src/vorbis.c, src/input/vorbis: Move vorbis specific code
+          to its own plugin
 
 2003-10-22 Tilman Sauerbeck <[EMAIL PROTECTED]>
         * configure.ac: Fix OSS check, add checks for Solaris' audioio.h
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/configure.ac,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- configure.ac        22 Oct 2003 18:50:04 -0000      1.6
+++ configure.ac        23 Oct 2003 17:01:49 -0000      1.7
@@ -1,4 +1,4 @@
-# $Id: configure.ac,v 1.6 2003/10/22 18:50:04 tsauerbeck Exp $
+dnl $Id: configure.ac,v 1.7 2003/10/23 17:01:49 tsauerbeck Exp $
 
 AC_INIT(src/eplayer.c)
 
@@ -42,15 +42,19 @@
 dnl unstable and there's no pkgconfig file either :/
 tmp=$LIBS
 
-AC_CHECK_LIB(vorbis, vorbis_info_init, ,
-       AC_MSG_ERROR(Cannot find libvorbis))
+AC_CHECK_LIB(vorbis, vorbis_info_init,
+       [have_vorbis="yes"; LIBS="$LIBS -lvorbis"], have_vorbis="no")
 
-AC_CHECK_LIB(vorbisfile, ov_open, ,
-       AC_MSG_ERROR(Cannot find libvorbisfile))
+if test "x$have_vorbis" = "xyes"; then
+       AC_CHECK_LIB(vorbisfile, ov_open,
+               [
+                       VORBIS_LIBS="-lvorbis -lvorbisfile -logg"
+                       AC_SUBST(VORBIS_LIBS)
+               ], have_vorbis="no")
+fi
 
-VORBIS_LIBS="-lvorbis -lvorbisfile -logg"
-AC_SUBST(VORBIS_LIBS)
 LIBS=$tmp
+AM_CONDITIONAL(HAVE_VORBIS, test "$have_vorbis" = "yes")
 
 AC_PATH_GENERIC(ecore, , ,
        AC_MSG_ERROR(Cannot find ecore: Is ecore-config in path?))
@@ -84,6 +88,8 @@
 etc/Makefile
 m4/Makefile
 src/Makefile
+src/input/Makefile
+src/input/vorbis/Makefile
 src/output/Makefile
 src/output/alsa/Makefile
 src/output/oss/Makefile
@@ -92,6 +98,12 @@
 
 echo
 echo "$PACKAGE $VERSION"
+echo
+echo
+echo "Input Plugins"
+echo
+echo "Ogg Vorbis....: $have_vorbis"
+echo
 echo
 echo "Output Plugins"
 echo




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to