aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-04-30 15:44:52 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2012-04-30 15:50:27 +0200
commitcdf2652ef0560185f9a503402c0a69aeff6a4a2d (patch)
treec9447877f7c6e864cee76dcffb5a8bf73c598928 /meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
parent594a73c035277f768a67098d7ecf57c9b2d637fb (diff)
downloadmeta-openembedded-cdf2652ef0560185f9a503402c0a69aeff6a4a2d.tar.gz
meta-openembedded-cdf2652ef0560185f9a503402c0a69aeff6a4a2d.tar.bz2
meta-openembedded-cdf2652ef0560185f9a503402c0a69aeff6a4a2d.zip
v4l-utils: update to 0.8.8
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb')
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
new file mode 100644
index 000000000..18f361f6c
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
@@ -0,0 +1,39 @@
+DESCRIPTION = "v4l2 and IR applications"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
+ file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
+
+DEPENDS = "jpeg"
+
+# libv4l was absorbed into this, let OE know that
+PROVIDES = "libv4l"
+
+SRC_URI = "git://linuxtv.org/v4l-utils.git;protocol=git"
+# 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
+SRCREV = "54f16ca8183dd8ae8bf4ccc07949795aff0301f5"
+
+S = "${WORKDIR}/git"
+
+EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}"
+
+do_compile() {
+ # fix up some ASNEEDED things
+ for i in $(find ${S} -name "Makefile") ; do
+ sed -i 's:-lrt:-lrt -lpthread:g' $i
+ done
+
+ oe_runmake
+}
+
+do_install() {
+ oe_runmake install
+}
+
+PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev"
+
+FILES_rc-keymaps = "${sysconfdir}/rc*"
+FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules"
+FILES_libv4l += "${libdir}/libv4l/* ${libdir}/*.so.*"
+FILES_libv4l-dbg += "${libdir}/libv4l/.debug"
+FILES_libv4l-dev += "${libdir}/*.so ${includedir}/lib* ${libdir}/pkgconfig/lib*"
+