Commit 6e89ec10 authored by Newbyte's avatar Newbyte 🌜
Browse files

community/minetest: build with GLES support on arm* and aarch64

parent e891db10
Pipeline #54317 failed with stages
in 15 minutes and 24 seconds
......@@ -23,6 +23,11 @@ source="minetest-$pkgver.tar.gz::https://codeload.github.com/minetest/minetest/t
"
build() {
case "$CARCH" in
arm*|aarch64) GLES_RENDERER=ON ;;
* ) GLES_RENDERER=OFF ;;
esac
cmake -B .build_client \
-DCUSTOM_BINDIR=/usr/bin \
-DCMAKE_INSTALL_PREFIX=/usr \
......@@ -32,6 +37,7 @@ build() {
-DBUILD_SERVER=0 \
-DENABLE_REDIS=0 \
-DENABLE_CURL=1 \
-DENABLE_GLES=$GLES_RENDERER \
-DRUN_IN_PLACE=0
make -C .build_client
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment