aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2014-05-06 00:08:45 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2014-05-09 14:57:58 +0200
commit6d81b79fd1b0b76df2b5be1b80b871c798db647c (patch)
tree75809ce4e940fd45368960c0c3d39786b9d19a0a /meta-oe
parent1162d9d1b5bd1893e1d8f725b636dc2639183c9f (diff)
downloadmeta-openembedded-6d81b79fd1b0b76df2b5be1b80b871c798db647c.tar.gz
meta-openembedded-6d81b79fd1b0b76df2b5be1b80b871c798db647c.tar.bz2
meta-openembedded-6d81b79fd1b0b76df2b5be1b80b871c798db647c.zip
v4l-utils: Update to 1.0.1
This updates to last stable release and, as a plus, fix an out of tree build failure. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/files/openat.patch38
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb39
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb26
3 files changed, 26 insertions, 77 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch b/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch
deleted file mode 100644
index 6cbd528d4..000000000
--- a/meta-oe/recipes-multimedia/v4l2apps/files/openat.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-From ac8eb4d8e1c16b907e795da123a032869c77c56f Mon Sep 17 00:00:00 2001
-From: Riku Voipio <riku.voipio@linaro.org>
-Date: Tue, 22 Jan 2013 12:44:48 +0200
-Subject: [PATCH] libv4lsyscall-priv.h: use openat when available
-
-New architectures such as 64-Bit arm build kernels without legacy
-system calls - Such as the the no-at system calls. Thus, use
-SYS_openat whenever it is available.
-
-Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
-Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-
-Upstream-status: backport
----
- lib/libv4lconvert/libv4lsyscall-priv.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/lib/libv4lconvert/libv4lsyscall-priv.h b/lib/libv4lconvert/libv4lsyscall-priv.h
-index 2dac49a..cdd38bc 100644
---- a/lib/libv4lconvert/libv4lsyscall-priv.h
-+++ b/lib/libv4lconvert/libv4lsyscall-priv.h
-@@ -72,8 +72,13 @@ typedef off_t __off_t;
-
- #ifndef CONFIG_SYS_WRAPPER
-
-+#ifdef SYS_openat
-+#define SYS_OPEN(file, oflag, mode) \
-+ syscall(SYS_openat, AT_FDCWD, (const char *)(file), (int)(oflag), (mode_t)(mode))
-+#else
- #define SYS_OPEN(file, oflag, mode) \
- syscall(SYS_open, (const char *)(file), (int)(oflag), (mode_t)(mode))
-+#endif
- #define SYS_CLOSE(fd) \
- syscall(SYS_close, (int)(fd))
- #define SYS_IOCTL(fd, cmd, arg) \
---
-1.7.10.4
-
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
deleted file mode 100644
index 485a4162d..000000000
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
+++ /dev/null
@@ -1,39 +0,0 @@
-SUMMARY = "v4l2 and IR applications"
-LICENSE = "GPLv2 & LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
- file://COPYING.LIB;md5=d749e86a105281d7a44c2328acebc4b0"
-
-PR = "r2"
-
-DEPENDS = "jpeg virtual/libx11"
-
-inherit autotools gettext
-
-# libv4l was absorbed into this, let OE know that
-PROVIDES = "libv4l"
-
-SRC_URI = "git://linuxtv.org/v4l-utils.git \
- file://openat.patch \
-"
-# 54f16ca8183dd8ae8bf4ccc07949795aff0301f5 -> v0.8.8 tag
-SRCREV = "0298efdcd1153b8f719b9164548a3f0546f0cb7c"
-
-S = "${WORKDIR}/git"
-
-EXTRA_OECONF = "--disable-qv4l2 --enable-shared --with-udevdir=${base_libdir}/udev"
-
-do_configure() {
- # autotools_do_configure fails with:
- # | configure.ac:139: error: required file 'build-aux/config.rpath' not found
- autoreconf -vfi
- oe_runconf
-}
-
-PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev"
-
-FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/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*"
-
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb
new file mode 100644
index 000000000..6c25c9068
--- /dev/null
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb
@@ -0,0 +1,26 @@
+SUMMARY = "v4l2 and IR applications"
+LICENSE = "GPLv2 & LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
+ file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0"
+
+DEPENDS = "jpeg virtual/libx11"
+
+inherit autotools gettext
+
+# libv4l was absorbed into this, let OE know that
+PROVIDES = "libv4l"
+
+SRC_URI = "http://linuxtv.org/downloads/v4l-utils/v4l-utils-${PV}.tar.bz2"
+SRC_URI[md5sum] = "b06ea8b15e27cff352b4536e835448bc"
+SRC_URI[sha256sum] = "fc0132e82a18dfad9619be3abf50c206e2f449b1c14440cde36f25874fdce7df"
+
+EXTRA_OECONF = "--disable-qv4l2 --enable-shared --with-udevdir=${base_libdir}/udev"
+
+PACKAGES =+ "rc-keymaps libv4l libv4l-dbg libv4l-dev"
+
+FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*"
+FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules"
+FILES_libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \
+ ${libdir}/libv4l/*-decomp"
+FILES_libv4l-dbg += "${libdir}/libv4l/.debug ${libdir}/libv4l/plugins/.debug"
+FILES_libv4l-dev += "${libdir}/v4l*${SOLIBSDEV} ${libdir}/libv4l/*.la ${libdir}/libv4l/plugins/*.la"