Browse Source

mesa-18.2.6-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@11971 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 6 years ago
parent
commit
e979cc3d42
1 changed files with 12 additions and 18 deletions
  1. 12 18
      m/mesa/mesa-vl.spec

+ 12 - 18
m/mesa/mesa-vl.spec

@@ -26,12 +26,15 @@
 Summary: Mesa graphics libraries
 Summary(ja): Mesa グラフィックスライブラリ
 Name: mesa
-Version: 17.3.1
+Version: 18.2.6
 Release: 1%{?_dist_release}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
 
+Vendor: Project Vine
+Distribution: Vine Linux
+
 Source0: ftp://ftp.freedesktop.org/pub/mesa/%{version}/%{name}-%{version}.tar.xz
 Source1:        vl_decoder.c
 Source2:        vl_mpeg12_decoder.c
@@ -42,18 +45,12 @@ Source3:        Makefile
 Source4:        Mesa-MLAA-License-Clarification-Email.txt
 
 Patch1:         0001-llvm-SONAME-without-version.patch
-Patch2:         0002-hardware-gloat.patch
 Patch3:         0003-evergreen-big-endian.patch
-Patch4:         0004-bigendian-assert.patch
-
-# glvnd support patches
-# non-upstreamed ones
-Patch10:        glvnd-fix-gl-dot-pc.patch
-Patch11:        0001-Fix-linkage-against-shared-glapi.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: pkgconfig
 BuildRequires: flex, bison
+BuildRequires: libstdc++-static
 BuildRequires: libdrm-devel >= 2.4.60
 BuildRequires: libXxf86vm-devel
 BuildRequires: expat-devel >= 2.0
@@ -66,9 +63,10 @@ BuildRequires: libXfixes-devel
 BuildRequires: libXdamage-devel
 BuildRequires: libXi-devel
 BuildRequires: libXmu-devel
+BuildRequires: libXrandr-devel
 BuildRequires: libxshmfence-devel
 BuildRequires: eudev-libudev-devel
-BuildRequires: llvm-devel >= 3.4
+BuildRequires: llvm-devel >= 7.0.0
 %if 0%{?with_opencl}
 BuildRequires: clang-devel >= 3.3
 %endif
@@ -416,17 +414,9 @@ cp -f %{SOURCE2} src/gallium/auxiliary/vl/vl_mpeg12_decoder.c
 
 cp %{SOURCE4} docs/
 
-# this is a hack for S3TC support. r200_screen.c is symlinked to
-# radeon_screen.c in git, but is its own file in the tarball.
-cp -f src/mesa/drivers/dri/{radeon,r200}/radeon_screen.c
-
 
 %build
 
-# default to dri (not xlib) for libGL on all arches
-# XXX please fix upstream
-sed -i 's/^default_driver.*$/default_driver="dri"/' configure.ac
-
 autoreconf -vfi
 
 # C++ note: we never say "catch" in the source.  we do say "typeid" once,
@@ -472,7 +462,7 @@ export LDFLAGS="-static-libstdc++"
     --with-llvm-shared-libs \
     --enable-dri \
     --enable-xa \
-    --with-gallium-drivers=svga,r300,r600,radeonsi,nouveau,swrast \
+    --with-gallium-drivers=svga,r300,r600,radeonsi,nouveau,swrast,virgl \
     %{?dri_drivers}
 
 # libtool refuses to pass through things you ask for in LDFLAGS that it doesn't
@@ -787,6 +777,10 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Wed Dec 05 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 18.2.6-1
+- updated to 18.2.6.
+- dropped Patch2, 4, 10 and 11.
+
 * Mon Jan 01 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 17.3.1-1
 - updated to 17.3.1.
 - replaced all patches from rawhide.