Patchwork [WIP,39/66] v4l-utils: Add libx11 dependency

login
register
mail settings
Submitter Martin Jansa
Date Aug. 29, 2013, 3:51 p.m.
Message ID <4d10a88842bea1905ac7e924d85978a4d4aabaf3.1377791378.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/56909/
State Accepted, archived
Commit fa4d5d1fbdd44a7511c7749263a000fd82d831f8
Headers show

Comments

Martin Jansa - Aug. 29, 2013, 3:51 p.m.
* configure doesn't allow to explicitly disable it

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Otavio Salvador - Sept. 24, 2013, 7:34 p.m.
On Thu, Aug 29, 2013 at 12:51 PM, Martin Jansa <martin.jansa@gmail.com> wrote:
> * configure doesn't allow to explicitly disable it
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
...
> +DEPENDS = "jpeg virtual/libx11"
...

This should be done depending on DISTRO_FEATURES setting.

This broke non-X11 builds here :-(

Patch

diff --git a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
index c00f119..e2884a6 100644
--- a/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
+++ b/meta-oe/recipes-multimedia/v4l2apps/v4l-utils_0.8.8.bb
@@ -5,7 +5,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=48da9957849056017dc568bbc43d8975 \
 
 PR = "r2"
 
-DEPENDS = "jpeg"
+DEPENDS = "jpeg virtual/libx11"
 
 inherit autotools gettext