aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/v4l2apps
diff options
context:
space:
mode:
authorAthanasios Oikonomou <athoik@gmail.com>2017-09-12 23:06:00 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2017-09-18 10:16:24 +0200
commit107966d03d9569d4b0e23265b57c45aecfeda99c (patch)
tree8bf61f6e035135df8c0f8a458ef1c5c3ba9bb247 /meta-oe/recipes-multimedia/v4l2apps
parent12d09665bbee2825ed54cd4254a33235d2ca3e26 (diff)
downloadmeta-openembedded-107966d03d9569d4b0e23265b57c45aecfeda99c.tar.gz
v4l-utils: added missing dependency on udev
Upgrading to newer v4l-utils 1.12.3 on commit f84a551f2d419df88b85987855fec866d9e84b4a Is causing issues because libdvbv5 now require libudev in order to work (commit db42484881bf5e6a902de51fe42444ddf286d52a on v4l-utils). First issue is missing dvb utils dvb-fe-tool, dvb-format-convert, dvbv5-daemon, dvbv5-scan, dvbv5-zap because libdvbv5 requires now libudev. Another issue was the failure of building dvb-apps (currently removed from master) because the v4l-utils-native is missing dvb-format-convert. This commit adds the missing udev dependency only on target and brings back the missing dvb utils. Adding udev on native build is not possible because nothing provides udev-native. Additionally add lib pthread to LDFLAGS in order to solve building with gold. ../../lib/libdvbv5/.libs/libdvbv5.so: error: undefined reference to 'pthread_cancel' ../../lib/libdvbv5/.libs/libdvbv5.so: error: undefined reference to 'pthread_create' Issue with gold linking reported upstream and hopefully will be addressed soon. Signed-off-by: Athanasios Oikonomou <athoik@gmail.com> 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.12.3.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb
index b408bb0a9d..57cfb1318f 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.12.3.bb
@@ -7,6 +7,8 @@ PROVIDES = "libv4l media-ctl"
DEPENDS = "jpeg \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
DEPENDS_append_libc-musl = " argp-standalone"
+DEPENDS_append_class-target = " udev"
+LDFLAGS_append = " -pthread"
inherit autotools gettext pkgconfig