mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 16:45:49 +01:00
citra: fix Cubeb under SDL interface
https://github.com/NixOS/nixpkgs/issues/171173
This commit is contained in:
parent
14a348fcc6
commit
7699ee4326
1 changed files with 5 additions and 3 deletions
|
@ -77,9 +77,11 @@ stdenv.mkDerivation {
|
|||
chmod -R a+w externals/zstd
|
||||
'';
|
||||
|
||||
# Todo: cubeb audio backend (the default one) doesn't work on the SDL interface.
|
||||
# This seems to be a problem with libpulseaudio, other applications have similar problems (e.g Duckstation).
|
||||
# Note that the two interfaces have two separate configuration files.
|
||||
# Fixes https://github.com/NixOS/nixpkgs/issues/171173
|
||||
postInstall = lib.optionalString (enableCubeb && enableSdl2) ''
|
||||
wrapProgram "$out/bin/citra" \
|
||||
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libpulseaudio ]}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://citra-emu.org";
|
||||
|
|
Loading…
Reference in a new issue