aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/v4l2apps
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2015-03-04 11:42:21 -0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-03-10 14:19:38 +0100
commit3ba7ed2bc83795733a03f19b02fd521c0a00e7e4 (patch)
treee1de1317a85ab1900abd716cd12ca6488e1276ce /meta-oe/recipes-multimedia/v4l2apps
parent2f3765501c58c54b8037616103277985ad392d97 (diff)
downloadmeta-openembedded-3ba7ed2bc83795733a03f19b02fd521c0a00e7e4.tar.gz
meta-openembedded-3ba7ed2bc83795733a03f19b02fd521c0a00e7e4.tar.bz2
meta-openembedded-3ba7ed2bc83795733a03f19b02fd521c0a00e7e4.zip
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@ossystems.com.br> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-multimedia/v4l2apps')
-rw-r--r--meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.6.2.bb12
1 files 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 ba6e69274..9bbfaeec3 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"