forked from pool/vulkan-utility-libraries
leap15 build
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-utility-libraries?expand=0&rev=2
This commit is contained in:
parent
8f7b55231f
commit
d9cb1e4040
@ -1,3 +1,7 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2023-10-27 07:34:46.251955161 +0200
|
||||||
|
|
||||||
|
Static libraries are a no-go in our distro.
|
||||||
---
|
---
|
||||||
src/layer/CMakeLists.txt | 3 ++-
|
src/layer/CMakeLists.txt | 3 ++-
|
||||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
@ -26,7 +26,11 @@ Group: Development/Libraries/C and C++
|
|||||||
URL: https://github.com/KhronosGroup/Vulkan-Utility-Libraries
|
URL: https://github.com/KhronosGroup/Vulkan-Utility-Libraries
|
||||||
Source: https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/refs/tags/vulkan-sdk-%version.tar.gz
|
Source: https://github.com/KhronosGroup/Vulkan-Utility-Libraries/archive/refs/tags/vulkan-sdk-%version.tar.gz
|
||||||
Patch1: shared.diff
|
Patch1: shared.diff
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
||||||
|
BuildRequires: gcc11-c++
|
||||||
|
%else
|
||||||
BuildRequires: c++_compiler
|
BuildRequires: c++_compiler
|
||||||
|
%endif
|
||||||
BuildRequires: cmake >= 3.17.2
|
BuildRequires: cmake >= 3.17.2
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkg-config
|
||||||
BuildRequires: vulkan-headers >= 1.3.268
|
BuildRequires: vulkan-headers >= 1.3.268
|
||||||
@ -64,6 +68,10 @@ This package contains the headers and build system integration.
|
|||||||
%autosetup -p1 -n Vulkan-Utility-Libraries-vulkan-sdk-%version
|
%autosetup -p1 -n Vulkan-Utility-Libraries-vulkan-sdk-%version
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if 0%{?suse_version} && 0%{?suse_version} < 1599
|
||||||
|
# Need something that knows <filesystem>
|
||||||
|
export CC=gcc-11 CXX=g++-11
|
||||||
|
%endif
|
||||||
%cmake
|
%cmake
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user