Skip to content

Commit

Permalink
libplacebo: allow for latest glslang (NixOS#94510)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonringer authored and ian bierlich committed Sep 14, 2020
1 parent 6853226 commit 1f3a6cc
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pkgs/development/libraries/libplacebo/default.nix
@@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitLab
, fetchpatch
, meson
, ninja
, pkg-config
Expand All @@ -24,6 +25,18 @@ stdenv.mkDerivation rec {
sha256 = "1yhf9xyxdawbihsx89dpjlac800wrmpwx63rphad2nj225y9q40f";
};

patches = [
# to work with latest glslang, remove on release >2.72.0
(fetchpatch {
url = "https://code.videolan.org/videolan/libplacebo/-/commit/523056828ab86c2f17ea65f432424d48b6fdd389.patch";
sha256 = "051vhd0l3yad1fzn5zayi08kqs9an9j8p7m63kgqyfv1ksnydpcs";
})
(fetchpatch {
url = "https://code.videolan.org/videolan/libplacebo/-/commit/82e3be1839379791b58e98eb049415b42888d5b0.patch";
sha256 = "0nklj9gfiwkbbj6wfm1ck33hphaxrvzb84c4h2nfj88bapnlm90l";
})
];

nativeBuildInputs = [
meson
ninja
Expand Down

0 comments on commit 1f3a6cc

Please sign in to comment.