From 3dc2f18952f712ab0fcc7aa1ca5c1c8a6a3a8cc2 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 22 Apr 2024 11:35:24 +0530 Subject: [PATCH] chore(android): update build routine to install cmake as dep --- package/android/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/android/build.sh b/package/android/build.sh index 149e1b8..82376b0 100755 --- a/package/android/build.sh +++ b/package/android/build.sh @@ -3,10 +3,12 @@ set -e cd lune-src -current_ver=$(git describe --tags --abbrev=0) +current_ver=$(git describe --tags --abbrev=0 | tr -d '\n') [[ $(cat ../build.VERSION) == $current_ver ]] && echo "[!] Already at latest build, skipping" && exit 0 +sudo apt install build-essential cmake + wget https://dl.google.com/android/repository/android-ndk-r25c-linux.zip && unzip android-ndk-*.zip mv android-ndk-r25c $HOME/android-ndk