[oe-commits] Otavio Salvador : v4l-utils: Split ir-keytable to a specific package

git at git.openembedded.org git at git.openembedded.org
Sat Mar 7 08:52:41 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: ba910ab70107e9cae198e4b9a32b4a262f301267
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=ba910ab70107e9cae198e4b9a32b4a262f301267

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Wed Mar  4 11:42:21 2015 -0300

v4l-utils: Split ir-keytable to a specific package

The ir-keytable is useful without the other utilities so this splits
the package out. For flexibility a virtual runtime for the keymap
package is also added so, if necessary, a custom one can be used in a
distro.

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb
index ba6e692..9bbfaee 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb
@@ -25,11 +25,19 @@ SRC_URI[sha256sum] = "d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a164
 
 EXTRA_OECONF = "--disable-qv4l2 --enable-shared --with-udevdir=${base_libdir}/udev"
 
-PACKAGES =+ "media-ctl rc-keymaps libv4l libv4l-dbg libv4l-dev"
+VIRTUAL-RUNTIME_ir-keytable-keymaps ?= "rc-keymaps"
+
+PACKAGES =+ "media-ctl ir-keytable rc-keymaps libv4l libv4l-dbg libv4l-dev"
 
 FILES_media-ctl = "${bindir}/media-ctl ${libdir}/libmediactl.so.*"
+
+FILES_ir-keytable = "${bindir}/ir-keytable ${base_libdir}/udev/rules.d/*-infrared.rules"
+RDEPENDS_ir-keytable += "${VIRTUAL-RUNTIME_ir-keytable-keymaps}"
+
 FILES_rc-keymaps = "${sysconfdir}/rc* ${base_libdir}/udev/rc*"
-FILES_${PN} = "${bindir} ${sbindir} ${base_libdir}/udev/rules.d/70-infrared.rules"
+
+FILES_${PN} = "${bindir} ${sbindir}"
+
 FILES_libv4l += "${libdir}/libv4l*${SOLIBS} ${libdir}/libv4l/*.so ${libdir}/libv4l/plugins/*.so \
                  ${libdir}/libdvbv5*${SOLIBS} \
                  ${libdir}/libv4l/*-decomp"



More information about the Openembedded-commits mailing list