xdg-desktop-portal-hyprland: add patch for compilation with pipewire 1.2.0

This commit is contained in:
Martin Joerg
2024-07-06 18:01:35 +00:00
parent 757c5d5f02
commit 65ca03098a
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, pkg-config
, wayland-scanner
@@ -33,6 +34,15 @@ stdenv.mkDerivation (self: {
hash = "sha256-KsX7sAwkEFpXiwyjt0HGTnnrUU58wW1jlzj5IA/LRz8=";
};
patches = [
# TODO: remove on next upgrade
(fetchpatch {
name = "fix-compilation-pipewire-1.2.0.patch";
url = "https://github.com/hyprwm/xdg-desktop-portal-hyprland/commit/c5b30938710d6c599f3f5cd99a3ffac35381fb0f.patch";
hash = "sha256-f9OgW9tLuGuHXYH6bR1Y+CEuBPHOhRiHfEPebJzlwK8=";
})
];
nativeBuildInputs = [
cmake
pkg-config