# - resurrect static if it's useful (using plain xorg target? DRI doesn't support static)
#
# Conditional build:
-%bcond_without egl # EGL libraries
%bcond_without gallium # gallium drivers
-%bcond_with gallium_intel # gallium i915 driver (but doesn't work with AIGLX)
-%bcond_without gallium_nouveau # gallium nouveau driver
+%bcond_with gallium_intel # gallium i915 driver (instead of plain dri; doesn't work with AIGLX)
+%bcond_without gallium_nouveau # gallium nouveau driver (instead of plain dri)
+%bcond_with dri_nouveau # nouveau DRI driver (any kind; doesn't build with current libdrm)
+%bcond_without egl # EGL libraries
- %bcond_without osmesa # OSMesa libraries
%bcond_without gbm # Graphics Buffer Manager
%bcond_without wayland # Wayland EGL
%bcond_without xa # XA state tracker (for vmwgfx xorg driver)
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
- Version: 8.0.4
- Release: 1
- License: MIT (core), SGI (GLU) and others - see license.html file
+ Version: 9.0.0
+ Release: 0.%{snap}.1
+ License: MIT (core) and others - see license.html file
Group: X11/Libraries
- Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
- # Source0-md5: d546f988adfdf986cff45b1efa2d8a46
- Patch100: %{name}-git.patch
+ #Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}Lib-%{version}.tar.bz2
+ Source0: %{name}Lib-%{snap}.tar.bz2
+ # Source0-md5: 6a81ca41f8f131d98e95371ea0b6717e
-#Patch100: %{name}-git.patch
Patch0: %{name}-realclean.patch
Patch1: %{name}-link.patch
Patch2: %{name}-wayland.patch
bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
układach R600/R700.
-radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI Radeon
-adapters based on Southern Islands chips.
+ %package gbm-driver-radeonsi
+ Summary: radeonsi driver for Mesa GBM framework
+ Summary(pl.UTF-8): Sterownik radeonsi dla szkieletu Mesa GBM
+ Group: Libraries
+ Requires: %{name}-libgbm = %{version}-%{release}
+
+ %description gbm-driver-radeonsi
-Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager (zarządcy
-bufora graficznego). Obsługuje karty graficzne ATI Radeon oparte na
-układach Southern Islands.
++radeonsi driver for Mesa Graphics Buffer Manager. It supports ATI
++Radeon adapters based on Southern Islands chips.
+
+ %description gbm-driver-radeonsi -l pl.UTF-8
++Sterownik radeonsi dla szkieletu Mesa Graphics Buffer Manager
++(zarządcy bufora graficznego). Obsługuje karty graficzne ATI Radeon
++oparte na układach Southern Islands.
+
%package gbm-driver-vmwgfx
Summary: vmwgfx driver for Mesa GBM framework
Summary(pl.UTF-8): Sterownik vmwgfx dla szkieletu Mesa GBM
Sterownik Mesa r600 dla API vdpau. Obsługuje karty ATI Radeon oparte
na układach R600/R700.
-Mesa radeonsi driver for the vdpau API. It supports ATI Radeon adapters
-based on Southern Islands chips.
+ %package -n libvdpau-driver-mesa-radeonsi
+ Summary: Mesa radeonsi driver for the vdpau API
+ Summary(pl.UTF-8): Sterownik Mesa radeonsi dla API vdpau
+ License: MIT
+ Group: X11/Libraries
+ Requires: libdrm >= %{libdrm_ver}
+ Requires: libvdpau >= 0.4.1
+ Conflicts: libvdpau-driver-mesa
+
+ %description -n libvdpau-driver-mesa-radeonsi
-Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon oparte
-na układach Southern Islands.
++Mesa radeonsi driver for the vdpau API. It supports ATI Radeon
++adapters based on Southern Islands chips.
+
+ %description -n libvdpau-driver-mesa-radeonsi -l pl.UTF-8
++Sterownik Mesa radeonsi dla API vdpau. Obsługuje karty ATI Radeon
++oparte na układach Southern Islands.
+
%package -n libvdpau-driver-mesa-softpipe
Summary: Mesa softpipe driver for the vdpau API
Summary(pl.UTF-8): Sterownik Mesa softpipe dla API vdpau
Sterownik Mesa softpipe dla API vdpau.
%prep
- %setup -q
+ %setup -q -n %{name}
#%patch100 -p1
- %patch0 -p0
-#%patch0 -p0
++#patch0 -p0
%patch1 -p1
- %patch2 -p1
- %patch3 -p1
-#%patch2 -p1
++#patch2 -p1
%build
- %{__aclocal}
- %{__autoconf}
+ if [ -x autogen.sh ]; then
+ ./autogen.sh
+ else
+%{__aclocal}
+%{__autoconf}
+ fi
dri_drivers="r200 radeon \
%if %{without gallium_intel}
%endif
r300 \
r600 \
- %if %{with dri_nouveau} && %{with gallium_nouveau}
- nouveau \
+ radeonsi \
+ %if %{with gallium_nouveau}
-nouveau \
++nouveau
%endif
"
%files dri-driver-ati-radeon-R600
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/xorg/modules/dri/r600_dri.so
+%endif
+ %files dri-driver-ati-radeon-SI
+ %defattr(644,root,root,755)
+ %attr(755,root,root) %{_libdir}/xorg/modules/dri/radeonsi_dri.so
+
%files dri-driver-intel-i915
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/xorg/modules/dri/i915_dri.so