[Lunar-commits] <moonbase-other> unicap: Readding to moonbase. Adding two notes to the CONFIGURE. Based on the ChangeLog from
Dennis Veatch
stumbles at lunar-linux.org
Fri Jul 13 12:19:45 CEST 2012
commit 799ba919bb67d93c8902c5bbecbe632796d275e1
Author: Dennis Veatch <stumbles at lunar-linux.org>
Date: Fri, 13 Jul 2012 03:19:45 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/799ba919bb67d93c8902c5bbecbe632796d275e1
unicap: Readding to moonbase. Adding two notes to the CONFIGURE. Based on the ChangeLog from
v4l-utils, kernels => 2.6.38 have dropped the linux/videodev.h. So to compile this module you
need to say no to v4l and v4l2 and yes to v4l-utils.
---
libs/unicap/BUILD +11/-0
libs/unicap/CONFIGURE +6/-0
libs/unicap/DEPENDS +1/-0
libs/unicap/DETAILS +32/-0
4 files changed, 50 insertions (+), 0 deletions (-)
--- /dev/null
+++ b/libs/unicap/BUILD
@@ -0,0 +1,11 @@
+(
+
+ patch_it $SOURCE2 1 &&
+
+# To remove the logs from filling up with;
+# "...SYSFS{}= will be removed in a future udev version, please use ATTR{}..."
+ sedit "s:SYSFS:ATTR:g" data/50-euvccam.rules &&
+
+ default_build
+
+) > $C_FIFO 2>&1
--- /dev/null
+++ b/libs/unicap/CONFIGURE
@@ -0,0 +1,6 @@
+mquery AUTO_21CF04 "Autodetect DFK 21CF04 camera module?" y "--enable-vid21394-21cf04" "--disable-vid21394-21cf04"
+mquery VID_1394 "Build plugin for video-2-1394 capture device?" y "--enable-vid21394" "--disable-vid21394"
+mquery DCAM_PLUG "Build plugin for IIDC 1394 cameras?" y "--enable-dcam" "--disable-dcam"
+mquery V4L1_PLUG "Build plugin for video-4-linux version 1 ${PROBLEM_COLOR}kernels>=2.6.38 - n ${QUERY_COLOR}?" y "--enable-v4l" "--disable-v4l"
+mquery V4L2_PLUG "Build plugin for video-4-linux version 2 ${PROBLEM_COLOR}kernels>=2.6.38 - n ${QUERY_COLOR}?" y "--enable-v4l2" "--disable-v4l2"
+
--- /dev/null
+++ b/libs/unicap/DEPENDS
@@ -0,0 +1 @@
+optional_depends v4l-utils "--enable-libv4l" "--disable-libv4l" "for use to communicate with v4l2 devices"
--- /dev/null
+++ b/libs/unicap/DETAILS
@@ -0,0 +1,32 @@
+ MODULE=unicap
+ VERSION=0.9.12
+ SOURCE=libunicap-$VERSION.tar.gz
+ SOURCE2=libunicap-private-keyword-01.patch
+ SOURCE_URL=http://unicap-imaging.org/downloads/
+ SOURCE2_URL=$PATCH_URL
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/libunicap-$VERSION
+ SOURCE_VFY=sha1:a4d3a484ecc63a6f7e080c67d54131f7058f2790
+ SOURCE2_VFY=sha1:d48d930eb05c209e311e246bbfadd62cab995a51
+ WEB_SITE=http://unicap-imaging.org/index.htm
+ ENTERED=20090601
+ UPDATED=20111010
+ SHORT="uniform interface to video capture devices"
+
+cat << EOF
+unicap provides a uniform interface to video capture devices. It allows
+applications to use any supported video capture device via a single API.
+
+Building applications with a graphical user interface is made especially
+easy with the unicapGTK widget set.
+
+The ucil library provides easy to use functions to render text and graphic
+overlays onto video images.
+
+unicap offers a high level of hardware abstraction while maintaining maximum
+performance. Zero copy capture of video buffers is possible for devices
+supporting it allowing fast video capture with low CPU usage even on
+low-speed architectures.
+
+unicap is dual licensed under the terms and conditions of the General Public
+License (GPL) and a commercial license.
+EOF
More information about the Lunar-commits
mailing list