Merge pull request #325084 from mjoerg/xdg-desktop-portal-hyprland-fix-compilation-pipewire-1.2.0

xdg-desktop-portal-hyprland: add patch for compilation with pipewire 1.2.0
This commit is contained in:
Jörg Thalheim
2024-07-07 21:54:16 +02:00
committed by GitHub
@@ -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