stuntrally: drop freeimage

This commit is contained in:
Weijia Wang 2024-01-14 20:13:54 +01:00
parent 25f6d6952b
commit 672a13811c

View file

@ -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