%global commitdate 20241018 %global commithash e173f2617262664901039e3c821929afce05d2c1 %global shortcommit %(c=%{commithash}; echo ${c:0:7}) Name: VK_hdr_layer Version: 0~git%{commitdate}.%{shortcommit} Release: 1%{?dist} Summary: Vulkan Wayland HDR WSI Layer License: MIT URL: https://github.com/zamundaaa/VK_hdr_layer Source: %{url}/archive/%{commithash}/%{name}-%{shortcommit}.tar.gz BuildRequires: gcc-c++ BuildRequires: meson >= 0.58 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(vulkan) BuildRequires: vulkan-headers BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(vkroots) BuildRequires: pkgconfig(wayland-client) # KWin is the main reference supported compositor Enhances: kwin-wayland >= 6.0 %description Vulkan layer utilizing a small color management/HDR protocol for experimentation. The proposed mainline protocol for color management is wp_color_management. This implements the following vulkan extensions, if the protocol is supported by the compositor. * VK_EXT_swapchain_colorspace * VK_EXT_hdr_metadata %prep %autosetup -n %{name}-%{commithash} -p1 %conf %meson --libdir=%{_libdir}/%{name} %build %meson_build %install %meson_install %files %license LICENSE %doc README.md %{_libdir}/%{name}/libVkLayer_hdr_wsi.so %{_datadir}/vulkan/implicit_layer.d/VkLayer_hdr_wsi.*.json %changelog * Fri Oct 18 2024 Neal Gompa - 0~git20241018.e173f26-1 - Update to git snapshot - Install library to private subdirectory * Sun Sep 08 2024 Neal Gompa - 0~git20240427.e47dc6d-1 - Initial package