/[packages]/cauldron/mesa/current/SPECS/mesa.spec
ViewVC logotype

Diff of /cauldron/mesa/current/SPECS/mesa.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1172969 by tv, Sat Oct 21 13:09:15 2017 UTC revision 1173701 by tv, Wed Oct 25 15:46:40 2017 UTC
# Line 19  Line 19 
19  # define version, RC & release  # define version, RC & release
20  %define main_version            17.2.3  %define main_version            17.2.3
21  #define relc                    5  #define relc                    5
22  %define rel                     2  %define rel                     3
23    
24  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}
25    
# Line 172  Source3:       make-git-snapshot.sh Line 172  Source3:       make-git-snapshot.sh
172  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/
173  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat
174    
175    # https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc
176    Patch0:         0001-mesa-Squash-merge-of-S3TC-support.patch
177    
178  # Patches from ChromiumOS  # Patches from ChromiumOS
179  # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD  # http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=tree;f=media-libs/mesa/files;hb=HEAD
180    
# Line 195  Obsoletes:     %{oldlibglname} < 6.4 Line 198  Obsoletes:     %{oldlibglname} < 6.4
198  Provides:       %{oldlibglname} = %{version}-%{release}  Provides:       %{oldlibglname} = %{version}-%{release}
199  Provides:       %{libglname_virt} = %{version}-%{release}  Provides:       %{libglname_virt} = %{version}-%{release}
200  Requires:       %{dridrivers} >= %{version}-%{release}  Requires:       %{dridrivers} >= %{version}-%{release}
 %if %{build_plf}  
 Requires:       %mklibname txc-dxtn  
 %endif  
201    
202  # (anssi) Forces the upgrade of x11-server-common to happen before  # (anssi) Forces the upgrade of x11-server-common to happen before
203  # alternatives removal, which allows x11-server-common to grab the symlink.  # alternatives removal, which allows x11-server-common to grab the symlink.
# Line 398  Requires:      %{libglesv2name}-devel = %{ver Line 398  Requires:      %{libglesv2name}-devel = %{ver
398    
399  %description  %description
400  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
 %if %{build_plf}  
   
 This package is in the "tainted" section because it enables some  
 OpenGL extentions that are covered by software patents.  
 %endif  
401    
402  %description common-devel  %description common-devel
403  Mesa common metapackage devel  Mesa common metapackage devel
# Line 419  EGL development parts. Line 414  EGL development parts.
414  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
415  GL and GLX parts.  GL and GLX parts.
416    
 %if %{build_plf}  
 This package is in the "tainted" section because it enables some  
 OpenGL extentions that are covered by software patents.  
 %endif  
   
417  %description -n %{dridrivers}  %description -n %{dridrivers}
418  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
419  DRI drivers.  DRI drivers.
# Line 525  This package contains the development fi Line 515  This package contains the development fi
515  %prep  %prep
516  %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1  %autosetup -n %{name}-%{version}%{?relc:-rc%{relc}} -p1
517    
518    # this is a hack for S3TC support. r200_screen.c is symlinked to
519    # radeon_screen.c in git, but is its own file in the tarball.
520    cp -f src/mesa/drivers/dri/{radeon,r200}/radeon_screen.c
521    
522  %build  %build
523  # (re)generate auto* generated files using our autotools and libtoolize  # (re)generate auto* generated files using our autotools and libtoolize
524  autoreconf -vfi  autoreconf -vfi
# Line 549  automake --add-missing Line 543  automake --add-missing
543                  --enable-gbm \                  --enable-gbm \
544                  --enable-glx \                  --enable-glx \
545                  --enable-glx-tls \                  --enable-glx-tls \
 %if %{build_plf}  
546                  --enable-texture-float=yes  \                  --enable-texture-float=yes  \
 %endif  
547                  --enable-llvm \                  --enable-llvm \
548                  --enable-dri \                  --enable-dri \
549                  --enable-xa \                  --enable-xa \

Legend:
Removed from v.1172969  
changed lines
  Added in v.1173701

  ViewVC Help
Powered by ViewVC 1.1.26