#
# Conditional build:
%bcond_without glide # don't build glide driver
-
-#http://cambuca.ldhs.cetuc.puc-rio.br/multiuser/
+%bcond_without r300 # r300_dri.so
%bcond_with dualhead # apply dualhead patch
Summary: XOrg X11 Window System servers and basic programs
# radeon
Patch69: %{name}-radeon-dynamic-clocks.patch
Patch71: %{name}-radeon-set-fb-location.patch
-
Patch72: http://glen.alkohol.ee/xkb/xorg.patch
+Patch73: %{name}-r300.patch
#head-patch
#ftp://ftp.linux.cz/pub/linux/people/jan_kasprzak/xorg-dualhead/
%{?with_glide:BuildRequires: Glide2x_SDK}
%endif
BuildRequires: bison
+BuildRequires: cpp
BuildRequires: ed
BuildRequires: expat-devel
BuildRequires: flex
# %patch71 -p0
%{__patch} -d xc/programs/xkbcomp/symbols/pc < %{PATCH72}
+%{?with_r300:%patch73 -p1}
%{?with_dualhead:%patch100 -p1}
-
sed -i -e 's#krb5/##g' xc/lib/Xau/*.* xc/programs/xdm/greeter/*.* \
xc/programs/xdm/*.* xc/programs/Xserver/os/*.*
%ifarch %{ix86} ia64 %{x8664} alpha ppc arm
%attr(755,root,root) %{_libdir}/modules/dri/radeon_dri.so
%attr(755,root,root) %{_libdir}/modules/dri/r200_dri.so
+%if %{with r300}
+%attr(755,root,root) %{_libdir}/modules/dri/r300_dri.so
+%endif
%endif
%{_mandir}/man4/radeon.4*