From 3d4fc5f908ebd7304f6c2547a7c8da7a8d241483 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 29 Mar 2016 11:39:03 -0300 Subject: [PATCH] weston: handle optional libva support It's used for the recorder. Signed-off-by: Gustavo Zacarias Signed-off-by: Thomas Petazzoni --- package/weston/weston.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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)) -- 2.30.2