From 59b89750473be0a41307ee25f66254100a02df92 Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 26 Mar 2017 18:28:51 +0200 Subject: [PATCH] package/meda3d: add xlib_libXvMC optional dependency If xlib_libXvMC package is build before mesa3d, it will be detected and enabled by the configure script. Handle xlib_libXvMC in mesa3d for consistency. Signed-off-by: Romain Naour Cc: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/mesa3d/mesa3d.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/package/mesa3d/mesa3d.mk b/package/mesa3d/mesa3d.mk index 4b95e9b166..6fa1599dbf 100644 --- a/package/mesa3d/mesa3d.mk +++ b/package/mesa3d/mesa3d.mk @@ -176,6 +176,13 @@ else MESA3D_CONF_OPTS += --disable-texture-float endif +ifeq ($(BR2_PACKAGE_XLIB_LIBXVMC),y) +MESA3D_DEPENDENCIES += xlib_libXvMC +MESA3D_CONF_OPTS += --enable-xvmc +else +MESA3D_CONF_OPTS += --disable-xvmc +endif + ifeq ($(BR2_PACKAGE_LIBVDPAU),y) MESA3D_DEPENDENCIES += libvdpau MESA3D_CONF_OPTS += --enable-vdpau -- 2.30.2