[info=64452ce857c3874cb18a82b9e1fb00bab87a27d0222953746f61b05a91248c8c]
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-volk?expand=0&rev=14
This commit is contained in:
commit
c748be771d
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
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1728407237
|
||||
commit: 64452ce857c3874cb18a82b9e1fb00bab87a27d0222953746f61b05a91248c8c
|
||||
url: https://src.opensuse.org/jengelh/vulkan-volk
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:290ea98f0ad21c2c8ad657c2dc8bd7ded8932f81822cf14dd4d8f9b994e694a6
|
||||
size 256
|
21
shared.diff
Normal file
21
shared.diff
Normal file
@ -0,0 +1,21 @@
|
||||
From: Jan Engelhardt <jengelh@inai.de>
|
||||
Date: 2024-01-19 11:52:08.473079444 +0100
|
||||
|
||||
---
|
||||
CMakeLists.txt | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
Index: volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
||||
===================================================================
|
||||
--- volk-vulkan-sdk-1.3.280.0.orig/CMakeLists.txt
|
||||
+++ volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
||||
@@ -31,7 +31,8 @@ endif()
|
||||
# Static library
|
||||
|
||||
if(NOT VOLK_HEADERS_ONLY OR VOLK_INSTALL)
|
||||
- add_library(volk STATIC volk.h volk.c)
|
||||
+ add_library(volk SHARED volk.h volk.c)
|
||||
+ set_target_properties(volk PROPERTIES OUTPUT_NAME "volk-@PACKAGE_VERSION@")
|
||||
add_library(volk::volk ALIAS volk)
|
||||
target_include_directories(volk PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
|
BIN
vulkan-sdk-1.3.290.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
vulkan-sdk-1.3.290.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
vulkan-sdk-1.3.296.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
vulkan-sdk-1.3.296.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
34
vulkan-volk.changes
Normal file
34
vulkan-volk.changes
Normal file
@ -0,0 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 16:37:59 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.3.296.0
|
||||
* Support new function pointers added by v296
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 23 05:21:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.3.290.0
|
||||
* Version bump only
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 16 12:28:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.3.283.0
|
||||
* Ignore pedantic check on function pointer cast for GCC
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 21 09:00:18 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release SDK-1.3.280.0
|
||||
* No changelog was provided
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 27 10:23:31 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Add more Conflict markers against libvolk.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 19 11:00:52 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package (version SDK-1.3.275.0) for build.opensuse.org
|
||||
- Add shared.diff
|
84
vulkan-volk.spec
Normal file
84
vulkan-volk.spec
Normal file
@ -0,0 +1,84 @@
|
||||
#
|
||||
# spec file for package vulkan-volk
|
||||
#
|
||||
# Copyright (c) 2024 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-volk
|
||||
%define lname libvolk-1_3_296
|
||||
Version: 1.3.296
|
||||
Release: 0
|
||||
Summary: Meta loader for the Vulkan API
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/zeux/volk
|
||||
Source: https://github.com/zeux/volk/archive/refs/tags/vulkan-sdk-%version.0.tar.gz
|
||||
Patch1: shared.diff
|
||||
BuildRequires: c_compiler
|
||||
BuildRequires: cmake
|
||||
BuildRequires: python3-base
|
||||
BuildRequires: pkgconfig(vulkan) >= %version
|
||||
|
||||
%description
|
||||
A meta loader for Vulkan.
|
||||
|
||||
%package -n %lname
|
||||
Summary: Meta loader for the Vulkan API
|
||||
Group: System/Libraries
|
||||
Conflicts: volk-devel
|
||||
|
||||
%description -n %lname
|
||||
volk is a meta loader for Vulkan. It loads entrypoints required to
|
||||
use Vulkan by means of dlopen-ing libvulkan.so.1. volk simplifies the
|
||||
use of Vulkan extensions by loading all associated entrypoints. volk
|
||||
enables loading Vulkan entrypoints directly from the driver which can
|
||||
increase performance by skipping loader dispatch overhead.
|
||||
|
||||
%package devel
|
||||
Summary: Headers for the Vulkan meta loader
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %lname = %version-%release
|
||||
# -lvolk is logically ambiguous, so block this package mix even
|
||||
# if the filesets do not overlap at all times.
|
||||
# https://github.com/zeux/volk/issues/166
|
||||
Conflicts: volk-devel
|
||||
|
||||
%description devel
|
||||
Headers needed for programs to utilize the Vulkan VOLK meta loader.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n volk-vulkan-sdk-%version.0
|
||||
perl -i -lpe 's{\@PACKAGE_VERSION\@}{%version}g' CMakeLists.txt
|
||||
|
||||
%build
|
||||
%cmake -DVOLK_INSTALL=ON
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
ln -s libvolk-%version.so "%buildroot/%_libdir/libvolk.so"
|
||||
|
||||
%ldconfig_scriptlets -n %lname
|
||||
|
||||
%files -n %lname
|
||||
%_libdir/libvolk-%version.so
|
||||
|
||||
%files devel
|
||||
%_includedir/volk*
|
||||
%_libdir/cmake/
|
||||
%_libdir/libvolk.so
|
||||
%doc LICENSE.md README.md
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user