From de2cdceed7e84c2165957933c48f72cf6e9b576f Mon Sep 17 00:00:00 2001 From: Johnny Date: Fri, 15 Dec 2023 09:59:22 +0000 Subject: [PATCH] add first version of Li-Ri --- metadata/org.liri.liri.yml | 47 ++++++++++++++++++++++++++++++++++++++ srclibs/SDL.yml | 4 ++-- srclibs/SDL_image.yml | 5 ++-- srclibs/SDL_mixer.yml | 4 ++-- srclibs/SDL_ttf.yml | 4 ++-- 5 files changed, 56 insertions(+), 8 deletions(-) create mode 100644 metadata/org.liri.liri.yml diff --git a/metadata/org.liri.liri.yml b/metadata/org.liri.liri.yml new file mode 100644 index 0000000000..71b5c72769 --- /dev/null +++ b/metadata/org.liri.liri.yml @@ -0,0 +1,47 @@ +Categories: + - Games +License: GPL-2.0-or-later +AuthorName: Johnny Jazeix +SourceCode: https://github.com/petitlapin/Li-ri +IssueTracker: https://github.com/petitlapin/Li-ri/issues + +AutoName: Li-Ri + +RepoType: git +Repo: https://github.com/petitlapin/Li-Ri.git + +Builds: + - versionName: 3.0.0 + versionCode: 30000 + commit: v3.0.0 + subdir: android/app + sudo: + - apt-get update + - apt-get install -y autoconf make + gradle: + - yes + srclibs: + - SDL@release-2.28.4 + - SDL_mixer@release-2.6.3 + prebuild: + - ln -s $$SDL$$ src/main/jni/SDL2 + - ln -s $$SDL$$/include src/main/jni/SDL2/SDL2 + - ln -s $$SDL_mixer$$ src/main/jni/SDL2_mixer + - ln -s $$SDL_mixer$$/include src/main/jni/SDL2_mixer/SDL2 + - pushd $$SDL_mixer$$ + - git submodule update --init external/libmodplug + - popd + - mkdir src/main/assets/ + - cp -R ../../Sounds src/main/assets/ + - cp ../../data/* src/main/assets/ + - sed -i "s/SUPPORT_MOD_MODPLUG ?= false/SUPPORT_MOD_MODPLUG ?= true/" src/main/jni/SDL2_mixer/Android.mk + ndk: r21e + +MaintainerNotes: |- + The code is provided as is, no gameplay has been made regarding the initial version. + I don't plan to improve the game, my addition was mostly to not lose the original game (which is great!) and have it on Android. + +AutoUpdateMode: None +UpdateCheckMode: Tags +CurrentVersion: 3.0.0 +CurrentVersionCode: 30000 diff --git a/srclibs/SDL.yml b/srclibs/SDL.yml index 86c942fe14..b3b333a966 100644 --- a/srclibs/SDL.yml +++ b/srclibs/SDL.yml @@ -1,2 +1,2 @@ -RepoType: hg -Repo: https://hg.libsdl.org/SDL +RepoType: git +Repo: https://github.com/libsdl-org/SDL diff --git a/srclibs/SDL_image.yml b/srclibs/SDL_image.yml index 47383a9e2a..bdf22fd209 100644 --- a/srclibs/SDL_image.yml +++ b/srclibs/SDL_image.yml @@ -1,2 +1,3 @@ -RepoType: hg -Repo: https://hg.libsdl.org/SDL_image +RepoType: git +Repo: https://github.com/libsdl-org/SDL_image + diff --git a/srclibs/SDL_mixer.yml b/srclibs/SDL_mixer.yml index 6d769bfb90..b0941f8a12 100644 --- a/srclibs/SDL_mixer.yml +++ b/srclibs/SDL_mixer.yml @@ -1,2 +1,2 @@ -RepoType: hg -Repo: https://hg.libsdl.org/SDL_mixer +RepoType: git +Repo: https://github.com/libsdl-org/SDL_mixer diff --git a/srclibs/SDL_ttf.yml b/srclibs/SDL_ttf.yml index e15a58c01d..c3c9635d4f 100644 --- a/srclibs/SDL_ttf.yml +++ b/srclibs/SDL_ttf.yml @@ -1,2 +1,2 @@ -RepoType: hg -Repo: http://hg.libsdl.org/SDL_ttf +RepoType: git +Repo: https://github.com/libsdl-org/SDL_ttf