vulkan-validation-layers-vl.spec 4.1 KB

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