Merge pull request #11884 from Profpatsch/anki
anki: enable playing sound files
This commit is contained in:
commit
aefab61296
@ -23,6 +23,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs = [ python py.wrapPython lame mplayer libpulseaudio ];
|
buildInputs = [ python py.wrapPython lame mplayer libpulseaudio ];
|
||||||
|
|
||||||
|
patchPhase = ''
|
||||||
|
substituteInPlace anki/sound.py --replace '["mplayer"]' '["${mplayer}/bin/mplayer"]'
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
substituteInPlace anki/anki \
|
substituteInPlace anki/anki \
|
||||||
--replace /usr/share/ $out/share/
|
--replace /usr/share/ $out/share/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user