vulkan-validation-layers-vl.spec 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. Name: vulkan-validation-layers
  2. Summary: Vulkan validation layers
  3. Version: 1.2.135.0
  4. Release: 2%{?_dist_release}
  5. Vendor: Project Vine
  6. Distribution: Vine Linux
  7. License: ASL 2.0
  8. URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
  9. Source0: %url/archive/sdk-%{version}.tar.gz#/Vulkan-ValidationLayers-sdk-%{version}.tar.gz
  10. Patch0: fix_shared.patch
  11. BuildRequires: gcc
  12. BuildRequires: gcc-c++
  13. BuildRequires: cmake
  14. BuildRequires: glslang-devel
  15. BuildRequires: ninja
  16. BuildRequires: python3-devel
  17. BuildRequires: spirv-tools-devel
  18. BuildRequires: vulkan-loader-devel
  19. #BuildRequires: pkgconfig(wayland-client)
  20. #BuildRequires: pkgconfig(wayland-cursor)
  21. #BuildRequires: pkgconfig(wayland-server)
  22. #BuildRequires: pkgconfig(wayland-egl)
  23. BuildRequires: pkgconfig(x11)
  24. BuildRequires: pkgconfig(xrandr)
  25. BuildRequires: pkgconfig(xcb)
  26. %description
  27. Vulkan validation layers
  28. %package devel
  29. Summary: Development files for %{name}
  30. Requires: %{name}%{?_isa} = %{version}-%{release}
  31. Requires: vulkan-headers
  32. %description devel
  33. The %{name}-devel package contains libraries and header files for
  34. developing applications that use %{name}.
  35. %debug_package
  36. %prep
  37. %autosetup -p1 -n Vulkan-ValidationLayers-sdk-%{version}
  38. # https://github.com/KhronosGroup/Vulkan-ValidationLayers/commit/bb145f36fc6468faeb4862b9c83ce807f33afcc5
  39. sed -i -e "s/kInst2MaxOutCnt/kInstMaxOutCnt/" layers/gpu_validation.cpp
  40. %build
  41. # Decrease debuginfo verbosity to reduce memory consumption even more
  42. %global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
  43. %cmake -GNinja \
  44. -DCMAKE_BUILD_TYPE=Release \
  45. -DGLSLANG_INSTALL_DIR=%{_prefix} \
  46. -DBUILD_LAYER_SUPPORT_FILES:BOOL=ON \
  47. -DBUILD_WSI_WAYLAND_SUPPORT=off \
  48. -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir}/vulkan/ .
  49. %ninja_build
  50. %install
  51. %ninja_install
  52. %post -p /sbin/ldconfig
  53. %postun -p /sbin/ldconfig
  54. %files
  55. %license LICENSE.txt
  56. %doc README.md CONTRIBUTING.md
  57. %{_datadir}/vulkan/explicit_layer.d/*.json
  58. %{_libdir}/libVkLayer_*.so
  59. %files devel
  60. %{_includedir}/vulkan/
  61. %changelog
  62. * Thu Jul 30 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.2.135.0-2
  63. - initial build for Vine Linux.
  64. * Wed Apr 22 2020 Dave Airlie <airlied@redhat.com> - 1.2.135.0-1
  65. - Update validation layers to 1.2.135.0
  66. * Wed Jan 29 2020 Dave Airlie <airlied@redhat.com> - 1.2.131.1-1
  67. - Update validation layers to 1.2.131.1
  68. * Wed Nov 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.126.0-1
  69. - Update validation layers to 1.1.126.0
  70. * Wed Jul 31 2019 Dave Airlie <airlied@redhat.com> - 1.1.114.0-1
  71. - Update validation layers to 1.1.114.0
  72. * Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.108.0-2
  73. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  74. * Tue Jun 25 2019 Dave Airlie <airlied@redhat.com> - 1.1.108.0-1
  75. - Update valdiation layers to 1.1.108.0
  76. * Wed Mar 06 2019 Dave Airlie <airlied@redhat.com> - 1.1.101.0-1
  77. - Update valdiation layers to 1.1.101.0
  78. * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.97.0-1
  79. - Update validation layers to 1.1.97.0
  80. * Wed Feb 13 2019 Dave Airlie <airlied@redhat.com> - 1.1.92.0-1
  81. - Update validation layers to 1.1.92.0
  82. * Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.82.0-2
  83. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  84. * Tue Aug 07 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.82.0-1
  85. - Update to 1.1.82.0
  86. * Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.77.0-4
  87. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  88. * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-3
  89. - Workaround i686 build issue
  90. * Tue Jun 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-2
  91. - Exclude i686 due to 'virtual memory exhausted' FTBFS
  92. * Sat Jun 23 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.77.0-1
  93. - Initial package