From 04b41c75d85e32d94471819125fcc1c49cc51d71 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Tue, 25 Oct 2022 21:08:27 -0500 Subject: [PATCH 1/6] Update and rename getSDL.sh to getdepends.sh --- getSDL.sh | 12 ------------ getdepends.sh | 11 +++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) delete mode 100755 getSDL.sh create mode 100755 getdepends.sh diff --git a/getSDL.sh b/getSDL.sh deleted file mode 100755 index c58a9f20b3..0000000000 --- a/getSDL.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -pushd SDL - -wget https://www.libsdl.org/release/SDL2-2.0.12.zip -unzip -q SDL2-2.0.12.zip -mv SDL2-2.0.12/include include -ln -s . include/SDL2 -rm SDL2-2.0.12.zip -rm -r SDL2-2.0.12 - -popd diff --git a/getdepends.sh b/getdepends.sh new file mode 100755 index 0000000000..9f7766e25b --- /dev/null +++ b/getdepends.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +pkg install git wget make python getconf zip apksigner clang binutils +wget https://www.libsdl.org/release/SDL2-2.0.12.zip +unzip -q SDL2-2.0.12.zip +mv SDL2-2.0.12/include include +ln -s . include/SDL2 +rm SDL2-2.0.12.zip +rm -r SDL2-2.0.12 +mkdir ~/../usr/include/KHR +wget https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h -O ~/../usr/include/KHR/khrplatform.h From 188984fa3f994e15489195302ba33773fa12f651 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Tue, 25 Oct 2022 21:11:04 -0500 Subject: [PATCH 2/6] Update README.md --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 5e7363cb2f..96c30b6363 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,6 @@ If you want to compile Super Mario 64 for Android on PC you'll probably want to clone [this repo](https://github.com/VDavid003/sm64-port-android-base) instead! If you want to compile on Android using [Termux](https://f-droid.org/en/packages/com.termux/) (make sure you use the F-Droid version, as the Google Play version is outdated), follow these instructions in Termux: -**Install dependencies:** -```sh -pkg install git wget make python getconf zip apksigner clang -``` - **Clone the repository:** ```sh git clone https://github.com/VDavid003/sm64-port-android @@ -21,9 +16,9 @@ termux-setup-storage cp /sdcard/path/to/your/baserom.z64 ./baserom.us.z64 ``` -**Get SDL includes:** +**Install dependencies:** ```sh -./getSDL.sh +./getdepends.sh ``` **Build:** From caa40291c4827c140e8ec61431dd886be6f61350 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:33:19 -0600 Subject: [PATCH 3/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 96c30b6363..d07b5ba2a8 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ If you want to compile on Android using [Termux](https://f-droid.org/en/packages **Clone the repository:** ```sh -git clone https://github.com/VDavid003/sm64-port-android +git clone https://github.com/faizu396/sm64-port-android cd sm64-port-android ``` From 434b190c8bec9ceb781fc7cc2041c9e6ae3e7613 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:41:01 -0600 Subject: [PATCH 4/6] Update getdepends.sh --- getdepends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getdepends.sh b/getdepends.sh index 9f7766e25b..abe404c01d 100755 --- a/getdepends.sh +++ b/getdepends.sh @@ -1,7 +1,7 @@ #!/bin/bash pkg install git wget make python getconf zip apksigner clang binutils -wget https://www.libsdl.org/release/SDL2-2.0.12.zip +wget https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.zip unzip -q SDL2-2.0.12.zip mv SDL2-2.0.12/include include ln -s . include/SDL2 From 896d948007f1ccfc3efe8340437c3aecf602a3f3 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:45:39 -0600 Subject: [PATCH 5/6] Update getdepends.sh --- getdepends.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/getdepends.sh b/getdepends.sh index abe404c01d..7adecb86db 100755 --- a/getdepends.sh +++ b/getdepends.sh @@ -2,10 +2,10 @@ pkg install git wget make python getconf zip apksigner clang binutils wget https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.zip -unzip -q SDL2-2.0.12.zip +unzip -q SDL2-2.28.5.zip mv SDL2-2.0.12/include include ln -s . include/SDL2 -rm SDL2-2.0.12.zip -rm -r SDL2-2.0.12 +rm SDL2-2.28.5.zip +rm -r SDL2-2.28.5 mkdir ~/../usr/include/KHR wget https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h -O ~/../usr/include/KHR/khrplatform.h From 621b9cd8a9af89c0e3bdfcacb530ded7ac3af1f5 Mon Sep 17 00:00:00 2001 From: Faizu <102569285+faizu396@users.noreply.github.com> Date: Fri, 1 Dec 2023 20:50:06 -0600 Subject: [PATCH 6/6] Update getdepends.sh --- getdepends.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/getdepends.sh b/getdepends.sh index 7adecb86db..213caba55c 100755 --- a/getdepends.sh +++ b/getdepends.sh @@ -1,6 +1,6 @@ #!/bin/bash -pkg install git wget make python getconf zip apksigner clang binutils +pkg install git wget make python getconf zip apksigner clang binutils openssl wget https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-2.28.5.zip unzip -q SDL2-2.28.5.zip mv SDL2-2.0.12/include include