/[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 1156912 by tv, Thu Sep 21 20:15:53 2017 UTC revision 1214928 by tv, Tue Apr 3 09:05:26 2018 UTC
# Line 1  Line 1 
 %if "%distro_section" == "tainted"  
 %global build_plf 1  
 %else  
 %global build_plf 0  
 %endif  
   
1  # (cg) Cheater...  # (cg) Cheater...
2  %define Werror_cflags %nil  %define Werror_cflags %nil
3    
# Line 12  Line 6 
6    
7  # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e  # https://cgit.freedesktop.org/mesa/mesa/commit/?h=13.0&id=3bb0415ab96f74183f7aa58c1a543448653ccb3e
8  %define git 0  %define git 0
9  %define git_branch 17.1  %define git_branch 18.0
10    
11  %define opengl_ver 4.5  %define opengl_ver 4.5
12    
13  # define version, RC & release  # define version, RC & release
14  %define main_version            17.2.1  %define main_version            18.0.0
15  #define relc                    5  #define relc                    5
16  %define rel                     3  %define rel                     1
17    
18  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}
19    
# Line 99  Line 93 
93  %define base_drivers swrast,nouveau,radeon,r200  %define base_drivers swrast,nouveau,radeon,r200
94  %ifarch %{ix86} x86_64  %ifarch %{ix86} x86_64
95  %define platform_drivers ,i915,i965  %define platform_drivers ,i915,i965
96    %define gallium_platform_drivers ,svga
97  %endif  %endif
98  %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}  %define dri_drivers --with-dri-drivers=%{?base_drivers}%{?platform_drivers}
99    
# Line 120  BuildRequires: pkgconfig(xdamage)      >= 1.1 Line 115  BuildRequires: pkgconfig(xdamage)      >= 1.1
115  BuildRequires:  pkgconfig(expat)                >= 2.0.1  BuildRequires:  pkgconfig(expat)                >= 2.0.1
116  BuildRequires:  gccmakedep  BuildRequires:  gccmakedep
117  BuildRequires:  x11-proto-devel         >= 7.3  BuildRequires:  x11-proto-devel         >= 7.3
118  BuildRequires:  pkgconfig(libdrm)       >= 2.4.60  BuildRequires:  pkgconfig(libdrm)       >= 2.4.91
119  BuildRequires:  pkgconfig(xcb-dri3)  BuildRequires:  pkgconfig(xcb-dri3)
120  BuildRequires:  pkgconfig(xcb-present)  >= 1.11  BuildRequires:  pkgconfig(xcb-present)  >= 1.11
121  BuildRequires:  pkgconfig(xext)         >= 1.1.1  BuildRequires:  pkgconfig(xext)         >= 1.1.1
122  BuildRequires:  pkgconfig(xxf86vm)      >= 1.1.0  BuildRequires:  pkgconfig(xxf86vm)      >= 1.1.0
123  BuildRequires:  pkgconfig(xi)           >= 1.3  BuildRequires:  pkgconfig(xi)           >= 1.3
124  BuildRequires:  pkgconfig(talloc)  BuildRequires:  pkgconfig(talloc)
125  BuildRequires:  libxml2-python  BuildRequires:  python3-libxml2
126  BuildRequires:  python-mako  BuildRequires:  python3-mako
127  BuildRequires:  makedepend  BuildRequires:  makedepend
128  BuildRequires:  bison  BuildRequires:  bison
129  BuildRequires:  flex  BuildRequires:  flex
# Line 172  Source3:       make-git-snapshot.sh Line 167  Source3:       make-git-snapshot.sh
167  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/  # http://pkgs.fedoraproject.org/cgit/rpms/mesa.git/
168  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat  # git format-patch --start-number 300 mdv-cherry-picks..mdv-redhat
169    
170    # https://cgit.freedesktop.org/~ajax/mesa/log/?h=mesa-17.2-s3tc
171    
172  # Patches from ChromiumOS  # Patches from ChromiumOS
173  # 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
174    
# Line 195  Obsoletes:     %{oldlibglname} < 6.4 Line 192  Obsoletes:     %{oldlibglname} < 6.4
192  Provides:       %{oldlibglname} = %{version}-%{release}  Provides:       %{oldlibglname} = %{version}-%{release}
193  Provides:       %{libglname_virt} = %{version}-%{release}  Provides:       %{libglname_virt} = %{version}-%{release}
194  Requires:       %{dridrivers} >= %{version}-%{release}  Requires:       %{dridrivers} >= %{version}-%{release}
 %if %{build_plf}  
 Requires:       %mklibname txc-dxtn  
 %endif  
195    
196  # (anssi) Forces the upgrade of x11-server-common to happen before  # (anssi) Forces the upgrade of x11-server-common to happen before
197  # 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 392  Requires:      %{libglesv2name}-devel = %{ver
392    
393  %description  %description
394  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  
395    
396  %description common-devel  %description common-devel
397  Mesa common metapackage devel  Mesa common metapackage devel
# Line 419  EGL development parts. Line 408  EGL development parts.
408  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
409  GL and GLX parts.  GL and GLX parts.
410    
 %if %{build_plf}  
 This package is in the "tainted" section because it enables some  
 OpenGL extentions that are covered by software patents.  
 %endif  
   
411  %description -n %{dridrivers}  %description -n %{dridrivers}
412  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.  Mesa is an OpenGL %{opengl_ver} compatible 3D graphics library.
413  DRI drivers.  DRI drivers.
# Line 549  automake --add-missing Line 533  automake --add-missing
533                  --enable-gbm \                  --enable-gbm \
534                  --enable-glx \                  --enable-glx \
535                  --enable-glx-tls \                  --enable-glx-tls \
 %if %{build_plf}  
536                  --enable-texture-float=yes  \                  --enable-texture-float=yes  \
 %endif  
537                  --enable-llvm \                  --enable-llvm \
538                  --enable-dri \                  --enable-dri \
539                  --enable-xa \                  --enable-xa \
540                  --enable-nine \                  --enable-nine \
541                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,svga,swrast,virgl \                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl%{?gallium_platform_drivers} \
542          %{?dri_drivers}          %{?dri_drivers}
543                  # end of configure options                  # end of configure options
544    

Legend:
Removed from v.1156912  
changed lines
  Added in v.1214928

  ViewVC Help
Powered by ViewVC 1.1.30