From 04d09b0c8a923b565fb591af726769318a6b0ed07b83b33cbb8348f0411b38b0 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 21 Mar 2024 10:11:16 +0000 Subject: [PATCH] - Update to release SDK-1.3.280.0 OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-utility-libraries?expand=0&rev=9 --- shared.diff | 2 +- vulkan-sdk-1.3.275.0.tar.gz | 3 --- vulkan-sdk-1.3.280.0.tar.gz | 3 +++ vulkan-utility-libraries.changes | 6 ++++++ vulkan-utility-libraries.spec | 11 +++++------ 5 files changed, 15 insertions(+), 10 deletions(-) delete mode 100644 vulkan-sdk-1.3.275.0.tar.gz create mode 100644 vulkan-sdk-1.3.280.0.tar.gz diff --git a/shared.diff b/shared.diff index f8ebb0c..2b1799d 100644 --- a/shared.diff +++ b/shared.diff @@ -31,7 +31,7 @@ Index: Vulkan-Utility-Libraries-vulkan-sdk-1.3.268.0/src/layer/CMakeLists.txt -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.275.0) ++set_target_properties(VulkanLayerSettings PROPERTIES LIBRARY_OUTPUT_NAME VulkanLayerSettings-@PACKAGE_VERSION@) target_sources(VulkanLayerSettings PRIVATE vk_layer_settings.cpp diff --git a/vulkan-sdk-1.3.275.0.tar.gz b/vulkan-sdk-1.3.275.0.tar.gz deleted file mode 100644 index 4dfa3bf..0000000 --- a/vulkan-sdk-1.3.275.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:37d6b0771e1e351916f4d642cc12c696a3afffea6c47f91c97372287974e2bd8 -size 167313 diff --git a/vulkan-sdk-1.3.280.0.tar.gz b/vulkan-sdk-1.3.280.0.tar.gz new file mode 100644 index 0000000..a35b6aa --- /dev/null +++ b/vulkan-sdk-1.3.280.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:075e13f2fdeeca3bb6fb39155c8cc345cf216ab93661549b1a33368aa28a9dea +size 168224 diff --git a/vulkan-utility-libraries.changes b/vulkan-utility-libraries.changes index d5a8bb5..9f9ee2a 100644 --- a/vulkan-utility-libraries.changes +++ b/vulkan-utility-libraries.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Mar 21 10:10:00 UTC 2024 - Jan Engelhardt + +- Update to release SDK-1.3.280.0 + * No changes, version bump only + ------------------------------------------------------------------- Fri Jan 19 11:35:34 UTC 2024 - Jan Engelhardt diff --git a/vulkan-utility-libraries.spec b/vulkan-utility-libraries.spec index 81807aa..fb7565c 100644 --- a/vulkan-utility-libraries.spec +++ b/vulkan-utility-libraries.spec @@ -16,10 +16,9 @@ # -# version also present in shared.diff -%define lname libVulkanLayerSettings-1_3_275_0 +%define lname libVulkanLayerSettings-1_3_280_0 Name: vulkan-utility-libraries -Version: 1.3.275.0 +Version: 1.3.280.0 Release: 0 Summary: Utility libraries for Vulkan License: Apache-2.0 @@ -34,7 +33,7 @@ BuildRequires: c++_compiler %endif BuildRequires: cmake >= 3.17.2 BuildRequires: pkg-config -BuildRequires: vulkan-headers >= 1.3.275 +BuildRequires: vulkan-headers >= 1.3.280 Obsoletes: vulkan < %version-%release Provides: vulkan = %version-%release @@ -67,6 +66,7 @@ This package contains the headers and build system integration. %prep %autosetup -p1 -n Vulkan-Utility-Libraries-vulkan-sdk-%version +find . -type f -name CMakeLists.txt -exec perl -i -lpe 's{\@PACKAGE_VERSION\@}{%version}g' {} + %build %if 0%{?suse_version} && 0%{?suse_version} < 1599 @@ -80,8 +80,7 @@ export CC=gcc-11 CXX=g++-11 %cmake_install ln -s libVulkanLayerSettings-%version.so "%buildroot/%_libdir/libVulkanLayerSettings.so" -%post -n %lname -p /sbin/ldconfig -%postun -n %lname -p /sbin/ldconfig +%ldconfig_scriptlets -n %lname %files -n %lname %_libdir/libVulkanLayerSettings-*.so