-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvk-hdr-layer.spec
42 lines (35 loc) · 1.05 KB
/
vk-hdr-layer.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
%global debug_package %{nil}
%global commit 1534ef826bfecf525a6c3154f2e3b52d640a79cf
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global git_date 20241227
%global tag 1
%global ver_count 1
Name: vk-hdr-layer
Version: %{tag}
Release: %{git_date}.%{ver_count}.%{shortcommit}%{?dist}
Summary: Vulkan layer utilizing a small color management / HDR protocol for experimentation
License: MIT
URL: https://github.com/Zamundaaa/VK_hdr_layer
Source: %{url}/archive/%{commit}.tar.gz
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: meson
BuildRequires: gcc-c++
BuildRequires: pkgconfig(wayland-scanner)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(vulkan)
BuildRequires: pkgconfig(vkroots)
%description
%{name} is a vulkan layer utilizing a small color management / HDR protocol for experimentation
%prep
%autosetup -n VK_hdr_layer-%{commit}
%build
%meson
%meson_build
%install
%meson_install
%files
%license LICENSE
%doc README.md
%{_datadir}/vulkan/implicit_layer.d/*
%{_libdir}/*.so