Unverified Commit fd36f66d authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

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
parents a809a4e6 65ca0309
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ 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