1
0
vulkan-validationlayers/vulkan-validationlayers.spec
Jan Engelhardt d1df6a7704 Accepting request 995243 from home:dirkmueller:Factory
- update to SDK-1.3.224:
  * Add issues to the apiext:VK_KHR_dynamic_rendering proposal document
    discussing render area granularity (public issue 1899).
  * Clarify external synchronization requirements for
    ename:VK_DESCRIPTOR_BINDING_UPDATE_AFTER_BIND_BIT and
    ename:VK_DESCRIPTOR_BINDING_UPDATE_UNUSED_WHILE_PENDING_BIT
    elink:VkDescriptorBindingFlagBits and flink:vkUpdateDescriptorSets
    (public issue 1713).
  * Add Vulkan 1.0 valid usage statement for *Subgroup* memory scope to
    <<spirvenv-module-validation-standalone, Standalone SPIR-V Validation>>
    (public merge request 1900).
  * Move "`Hit Kind`" valid usage statement from standalone to runtime
    SPIR-V validation statements (public merge request 1903).
  * Use correct feature in
    ename:VK_PIPELINE_ROBUSTNESS_BUFFER_BEHAVIOR_ROBUST_BUFFER_ACCESS_2_EXT
    description (public pull request 1892).
  * GitHub CI: Regenerate and build-test Rust Vulkan bindings (Ash crate)
    (public pull request 1894).
  * Add dependency of apiext:VK_EXT_blend_operation_advanced on
    apiext:VK_KHR_get_physical_device_properties2. (public merge request
    1887).
  * Update xrefs to features so the feature name is used as the link text,
    and marked up consistently. Added a section to the style guide on markup
    of feature xrefs (public issue 1889).
    elink:VK_COLOR_SPACE_PASS_THROUGH_EXT for a linear or non-gamma transfer
    function color space (public merge request 1729).
  * Fix clamp expression for d_{lo} in the
    <<textures-level-of-detail-operation, Level-of-Detail Operation>>
    section (partial fix for public issue 1836).
  * Update <<spirvenv-module-validation-standalone, Standalone SPIR-V

OBS-URL: https://build.opensuse.org/request/show/995243
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=98
2022-08-22 22:53:00 +00:00

104 lines
3.0 KiB
RPMSpec

#
# spec file for package vulkan-validationlayers
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: vulkan-validationlayers
Version: 1.3.224
Release: 0
%define lname libVkLayer_utils-1_3_224
Summary: Validation layers for Vulkan
License: Apache-2.0
Group: Development/Tools/Other
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
Source: https://github.com/KhronosGroup/Vulkan-ValidationLayers/archive/refs/tags/v%{version}.tar.gz
Patch1: ver.diff
Patch2: xxhash.diff
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 11.9.0
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-headers >= 1.6.1+sdk216
BuildRequires: spirv-tools-devel >= 2022.3~sdk216
BuildRequires: xxhash-devel
BuildRequires: pkgconfig(vulkan) >= 1.3.216
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1
Obsoletes: vulkan < 1.1
%description
Vulkan is a 3D graphics and compute API.
This package contains the Khronos official Vulkan validation layers.
%package -n %lname
Summary: Vulkan validation layer utility library
Group: System/Libraries
%description -n %lname
Vulkan is a 3D graphics and compute API.
This package contains a utility library.
%package devel
Summary: Vulkan validation layer support files
Group: Development/Libraries/C and C++
Requires: %lname = %version
Requires: xxhash-devel
%description devel
Vulkan is a 3D graphics and compute API.
This package contains support files for the VkLayer utility library.
%prep
%autosetup -n Vulkan-ValidationLayers-%version -p1
perl -i -pe 's{\@PACKAGE_VERSION\@}{%version}' CMakeLists.txt
%build
%limit_build -m 2000
%cmake -DGLSLANG_INSTALL_DIR="%_bindir" \
-DSPIRV_HEADERS_INSTALL_DIR="%_includedir" \
-DBUILD_LAYER_SUPPORT_FILES=ON \
-DUSE_ROBIN_HOOD_HASHING=OFF
%cmake_build
%install
%cmake_install
b="%buildroot"
ln -sv "libVkLayer_utils-%version.so" "$b/%_libdir/libVkLayer_utils.so"
rm -f "$b/%_includedir"/xxhash.*
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files
%license LICENSE.txt
%_libdir/libVkLayer_khr*.so
%_datadir/vulkan/
%files -n %lname
%_libdir/libVkLayer_utils-%version.so
%files devel
%_includedir/*
%_libdir/libVkLayer_utils.so
%changelog