/[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 1214970 by tv, Tue Apr 3 09:24:53 2018 UTC revision 1219359 by ovitters, Mon Apr 16 16:22:09 2018 UTC
# Line 1  Line 1 
1  %bcond_with wayland  %bcond_without wayland
2    
3  # (cg) Cheater...  # (cg) Cheater...
4  %define Werror_cflags %nil  %define Werror_cflags %nil
# Line 15  Line 15 
15  # define version, RC & release  # define version, RC & release
16  %define main_version            18.0.0  %define main_version            18.0.0
17  #define relc                    5  #define relc                    5
18  %define rel                     2  %define rel                     7
19    
20  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}  %define release                 %mkrel %{?relc:0.rc%{relc}.}%{rel}
21    
# Line 86  Line 86 
86    
87  %define mesasrcdir              %{_prefix}/src/Mesa/  %define mesasrcdir              %{_prefix}/src/Mesa/
88    
89    %define with_vaapi 1
90    
91  # (akien) Not adding on arm as it would break the build there  # (akien) Not adding on arm as it would break the build there
92  %define enable_vulkan   0  %define enable_vulkan   0
93  %ifarch %{ix86} x86_64  %ifarch %{ix86} x86_64
94  %define enable_vulkan   1  %define enable_vulkan   1
95  %endif  %endif
96    
97    
98    %ifarch %{arm} aarch64
99    %define with_etnaviv   1
100    %define with_freedreno 1
101    %define with_vc4       1
102    %endif
103    
104  %define base_drivers swrast,nouveau,radeon,r200  %define base_drivers swrast,nouveau,radeon,r200
105  %ifarch %{ix86} x86_64  %ifarch %{ix86} x86_64
106  %define platform_drivers ,i915,i965  %define platform_drivers ,i915,i965
# Line 132  BuildRequires:  flex Line 141  BuildRequires:  flex
141  BuildRequires:  pkgconfig(libelf)  BuildRequires:  pkgconfig(libelf)
142  BuildRequires:  llvm-devel >= 3.9.1-5  BuildRequires:  llvm-devel >= 3.9.1-5
143  BuildRequires:  pkgconfig(libudev)  BuildRequires:  pkgconfig(libudev)
144    %if 0%{?with_vaapi}
145  BuildRequires:  pkgconfig(libva)  BuildRequires:  pkgconfig(libva)
146    %endif
147  BuildRequires:  pkgconfig(vdpau)  BuildRequires:  pkgconfig(vdpau)
148  %if %{with wayland}  %if %{with wayland}
149  BuildRequires: pkgconfig(wayland-client)  BuildRequires: pkgconfig(wayland-client)
# Line 537  automake --add-missing Line 548  automake --add-missing
548                  --enable-gles2 \                  --enable-gles2 \
549                  --disable-xvmc \                  --disable-xvmc \
550                  --enable-vdpau \                  --enable-vdpau \
551                  --enable-va \                  %{?with_vaapi:--enable-va} \
552                  --with-platforms=x11,drm,surfaceless%{?with_wayland:,wayland} \                  --with-platforms=x11,drm,surfaceless%{?with_wayland:,wayland} \
553                  --enable-shared-glapi \                  --enable-shared-glapi \
554                  --enable-gbm \                  --enable-gbm \
# Line 548  automake --add-missing Line 559  automake --add-missing
559                  --enable-dri \                  --enable-dri \
560                  --enable-xa \                  --enable-xa \
561                  --enable-nine \                  --enable-nine \
562                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl%{?gallium_platform_drivers} \                  --with-gallium-drivers=r300,r600,radeonsi,nouveau,swrast,%{?with_freedreno:freedreno,}%{?with_etnaviv:etnaviv,imx,}%{?with_vc4:vc4,}virgl%{?gallium_platform_drivers} \
563          %{?dri_drivers}          %{?dri_drivers}
564                  # end of configure options                  # end of configure options
565    

Legend:
Removed from v.1214970  
changed lines
  Added in v.1219359

  ViewVC Help
Powered by ViewVC 1.1.30