Skip to content

Commit

Permalink
Bump Irrlicht rev
Browse files Browse the repository at this point in the history
to fix known crash issue
  • Loading branch information
sfan5 committed Aug 24, 2022
1 parent a76ff46 commit de332f3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions scripts/Irrlicht.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
#!/bin/bash -e
irrlicht_ver=1.9.0mt7
irrlicht_ver=f0766c8
png_ver=1.6.37
jpeg_ver=2.1.3
jpeg_ver=2.1.4

download () {
[ -d irrlicht ] || git clone https://github.com/minetest/irrlicht -b $irrlicht_ver irrlicht
if [ ! -d irrlicht/.git ]; then
git clone https://github.com/minetest/irrlicht irrlicht
pushd irrlicht
git checkout $irrlicht_ver
popd
fi
get_tar_archive libpng "https://download.sourceforge.net/libpng/libpng-${png_ver}.tar.gz"
get_tar_archive libjpeg "https://download.sourceforge.net/libjpeg-turbo/libjpeg-turbo-${jpeg_ver}.tar.gz"
}
Expand All @@ -19,7 +24,7 @@ build () {

mkdir -p libjpeg
pushd libjpeg
cmake $srcdir/libjpeg "${CMAKE_FLAGS[@]}"
cmake $srcdir/libjpeg "${CMAKE_FLAGS[@]}" -DENABLE_SHARED=OFF
make && make DESTDIR=$PWD install
popd

Expand Down

0 comments on commit de332f3

Please sign in to comment.