Enlightenment CVS committal

Author  : chaos
Project : e17
Module  : libs/epsilon

Dir     : e17/libs/epsilon


Modified Files:
        configure.in 


Log Message:
* First commit of the plugin architecture (needs some work on mime identify), 
and the xine video thumbnailer

===================================================================
RCS file: /cvs/e/e17/libs/epsilon/configure.in,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -3 -r1.21 -r1.22
--- configure.in        29 Mar 2006 08:00:29 -0000      1.21
+++ configure.in        30 Apr 2006 13:44:38 -0000      1.22
@@ -88,6 +88,37 @@
   ]
 )
 
+xine=""
+AC_MSG_CHECKING(whether the xine thumbnailer was explicitly disabled)
+AC_ARG_ENABLE(thumbnailer-xine, 
AC_HELP_STRING([--enable-thumbnailer-xine],[build the thumbnailer for videos]),
+        [ ac_use_plugin_xine="$enableval" ],
+        [ ac_use_plugin_xine="yes" ]
+        )
+if test X"$ac_use_plugin_xine" = Xyes; then
+        AC_MSG_RESULT(no)
+        AC_ARG_WITH(libxine,
+           AC_HELP_STRING([--with-libxine=DIR],[use libxine in <DIR>]),
+           [xine_CFLAGS="-I$withval/include"
+            xine_LIBS="-L$withval/lib -lxine"
+            AC_DEFINE(HAVE_LIBXINE, 1, libxine thumbnailer)
+            xine="xine "],
+           [AC_PATH_GENERIC(xine, 1.0.0, [
+              xine_cflags=`xine-config --cflags`
+              xine_libs=`xine-config --libs`
+              xine_plugins=`xine-config --plugindir`
+              AC_DEFINE(HAVE_LIBXINE, 1, build xinefile thumbnailer)
+              xine="xine "],[
+              AC_MSG_WARN([libxine too old; no thumbnails for videos...])])])
+else
+        AC_MSG_RESULT(yes)
+        xine=""
+fi
+AC_SUBST(xine_LIBS)
+AC_SUBST(xine_CFLAGS)
+AC_SUBST(xine_PLUGINS)
+AM_CONDITIONAL(HAVE_XINE, test $xine = "xine ")
+
+
 dnl Make sure the Edje header/lib is available
 AC_PATH_GENERIC(edje, 0.5.0,
   [ have_edje="yes" ],
@@ -124,6 +155,7 @@
 src/lib/Makefile
 src/lib/exiftags/Makefile
 src/bin/Makefile
+src/plugins/Makefile
 debian/changelog
 ], [
 chmod +x epsilon-config




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to