forked from pool/vulkan-validationlayers
Jan Engelhardt
8a9f08969c
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=13
74 lines
2.1 KiB
RPMSpec
74 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package vulkan-validationlayers
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define version_unconverted 1.1.102
|
|
|
|
Name: vulkan-validationlayers
|
|
Version: 1.1.102
|
|
Release: 0
|
|
Summary: Validation layers for Vulkan
|
|
License: Apache-2.0
|
|
Group: Development/Libraries/C and C++
|
|
URL: https://github.com/KhronosGroup/Vulkan-ValidationLayers
|
|
Source: Vulkan-ValidationLayers-%version.tar.xz
|
|
BuildRequires: cmake >= 2.8.11
|
|
BuildRequires: gcc-c++ >= 4.8
|
|
BuildRequires: glslang-devel
|
|
BuildRequires: pkg-config
|
|
BuildRequires: python3-base
|
|
BuildRequires: spirv-tools-devel >= 2019.2
|
|
BuildRequires: pkgconfig(vulkan) >= 1.1.95
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xcb)
|
|
|
|
%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.
|
|
|
|
%package devel
|
|
Summary: Development files for Vulkan validation layers
|
|
Group: Development/Libraries/C and C++
|
|
|
|
%description devel
|
|
This subpackage contains header files and a static library for
|
|
Vulkan validation layers.
|
|
|
|
%prep
|
|
%setup -qn Vulkan-ValidationLayers-%version
|
|
|
|
%build
|
|
%cmake -DGLSLANG_INSTALL_DIR="%_bindir"
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%license LICENSE.txt
|
|
%_libdir/libVkLayer*.so
|
|
%_datadir/vulkan/
|
|
|
|
%files devel
|
|
%_includedir/*
|
|
%_libdir/*.a
|
|
|
|
%changelog
|