forked from pool/vulkan-utility-libraries
- Initial package for build.opensuse.org (version 1.3.268.0)
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-utility-libraries?expand=0&rev=1
This commit is contained in:
commit
8f7b55231f
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
shared.diff
Normal file
19
shared.diff
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
src/layer/CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: Vulkan-Utility-Libraries/src/layer/CMakeLists.txt
|
||||
===================================================================
|
||||
--- Vulkan-Utility-Libraries.orig/src/layer/CMakeLists.txt
|
||||
+++ Vulkan-Utility-Libraries/src/layer/CMakeLists.txt
|
||||
@@ -5,8 +5,9 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
set(CMAKE_FOLDER "${CMAKE_FOLDER}/VulkanLayerSettings")
|
||||
|
||||
-add_library(VulkanLayerSettings STATIC)
|
||||
+add_library(VulkanLayerSettings SHARED)
|
||||
add_library(Vulkan::LayerSettings ALIAS VulkanLayerSettings)
|
||||
+set_target_properties(VulkanLayerSettings PROPERTIES LIBRARY_OUTPUT_NAME VulkanLayerSettings-1.3.268.0)
|
||||
|
||||
target_sources(VulkanLayerSettings PRIVATE
|
||||
vk_layer_settings.cpp
|
BIN
vulkan-sdk-1.3.268.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
vulkan-sdk-1.3.268.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
4
vulkan-utility-libraries.changes
Normal file
4
vulkan-utility-libraries.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 27 05:19:18 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package for build.opensuse.org (version 1.3.268.0)
|
86
vulkan-utility-libraries.spec
Normal file
86
vulkan-utility-libraries.spec
Normal file
@ -0,0 +1,86 @@
|
||||
#
|
||||
# spec file for package vulkan-utility-libraries
|
||||
#
|
||||
# Copyright (c) 2023 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/
|
||||
#
|
||||
|
||||
|
||||
%define lname libVulkanLayerSettings-1_3_268_0
|
||||
Name: vulkan-utility-libraries
|
||||
Version: 1.3.268.0
|
||||
Release: 0
|
||||
Summary: Utility libraries for Vulkan
|
||||
License: Apache-2.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/KhronosGroup/Vulkan-Utility-Libraries
|
||||
Source: https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/refs/tags/vulkan-sdk-%version.tar.gz
|
||||
Patch1: shared.diff
|
||||
BuildRequires: c++_compiler
|
||||
BuildRequires: cmake >= 3.17.2
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: vulkan-headers >= 1.3.268
|
||||
Obsoletes: vulkan < %version-%release
|
||||
Provides: vulkan = %version-%release
|
||||
|
||||
%description
|
||||
The Vulkan::LayerSettings library standardizes layer
|
||||
configuration code for various SDK layer deliverables.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Utility library for Vulkan
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %lname
|
||||
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.
|
||||
|
||||
The Vulkan::LayerSettings library standardizes layer
|
||||
configuration code for various SDK layer deliverables.
|
||||
|
||||
%package devel
|
||||
Summary: Utility library for Vulkan
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version-%release
|
||||
|
||||
%description devel
|
||||
The Vulkan::LayerSettings library standardizes layer
|
||||
configuration code for various SDK layer deliverables.
|
||||
|
||||
This package contains the headers and build system integration.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n Vulkan-Utility-Libraries-vulkan-sdk-%version
|
||||
|
||||
%build
|
||||
%cmake
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
ln -s libVulkanLayerSettings-%version.so "%buildroot/%_libdir/libVulkanLayerSettings.so"
|
||||
|
||||
%post -n %lname -p /sbin/ldconfig
|
||||
%postun -n %lname -p /sbin/ldconfig
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libVulkanLayerSettings-*.so
|
||||
|
||||
%files devel
|
||||
%_includedir/vulkan/
|
||||
%_libdir/cmake/
|
||||
%_libdir/libVulkanLayerSettings.so
|
||||
%license LICENSE.md
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user