2 |
%{?_without_bootstrap: %global bootstrap 0} |
%{?_without_bootstrap: %global bootstrap 0} |
3 |
%{?_with_bootstrap: %global bootstrap 1} |
%{?_with_bootstrap: %global bootstrap 1} |
4 |
|
|
5 |
|
%if "%distro_section" == "tainted" |
6 |
|
%global build_plf 1 |
7 |
|
%else |
8 |
|
%global build_plf 0 |
9 |
|
%endif |
10 |
|
|
11 |
# (cg) Cheater... |
# (cg) Cheater... |
12 |
%define Werror_cflags %nil |
%define Werror_cflags %nil |
13 |
|
|
402 |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
403 |
GL and GLX parts. |
GL and GLX parts. |
404 |
|
|
405 |
|
%if %{build_plf} |
406 |
|
This package is in the "tainted" section because it enables some |
407 |
|
OpenGL extentions that are covered by software patents. |
408 |
|
%endif |
409 |
|
|
410 |
%description -n %{dridrivers} |
%description -n %{dridrivers} |
411 |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
Mesa is an OpenGL 2.1 compatible 3D graphics library. |
412 |
DRI drivers. |
DRI drivers. |
550 |
--disable-gallium-llvm \ |
--disable-gallium-llvm \ |
551 |
--with-gallium-drivers=swrast \ |
--with-gallium-drivers=swrast \ |
552 |
%endif |
%endif |
553 |
|
%if %{build_plf} |
554 |
|
--enable-texture-float \ |
555 |
|
%endif |
556 |
%if %{with_mesaglut} |
%if %{with_mesaglut} |
557 |
--enable-glut |
--enable-glut |
558 |
%else |
%else |