/[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 1041910 by tmb, Sun Jul 10 14:49:58 2016 UTC revision 1041911 by akien, Wed Jul 13 16:47:06 2016 UTC
# Line 50  Line 50 
50  %define gbmname                 gbm  %define gbmname                 gbm
51  %define waylandeglname          wayland-egl  %define waylandeglname          wayland-egl
52  %define xaname                  xatracker  %define xaname                  xatracker
53    %define vulkanname              vulkan
54    
55  %define d3dmajor                1  %define d3dmajor                1
56  %define eglmajor                1  %define eglmajor                1
# Line 76  Line 77 
77  %define libwaylandeglname       %mklibname %{waylandeglname} %{waylandeglmajor}  %define libwaylandeglname       %mklibname %{waylandeglname} %{waylandeglmajor}
78  %define libosmesaname           %mklibname osmesa %{osmesamajor}  %define libosmesaname           %mklibname osmesa %{osmesamajor}
79  %define libxaname               %mklibname %{xaname} %{xamajor}  %define libxaname               %mklibname %{xaname} %{xamajor}
80    %define libvulkanname           %mklibname %{vulkanname}
81    
82  %define dridrivers              %mklibname dri-drivers  %define dridrivers              %mklibname dri-drivers
83    
# Line 103  Line 105 
105  %define enable_vg               0  %define enable_vg               0
106  %define enable_wayland          1  %define enable_wayland          1
107    
108    # (akien) Not adding on arm as it would break the build there
109    %define enable_vulkan   0
110    %ifarch %{ix86} x86_64
111    %define enable_vulkan   1
112    %endif
113    
114  #FIXME: (for 386/485) unset SSE, MMX and 3dnow flags  #FIXME: (for 386/485) unset SSE, MMX and 3dnow flags
115  #FIXME: (for >=i586)  disable sse  #FIXME: (for >=i586)  disable sse
116  #       SSE seems to have problem on some apps (gtulpas) for probing.  #       SSE seems to have problem on some apps (gtulpas) for probing.
# Line 399  Provides:      lib%{xaname}-devel Line 407  Provides:      lib%{xaname}-devel
407  Provides:       %{libxaname}-devel  Provides:       %{libxaname}-devel
408  %endif  %endif
409    
410    %if %{enable_vulkan}
411    %package -n %{libvulkanname}_intel
412    Summary:        Mesa vulkan driver for Intel GPU
413    Group:          System/Libraries
414    
415    %package -n %{libvulkanname}-devel
416    Summary:        Mesa's Vulkan development files
417    Group:          Development/C
418    Requires:       %{libvulkanname}_intel = %{version}-%{release}
419    Provides:       libvulkan-devel
420    Provides:       libvulkan_intel-devel
421    %endif
422    
423  %package        common-devel  %package        common-devel
424  Summary:        Meta package for mesa devel  Summary:        Meta package for mesa devel
425  Group:          Development/C  Group:          Development/C
# Line 545  This packages provides a VPDAU plugin to Line 566  This packages provides a VPDAU plugin to
566  with the radeonsi driver.  with the radeonsi driver.
567  %endif  %endif
568    
569    %if %{enable_vulkan}
570    %description -n %{libvulkanname}_intel
571    This package contains the Vulkan parts for Mesa's Intel driver.
572    
573    %description -n %{libvulkanname}-devel
574    This package contains the development files for Mesa's Vulkan implementation.
575    %endif
576    
577  #------------------------------------------------------------------------------  #------------------------------------------------------------------------------
578    
579  %prep  %prep
# Line 575  automake --add-missing Line 604  automake --add-missing
604                  --enable-glx-tls \                  --enable-glx-tls \
605                  --with-dri-driverdir=%{driver_dir} \                  --with-dri-driverdir=%{driver_dir} \
606                  --with-dri-drivers="%{dri_drivers}" \                  --with-dri-drivers="%{dri_drivers}" \
607    %if %{enable_vulkan}
608                    --with-vulkan-drivers=intel \
609    %endif
610                  --enable-va \                  --enable-va \
611  %if %{enable_egl}  %if %{enable_egl}
612                  --enable-egl \                  --enable-egl \
# Line 816  find %{buildroot} -name '*.la' -delete Line 848  find %{buildroot} -name '*.la' -delete
848  %files -n %{_lib}vdpau-driver-radeonsi  %files -n %{_lib}vdpau-driver-radeonsi
849  %{_libdir}/vdpau/libvdpau_radeonsi.so.*  %{_libdir}/vdpau/libvdpau_radeonsi.so.*
850  %endif  %endif
851    
852    %if %{enable_vulkan}
853    %files -n %{libvulkanname}_intel
854    %dir %{_datadir}/vulkan
855    %dir %{_datadir}/vulkan/icd.d
856    %{_datadir}/vulkan/icd.d/intel_icd.json
857    # (akien) No lib major?
858    %{_libdir}/libvulkan_intel.so
859    
860    %files -n %{libvulkanname}-devel
861    %{_includedir}/vulkan/
862    %endif

Legend:
Removed from v.1041910  
changed lines
  Added in v.1041911

  ViewVC Help
Powered by ViewVC 1.1.26