diff options
author | Romain Naour <romain.naour@gmail.com> | 2017-03-26 18:28:51 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-04-01 15:56:58 +0200 |
commit | 59b89750473be0a41307ee25f66254100a02df92 (patch) | |
tree | fcd2c9dc675c0db99128aec9da63eb4b455be584 /package/mesa3d | |
parent | 9c4002e9afc7dbadb95453fccf1d47736a8e5cca (diff) | |
download | buildroot-59b89750473be0a41307ee25f66254100a02df92.tar.gz buildroot-59b89750473be0a41307ee25f66254100a02df92.zip |
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 <romain.naour@gmail.com>
Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/mesa3d')
-rw-r--r-- | package/mesa3d/mesa3d.mk | 7 |
1 files changed, 7 insertions, 0 deletions
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 |