I was compiling the latest version of KDE4 on my box and I noticed it picked up 
my installed libv4l2. 
The only problem is that you need some patches before everything is compiling 

About libv4lX on FreeBSD, please see:


Only USB webcams supported yet.

After installation manually add -lv4lxdrivers to all the libv4l*.pc files!
I will try to get this included into my ulinux distribution soon.

Libs: -L${libdir} -lv4lconvert
Libs: -L${libdir} -lv4lconvert -lv4lxdrivers


Then patch KDE4 like this:

       2009-10-11 11:41:54.000000000 +0200
    2009-10-11 11:44:34.000000000 +0200
@@ -62,6 +62,13 @@
 #endif // __linux__
+#if defined(__FreeBSD__) && defined(ENABLE_AV)
+#include <linux/videodev.h>
+#ifdef HAVE_LIBV4L2
+#include <libv4l2.h>
+#endif // HAVE_V4L2
 #include <qstring.h>
 #include <qfile.h>
 #include <qimage.h

And don't forget to chown /dev/usb/X.Y.* [webcam USB device] to the user 
running the webcam application.

freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to