Merge pull request #136788 from trofi/SDl2_mixer-midi
This commit is contained in:
commit
37a9affe1b
@ -13,6 +13,7 @@
|
||||
, mpg123
|
||||
, opusfile
|
||||
, smpeg2
|
||||
, timidity
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -42,8 +43,16 @@ stdenv.mkDerivation rec {
|
||||
mpg123
|
||||
opusfile
|
||||
smpeg2
|
||||
# MIDI patterns
|
||||
timidity
|
||||
];
|
||||
|
||||
# fix default path to timidity.cfg so MIDI files could be played
|
||||
postPatch = ''
|
||||
substituteInPlace timidity/options.h \
|
||||
--replace "/usr/share/timidity" "${timidity}/share/timidity"
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--disable-music-ogg-shared"
|
||||
"--disable-music-flac-shared"
|
||||
|
Loading…
Reference in New Issue
Block a user