Enabled DRI3 support

This commit is contained in:
Eugene Shatokhin 2014-04-29 16:41:01 +04:00
parent bf85a44773
commit b6c7d146d1

View file

@ -72,6 +72,9 @@ BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xvmc)
BuildRequires: pkgconfig(xxf86vm)
# Needed to build with support for DRI2 and DRI3 X11 extensions.
BuildRequires: pkgconfig(dri2proto)
BuildRequires: pkgconfig(dri3proto)
# Mesa 10.x does not provide dricore library anymore. The DRI drivers now
# get what they need some other way (see also mesa repo,
@ -600,12 +603,12 @@ Mesa common meta-package for development files.
# Always (re)generate auto* generated files using our autotools and libtoolize
autoreconf -vfi
# Support for DRI3 starts from Xorg 1.15. When building Mesa for that or
# a newer version of Xorg, remove --disable-dri3 option below.
# Support for DRI3 starts from Xorg 1.15. When building Mesa for an older
# version of Xorg, replace --enable-dri3 with --disable-dri3 below.
%configure2_5x \
--enable-dri \
--disable-dri3 \
--enable-dri3 \
--enable-vdpau \
%if %{with opencl}
--enable-opencl \