Update Irrlicht
All checks were successful
Minetest-For-Mobile/pipeline/head This commit looks good

This commit is contained in:
TheBrokenRail 2021-01-07 10:00:06 -05:00
parent 182ca5fb09
commit 9b0f719c7e
2 changed files with 3 additions and 9 deletions

View File

@ -3,6 +3,6 @@ Version: ${VERSION}
Maintainer: TheBrokenRail <connor24nolan@live.com>
Description: A free open-source voxel game engine with easy modding and game creation.
Homepage: https://www.minetest.net
Architecture: arm64
Architecture: amd64
Depends: libc6, libstdc++6, libxxf86vm1, libgles1, libegl1, libsqlite3-0, libogg0, libvorbis0a, libopenal1, libcurl3-gnutls, libfreetype6, zlib1g, libgmp10, libxi6, libluajit-5.1-2, libleveldb1d, libncursesw6, libpq5, libspatialindex6, libhiredis0.14
Conflicts: minetestc55, minetest, minetest-data, minetest-staging

View File

@ -1,23 +1,17 @@
#!/bin/sh
IRRLICHT_VERSION='6177'
IRRLICHT_VERSION='6186'
set -e
svn export -r "${IRRLICHT_VERSION}" svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es irrlicht
cd irrlicht
dos2unix source/Irrlicht/CIrrDeviceLinux.cpp
dos2unix include/IrrCompileConfig.h
wget -O - https://sourceforge.net/p/irrlicht/patches/_discuss/thread/97431334ce/37b2/f348/0599/attachment/multitouch.patch | patch -p1
disable_feature() {
sed -i "s/^#define $1.*\$//g" include/IrrCompileConfig.h
}
enable_feature() {
sed -i "s/^#define NO$1.*\$//g" include/IrrCompileConfig.h
sed -i "s/^#ifdef NO$1\$/#ifndef $1\n#define $1\n#endif\n#ifdef NO$1/g" include/IrrCompileConfig.h
sed -i "s/^#ifdef NO$1.*\$/#ifndef $1\n#define $1\n#endif\n#if 0/g" include/IrrCompileConfig.h
}
disable_feature _IRR_COMPILE_WITH_OPENGL_