Skip to content

Commit

Permalink
vulkan-hdr-layer-kwin6: init at v0.1
Browse files Browse the repository at this point in the history
https://github.com/Zamundaaa/VK_hdr_layer

Enables HDR support for Vulkan clients (such as mpv) on kwin6.

This is likely to be a temporary solution until Wayland upstream
adopts the necessary protocols, however that has been in the works for
many years:

https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/14

For the time being, this provides a path for users to experiment with
HDR, share feedback and hopefully make progress.

Arch provides a similar package:
https://aur.archlinux.org/packages/vk-hdr-layer-kwin6-git
  • Loading branch information
d4rk committed Nov 3, 2024
1 parent 70bee2f commit 4c9e24b
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions pkgs/by-name/vu/vulkan-hdr-layer-kwin6/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
lib,
stdenv,
cmake,
fetchFromGitHub,
libX11,
meson,
ninja,
pkg-config,
vulkan-headers,
vulkan-loader,
wayland-scanner,
wayland,
}:

stdenv.mkDerivation rec {
pname = "vulkan-hdr-layer-kwin6";
version = "0-unstable-2024-10-19";

nativeBuildInputs = [
meson
ninja
pkg-config
cmake
];

buildInputs = [
vulkan-headers
vulkan-loader
libX11
wayland-scanner
wayland
];

src = fetchFromGitHub {
owner = "Zamundaaa";
repo = "VK_hdr_layer";
rev = "e173f2617262664901039e3c821929afce05d2c1";
hash = "sha256-hBxRwbn29zFeHcRpfMF6I4piSASpN2AvZY0ci5Utj4U=";
fetchSubmodules = true;
};

meta = {
description = "Vulkan Wayland HDR WSI Layer (Xaver Hugl's fork for KWin 6)";
homepage = "https://github.com/Zamundaaa/VK_hdr_layer";
license = lib.licenses.mit;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ d4rk ];
};
}

0 comments on commit 4c9e24b

Please sign in to comment.