Skip to content

Commit

Permalink
update android sdl2 to 2.30.8
Browse files Browse the repository at this point in the history
  • Loading branch information
leo60228 authored and flibitijibibo committed Oct 5, 2024
1 parent c2642db commit 4587fa4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,15 @@ jobs:
- uses: actions/checkout@v4
with:
repository: libsdl-org/SDL
ref: release-2.28.5
ref: release-2.30.8
path: 'SDL'

- name: Build SDL
run: |
sudo apt-get -y install ninja-build
cd SDL
./build-scripts/android-prefab.sh
mvn install:install-file -Dfile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.aar -DpomFile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.pom
mvn install:install-file -Dfile=build-android-prefab/prefab-2.30.8/SDL2-2.30.8.aar -DpomFile=build-android-prefab/prefab-2.30.8/SDL2-2.30.8.pom
- name: Build
run: |
Expand Down
10 changes: 5 additions & 5 deletions desktop_version/VVVVVV-android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ How to Build
------------

The recommended way is to install Android Studio and Maven. These instructions are for
SDL 2.28.5; adapt your SDL version accordingly.
SDL 2.30.8; adapt your SDL version accordingly.

1. Place a copy of `data.zip` in `desktop_version/VVVVVV-android/app/src/main/assets/`.
(If the `assets/` folder doesn't exist, then create it.)
2. Obtain the SDL 2.28.5 Maven package. As of writing, SDL currently does not publish
2. Obtain the SDL 2.30.8 Maven package. As of writing, SDL currently does not publish
Maven packages, so here is one way to obtain them (other methods are possible):

1. Download the SDL 2.28.5 source code.
1. Download the SDL 2.30.8 source code.
2. Run the `build-scripts/android-prefab.sh` script in the SDL repository.
3. After building, run `mvn install:install-file
-Dfile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.aar
-DpomFile=build-android-prefab/prefab-2.28.5/SDL2-2.28.5.pom` to install it to
-Dfile=build-android-prefab/prefab-2.30.8/SDL2-2.30.8.aar
-DpomFile=build-android-prefab/prefab-2.30.8/SDL2-2.30.8.pom` to install it to
Maven Local.

3. Open the `desktop_version/VVVVVV-android/` folder in Android Studio.
Expand Down
2 changes: 1 addition & 1 deletion desktop_version/VVVVVV-android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,5 @@ dependencies {
implementation 'org.jetbrains:annotations:15.0'
implementation 'androidx.core:core:1.10.1'
implementation 'androidx.exifinterface:exifinterface:1.3.6'
implementation 'org.libsdl.android:SDL2:2.28.5'
implementation 'org.libsdl.android:SDL2:2.30.8'
}

0 comments on commit 4587fa4

Please sign in to comment.