Compare commits
11 Commits
c4aae43491
...
2f03205a33
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2f03205a33 | ||
|
|
3914429446 | ||
|
|
b4005dfbad | ||
|
|
7c65880569 | ||
|
|
11d6a1281a | ||
|
|
5dd5901e4d | ||
|
|
4d36ec5450 | ||
|
|
5632a6a4ec | ||
|
|
b790f8ffea | ||
|
|
a788a3b26c | ||
|
|
85a9db617c |
BIN
Vulkan-Loader-sdk-1.3.261.0.tar.gz
Normal file
BIN
Vulkan-Loader-sdk-1.3.261.0.tar.gz
Normal file
Binary file not shown.
69
vulkan-loader.spec
Normal file
69
vulkan-loader.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: vulkan-loader
|
||||
Version: 1.3.261.0
|
||||
Release: 1
|
||||
Summary: A desktop loader for Vulkan ICD
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/KhronosGroup/Vulkan-Loader
|
||||
Source0: %url/archive/refs/tags/Vulkan-Loader-sdk-%{version}.tar.gz
|
||||
|
||||
BuildRequires: gcc-c++ cmake3 ninja-build python%{python3_pkgversion}-devel vulkan-headers = %{version}
|
||||
BuildRequires: pkgconfig(wayland-client) pkgconfig(wayland-cursor) pkgconfig(wayland-server)
|
||||
BuildRequires: pkgconfig(wayland-egl) pkgconfig(x11) pkgconfig(xrandr)
|
||||
|
||||
Provides: vulkan = %{version}-%{release} vulkan-filesystem = %{version}-%{release}
|
||||
Provides: vulkan%{?_isa} = %{version}-%{release}
|
||||
Obsoletes: vulkan < %{version}-%{release} vulkan-filesystem < %{version}-%{release}
|
||||
|
||||
Requires: mesa-vulkan-drivers
|
||||
|
||||
%description
|
||||
This package supplies system like Windows, Linux, and MacOS
|
||||
with the Khronos official Vulkan ICD desktop loader.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and header files for developing applications that use vulkan-loader
|
||||
Requires: %{name} = %{version}-%{release} vulkan-headers
|
||||
Provides: vulkan-devel%{?_isa} = %{version}-%{release}
|
||||
Provides: vulkan-devel = %{version}-%{release}
|
||||
Obsoletes: vulkan-devel < %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Libraries and header files for developing applications that use vulkan-loader.
|
||||
|
||||
%prep
|
||||
%autosetup -n Vulkan-Loader-sdk-%{version} -p1
|
||||
|
||||
%build
|
||||
%cmake3 -GNinja -DCMAKE_BUILD_TYPE=Release .
|
||||
%ninja_build
|
||||
|
||||
%install
|
||||
%ninja_install
|
||||
|
||||
install -d %{buildroot}%{_sysconfdir}/vulkan/{explicit,implicit}_layer.d/ \
|
||||
%{buildroot}%{_datadir}/vulkan/{explicit,implicit}_layer.d/ \
|
||||
%{buildroot}{%{_sysconfdir},%{_datadir}}/vulkan/icd.d
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md CONTRIBUTING.md
|
||||
%dir %{_sysconfdir}/{vulkan/,vulkan/explicit_layer.d/,vulkan/icd.d/,vulkan/implicit_layer.d/}
|
||||
%dir %{_datadir}/{vulkan/,vulkan/explicit_layer.d/,vulkan/icd.d/,vulkan/implicit_layer.d/}
|
||||
%{_libdir}/*.so.*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/pkgconfig/vulkan.pc
|
||||
%{_libdir}/*.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 24 2023 dillon chen <dillon.chen@gmail.com> - sdk-1.3.261.0-1
|
||||
- Update to sdk-1.3.261.0
|
||||
|
||||
* Fri Jul 21 2023 dillon chen <dillon.chen@gmail.com> - 1.3.257-1
|
||||
- update to 1.3.257
|
||||
|
||||
* Wed Jan 8 2020 wutao <wutao61@huawei.com> - 1.1.92.0-2
|
||||
- Package init
|
||||
4
vulkan-loader.yaml
Normal file
4
vulkan-loader.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KhronosGroup/Vulkan-Loader
|
||||
tag_prefix: "^v"
|
||||
seperator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user