yabridge: Fix for wine 6.20

+9 -2
+9 -2
pkgs/tools/audio/yabridge/default.nix
··· 1 { lib 2 , multiStdenv 3 , fetchFromGitHub 4 , substituteAll 5 , meson 6 , ninja ··· 85 src = ./hardcode-wine.patch; 86 inherit wine; 87 }) 88 ]; 89 90 postPatch = '' ··· 121 ]; 122 123 preConfigure = '' 124 - sed -i "214s|xcb.*|xcb_32bit_dep = winegcc.find_library('xcb', dirs: [ '${lib.getLib pkgsi686Linux.xorg.libxcb}/lib', ])|" meson.build 125 - sed -i "192 i '${lib.getLib pkgsi686Linux.boost}/lib'," meson.build 126 ''; 127 128 installPhase = ''
··· 1 { lib 2 , multiStdenv 3 , fetchFromGitHub 4 + , fetchpatch 5 , substituteAll 6 , meson 7 , ninja ··· 86 src = ./hardcode-wine.patch; 87 inherit wine; 88 }) 89 + # Remove with next yabridge update 90 + (fetchpatch { 91 + name = "fix-for-wine-6.20.patch"; 92 + url = "https://github.com/robbert-vdh/yabridge/commit/5be149cb525a638f7fc3adf84918c8239ee50ecf.patch"; 93 + sha256 = "sha256-x/gfn4mKZIGQ4M0o/0LlZF8i8wZDx/bkwf8wp0BGDBo="; 94 + }) 95 ]; 96 97 postPatch = '' ··· 128 ]; 129 130 preConfigure = '' 131 + sed -i "221s|xcb.*|xcb_32bit_dep = winegcc.find_library('xcb', dirs: [ '${lib.getLib pkgsi686Linux.xorg.libxcb}/lib', ])|" meson.build 132 + sed -i "199 i '${lib.getLib pkgsi686Linux.boost}/lib'," meson.build 133 ''; 134 135 installPhase = ''