mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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> Signed-off-by: Cliff Brake <cbrake@bec-systems.com>
This commit is contained in:
parent
e73087c588
commit
d85b01997c
@ -3,7 +3,8 @@ LICENSE = "GPLv2 & LGPLv2.1"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
|
||||
file://COPYING.libv4l;md5=d749e86a105281d7a44c2328acebc4b0"
|
||||
|
||||
DEPENDS = "jpeg virtual/libx11"
|
||||
DEPENDS = "jpeg \
|
||||
${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}"
|
||||
|
||||
inherit autotools gettext
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user