weston: handle optional libva support
It's used for the recorder. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
3c2ef71d38
commit
3d4fc5f908
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user