# minimal supported xserver version
%define xserver_ver 1.5.0
# other packages
-%define libdrm_ver 2.4.85
+%define libdrm_ver 2.4.91
%define dri2proto_ver 2.8
%define dri3proto_ver 1.0
%define glproto_ver 1.4.14
Summary: Free OpenGL implementation
Summary(pl.UTF-8): Wolnodostępna implementacja standardu OpenGL
Name: Mesa
-Version: 17.3.1
+Version: 17.3.7
Release: 1
License: MIT (core) and others - see license.html file
Group: X11/Libraries
Source0: ftp://ftp.freedesktop.org/pub/mesa/mesa-%{version}.tar.xz
-# Source0-md5: b4b021279ea21e1eb8a1369afa6f19a0
+# Source0-md5: 769137f2538562c300c4b76bcb097377
Patch0: %{name}-link.patch
+Patch1: glvnd-fix-gl-dot-pc.patch
URL: http://www.mesa3d.org/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
%prep
%setup -q -n mesa-%{version}
%patch0 -p1
+%if %{with glvnd}
+%patch1 -p1
+%endif
%build
%{__libtoolize}