mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
stuntrally: drop freeimage
This commit is contained in:
parent
25f6d6952b
commit
672a13811c
@ -48,6 +48,13 @@ stdenv.mkDerivation rec {
|
||||
hash = "sha256-fglm1FetFGHM/qGTtpxDb8+k2iAREn5DQR5GPujuLms=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace config/*-default.cfg \
|
||||
--replace "screenshot_png = off" "screenshot_png = on"
|
||||
substituteInPlace source/*/BaseApp_Create.cpp \
|
||||
--replace "Codec_FreeImage" "Codec_STBI"
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
rmdir data/tracks
|
||||
ln -s ${tracks}/ data/tracks
|
||||
|
Loading…
Reference in New Issue
Block a user