From: Gustavo Zacarias Date: Tue, 29 Mar 2016 14:39:03 +0000 (-0300) Subject: weston: handle optional libva support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3d4fc5f908ebd7304f6c2547a7c8da7a8d241483;p=buildroot.git weston: handle optional libva support It's used for the recorder. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- diff --git a/package/weston/weston.mk b/package/weston/weston.mk index d600bc330b..08c6337b4e 100644 --- a/package/weston/weston.mk +++ b/package/weston/weston.mk @@ -75,4 +75,11 @@ else WESTON_CONF_OPTS += --disable-rpi-compositor endif # BR2_PACKAGE_WESTON_RPI +ifeq ($(BR2_PACKAGE_LIBVA),y) +WESTON_CONF_OPTS += --enable-vaapi-recorder +WESTON_DEPENDENIES += libva +else +WESTON_CONF_OPTS += --disable-vaapi-recorder +endif + $(eval $(autotools-package))