diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-06-30 18:35:55 -0300 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-07-15 15:02:28 +0200 |
commit | 6006202cde7956b280dfa2cfec7b6d928aea3f1c (patch) | |
tree | 074925e18ee709af1edb25b2b4dbafdef521b830 /meta-oe/recipes-multimedia | |
parent | aa7cccf7470a36d4218baec5ffa4bc0b46261718 (diff) | |
download | meta-openembedded-6006202cde7956b280dfa2cfec7b6d928aea3f1c.tar.gz |
v4l-utils: Add virtual/libx11 dependency only if X11 is available
In case we are building in a X11-less distro we shouldn't depends on
virtual/libx11.
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')
-rw-r--r-- | meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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 index abe9a648f..c3a13703a 100644 --- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb +++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_1.0.1.bb | |||
@@ -3,7 +3,8 @@ LICENSE = "GPLv2 & LGPLv2.1" | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \ |
4 | file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0" | 4 | file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0" |
5 | 5 | ||
6 | DEPENDS = "jpeg virtual/libx11" | 6 | DEPENDS = "jpeg \ |
7 | ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" | ||
7 | 8 | ||
8 | inherit autotools gettext pkgconfig | 9 | inherit autotools gettext pkgconfig |
9 | 10 | ||