23 |
%define relc 0 |
%define relc 0 |
24 |
%define name mesa |
%define name mesa |
25 |
%define version 7.11 |
%define version 7.11 |
26 |
%define rel 3 |
%define rel 4 |
27 |
|
|
28 |
%define release %mkrel %{rel} |
%define release %mkrel %{rel} |
29 |
%define src_type tar.bz2 |
%define src_type tar.bz2 |
171 |
# http://cvs.fedoraproject.org/viewvc/rpms/mesa/devel/ |
# http://cvs.fedoraproject.org/viewvc/rpms/mesa/devel/ |
172 |
# git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat |
# git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat |
173 |
Patch300: 0300-RH-mesa-7.1-nukeglthread-debug-v1.1.patch |
Patch300: 0300-RH-mesa-7.1-nukeglthread-debug-v1.1.patch |
|
Patch301: 0301-RH-mesa-7.1-link-shared-v1.7.patch |
|
174 |
|
|
175 |
# Mandriva patches |
# Mandriva patches |
176 |
# git format-patch --start-number 900 mdv-redhat..mdv-patches |
# git format-patch --start-number 900 mdv-redhat..mdv-patches |
508 |
#%patch202 -p1 |
#%patch202 -p1 |
509 |
|
|
510 |
#%patch300 -p1 |
#%patch300 -p1 |
|
## (Anssi 03/2010) FIXME: Currently results in either missing NEEDED tag or |
|
|
## NEEDED tag with '../../../../../lib/libdricore.so', while NEEDED tag of libdricore.so |
|
|
## is wanted. |
|
|
#%patch301 -p1 |
|
511 |
|
|
512 |
#%patch902 -p1 |
#%patch902 -p1 |
513 |
#%patch903 -p1 |
#%patch903 -p1 |
536 |
--with-dri-driverdir=%{driver_dir} \ |
--with-dri-driverdir=%{driver_dir} \ |
537 |
--with-dri-drivers="%{dri_drivers}" \ |
--with-dri-drivers="%{dri_drivers}" \ |
538 |
--with-state-trackers=dri \ |
--with-state-trackers=dri \ |
539 |
|
--enable-shared-dricore \ |
540 |
--enable-gallium-nouveau \ |
--enable-gallium-nouveau \ |
541 |
%if %{enable_egl} |
%if %{enable_egl} |
542 |
--enable-egl \ |
--enable-egl \ |
563 |
--disable-glut |
--disable-glut |
564 |
%endif |
%endif |
565 |
|
|
566 |
# (cg) Parallel build breaks the dricore shared stuff. |
%make |
|
make -j 1 |
|
567 |
|
|
568 |
%install |
%install |
569 |
rm -rf %{buildroot} |
rm -rf %{buildroot} |
599 |
%doc docs/COPYING |
%doc docs/COPYING |
600 |
%ifnarch ppc64 |
%ifnarch ppc64 |
601 |
%dir %{_libdir}/dri |
%dir %{_libdir}/dri |
602 |
#%{_libdir}/dri/libdricore.so |
%{_libdir}/dri/libdricore.so |
603 |
|
%{_libdir}/dri/libglsl.so |
604 |
%{_libdir}/dri/*_dri.so |
%{_libdir}/dri/*_dri.so |
605 |
%exclude %{_libdir}/dri/nouveau_dri.so |
%exclude %{_libdir}/dri/nouveau_dri.so |
606 |
%ifnarch %arm %mips |
%ifnarch %arm %mips |