Merge pull request #280985 from wegank/ogre-freeimage
ogre: drop freeimage
This commit is contained in:
commit
a95a4c1544
@ -6,7 +6,6 @@
|
||||
, unzip
|
||||
, SDL2
|
||||
, boost
|
||||
, freeimage
|
||||
, freetype
|
||||
, libpng
|
||||
, ois
|
||||
@ -55,7 +54,6 @@ let
|
||||
buildInputs = [
|
||||
SDL2
|
||||
boost
|
||||
freeimage
|
||||
freetype
|
||||
libpng
|
||||
ois
|
||||
|
@ -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