Switch to Minetest's irrlicht fork

This commit is contained in:
luk3yx 2021-03-10 12:10:46 +13:00
parent 0dd94dd9aa
commit 0b35b19b3b
3 changed files with 18 additions and 6 deletions

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

@ -12,6 +12,13 @@ version: stable
version-script: git -C parts/minetest/src describe --tags | cut -d- -f1
base: core18
architectures:
- build-on: amd64
- build-on: arm64
- build-on: armhf
- build-on: i386
- build-on: ppc64el
apps:
minetest:
command: launcher
@ -22,7 +29,7 @@ apps:
parts:
launcher:
source: snap/scripts
source: scripts
plugin: dump
minetestgame:
source: https://github.com/minetest/minetest_game.git
@ -30,24 +37,30 @@ parts:
plugin: dump
organize:
'*': 'share/minetest/games/minetest_game/'
irrlicht:
source: https://github.com/minetest/irrlicht.git
source-branch: master
plugin: cmake
override-pull: |
snapcraftctl pull
tag=$(git describe --tags $(git rev-list --tags --max-count=1))
git checkout "$tag"
minetest:
source: https://github.com/minetest/minetest.git
source-branch: stable-5
plugin: cmake
configflags: ["-DRUN_IN_PLACE=FALSE", "-DCMAKE_BUILD_TYPE=Release"]
after:
- irrlicht
build-packages:
- cmake
- gcc
- g++
- gettext
- imagemagick
- libbz2-dev
- libcurl4-gnutls-dev
- libfreetype6-dev
- libglu1-mesa-dev
- libirrlicht-dev
- libjpeg-dev
- libjsoncpp-dev
- libleveldb-dev
- libluajit-5.1-dev
- libogg-dev
@ -63,7 +76,6 @@ parts:
- libpulse0
- libcurl3-gnutls
- libgl1-mesa-glx
- libirrlicht1.8
- libxshmfence1
- libxcb-sync1
- libxcb-present0