weston: handle webp dependency
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 29 Mar 2016 14:39:08 +0000 (11:39 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 30 Mar 2016 15:01:13 +0000 (17:01 +0200)
It doesn't have an enable/disable switch so it's just the dependency.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/weston/weston.mk

index e3a8f29a8589ab43bcf5efc91b6854197ec6b24a..de734e033cb0eaa655c21b99f6a91a13d360c6e4 100644 (file)
@@ -11,7 +11,8 @@ WESTON_LICENSE = MIT
 WESTON_LICENSE_FILES = COPYING
 
 WESTON_DEPENDENCIES = host-pkgconf wayland wayland-protocols \
-       libxkbcommon pixman libpng jpeg mtdev udev cairo libinput
+       libxkbcommon pixman libpng jpeg mtdev udev cairo libinput \
+       $(if $(BR2_PACKAGE_WEBP),webp)
 
 WESTON_CONF_OPTS = \
        --with-dtddir=$(STAGING_DIR)/usr/share/wayland \