vulkan-validationlayers/vulkan-validationlayers.spec

68 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# spec file for package vulkan-validationlayers
#
# Copyright (c) 2020 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
Accepting request 776213 from home:alarrosa:branches:X11:Wayland - Update to 1.2.133 * tests: Add positive and negative non-semantic info tests * layers: Validate non-semantic info extension * tests: Touch up some incorrect errorMonitor calls * tests: Added tests for CmdBlitImage planar VUIDs * corechecks: Add CmdBlitImage multiplanar format checks * tests: Add test for vkCmdCopyImage VUID * layers: Add support for vkCmdCopyImage VUID * corechecks: Correct conditions for triggering VUID 1564 * layers: Fix false errors if query condition is unknown * layers: Fix string validation returned results * scripts: Rename src argument for safe_* copy funcs * scripts: Only use safe_* types when needed * scripts: Handle arrays with const/non-member len * scripts: Fix codegen infinite recursion * tests: Add test for 01004 and 02652 * layers: Add support for 01004 and 02652 * tests: Remove non-API range enums * layers: Remove non-API range enums * layers: Remove deprecated log_msg() function * layers: Removed last log_msg calls * tests: Added test for 00624 and 00625 * stateless: Added support for 00624 and 00625 * tests: Add test for 00360 * layers: Add support for 00360 * tests: Add tests for 01973 and 01069 * layers: Add support for 01973 and 01069 * layers: Update stateless validation doc * corechecks: Convert core val to use new logging funcs * corechecks: Converted buffer validation to new logging funcs OBS-URL: https://build.opensuse.org/request/show/776213 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=43
2020-02-20 11:06:16 +01:00
Version: 1.2.133
Release: 0
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/v%version.tar.gz
Source9: %name-rpmlintrc
BuildRequires: cmake >= 3.4
BuildRequires: gcc-c++ >= 4.8
BuildRequires: glslang-devel >= 8.13.3559+git20
BuildRequires: memory-constraints
BuildRequires: pkg-config
BuildRequires: python3-base
BuildRequires: spirv-tools-devel >= 2020.1~git24
BuildRequires: pkgconfig(vulkan) >= 1.1.112
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcb)
Conflicts: vulkan < 1.1
Obsoletes: vulkan < 1.1
%description
Vulkan is a 3D graphics and compute API providing cross-platform
access to modern GPUs with low overhead and targeting realtime
graphics applications such as games and interactive media.
This package contains the Khronos official Vulkan validation layers.
%prep
%autosetup -n Vulkan-ValidationLayers-%version
%build
%limit_build -m 2000
%cmake -DGLSLANG_INSTALL_DIR="%_bindir"
make %{?_smp_mflags}
%install
%cmake_install
# no header files
rm -f "%buildroot/%_libdir"/*.a
%files
%license LICENSE.txt
%_libdir/libVkLayer*.so
%_datadir/vulkan/
%changelog