mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
352 lines
17 KiB
YAML
352 lines
17 KiB
YAML
AntiFeatures:
|
|
NonFreeAssets:
|
|
en-US: The assets are licensed under CC-BY-NC-ND.
|
|
Categories:
|
|
- Games
|
|
License: MPL-2.0
|
|
AuthorName: Fleeting Heartbeat Studios
|
|
WebSite: https://fhs.sh
|
|
SourceCode: https://codeberg.org/fhs/katawa-shoujo-re-engineered
|
|
IssueTracker: https://codeberg.org/fhs/katawa-shoujo-re-engineered/issues
|
|
Changelog: https://codeberg.org/fhs/katawa-shoujo-re-engineered/releases
|
|
|
|
Name: 'Katawa Shoujo: Re-Engineered'
|
|
|
|
RepoType: git
|
|
Repo: https://codeberg.org/fhs/katawa-shoujo-re-engineered.git
|
|
|
|
Builds:
|
|
- versionName: 2.0.0
|
|
versionCode: 200
|
|
commit: 3ce03b773b1f29f328014719afe57e57cc7d79ed
|
|
submodules: true
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y gcc libc-dev make ccache unzip bzip2 autoconf autoconf-archive
|
|
automake cmake ninja-build libtool-bin nasm clang-15 lld-15 llvm-15 python3-venv
|
|
- apt-get install -y libgmp-dev libmpfr-dev libmpc-dev libssl-dev libbz2-dev
|
|
liblzma-dev bc xz-utils
|
|
- apt-get install -y libavcodec-dev libavformat-dev libswresample-dev libswscale-dev
|
|
libfreetype6-dev libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev
|
|
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
|
|
output: renpy-build/renpy/rapt3/project/app/build/outputs/apk/release/app-release-unsigned.apk
|
|
srclibs:
|
|
- renpy@8.3.4.24120703
|
|
- renpy-build@6fe193dc1c8cfa546670c06ba9ff4f85d86ad6bb
|
|
- pygame_sdl2@87efd496cfc83d292558fb51343706b66b5a7bdd
|
|
prebuild:
|
|
- sed -i -e 's/, "INTERNET"//' .android.json
|
|
- sed -i -e '/persistent.hdisabled/s/False/True/' game/config.rpy
|
|
- ln -s $$renpy-build$$ .
|
|
- pushd renpy-build
|
|
- sed -i -e 's|c.var("sysroot", .*)|c.var("sysroot", "/")|' renpybuild/run.py
|
|
- sed -i -e '/sysroot/d' -e '/live2d/d' -e '/steam/d' tasks/__init__.py
|
|
- sed -i -e '/steamapi/d' tasks/pythonlib.py
|
|
- sed -i -e "s|^sdkmanager =.*|sdkmanager = '$(which sdkmanager)'|" -e '/jdk_requirement/s/21/17/'
|
|
rapt/buildlib/rapt/plat.py
|
|
- sed -i -e '/plat.gradlew/i \ sys.exit(0)' -e '/config.numeric_version
|
|
=/d' rapt/buildlib/rapt/build.py
|
|
- sed -i -e '/signingConfigs {/,/^ }/d' -e '/signingConfig /d' rapt/templates/app-build.gradle
|
|
- pushd rapt/prototype/
|
|
- rm -r renpyiap
|
|
- sed -i '/com.google.android.play/d' renpyandroid/build.gradle
|
|
- sed -i -e '/play.core/d' -e '/gms/d' -e 's/implements AssetPackStateUpdateListener//'
|
|
-e '/AssetPackManager/d' -e '/boolean checkPack/,/^ }/d' -e '/onStateUpdate/,/^ }/d'
|
|
-e '/assetPackStates/d' -e '/Constants.assetPacks.length/,/^ \{8\}}/s/^ \{12\}.*//'
|
|
-e '/Constants.assetPacks.length/athrow new UnsupportedOperationException("Handling
|
|
of asset packs removed for F-Droid build.");' renpyandroid/src/main/java/org/renpy/android/PythonSDLActivity.java
|
|
- popd
|
|
- mkdir -p tmp/cross.android/
|
|
- ln -s $$NDK$$ tmp/cross.android/android-ndk-r25c
|
|
- ln -s $$renpy$$ renpy
|
|
- sed -i -e '/live2dmodel/d' renpy/module/Setup
|
|
- sed -i -e 's/"rapt"/"rapt3"/g' renpy/launcher/game/android.rpy
|
|
- sed -i -e '/does not exist/s/raise //' renpy/launcher/game/distribute.rpy
|
|
- sed -i -e '/Version("main"/d' -e 's/"fix"/"main"/' renpy/renpy/versions.py
|
|
- ln -s $$pygame_sdl2$$ pygame_sdl2
|
|
- ln -s $$pygame_sdl2$$ renpy/pygame_sdl2
|
|
- popd
|
|
- mkdir ksre/
|
|
- mv android* game project.json .android.json ksre/
|
|
build:
|
|
- export ROOT=$(pwd)
|
|
- cd renpy-build
|
|
- mkdir -p tmp/venv
|
|
- python3 -m venv tmp/venv
|
|
- source tmp/venv/bin/activate
|
|
- pip3 install -r requirements.txt
|
|
- pushd pygame_sdl2
|
|
- python3 setup.py install --single-version-externally-managed --record files.txt
|
|
--no-extensions
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/venv
|
|
- popd
|
|
- RENPY_DEPS_INSTALL=/usr:/usr/lib/x86_64-linux-gnu/ ./renpy/run.sh renpy/launcher
|
|
quit
|
|
- ./build.py --platform linux --arch x86_64
|
|
- ./build.py --platform android --arch arm64_v8a
|
|
- cd renpy
|
|
- ./renpy3.sh launcher android_build $ROOT/ksre/
|
|
- cd rapt3/project
|
|
- ln -s $ROOT/renpy-build/tmp/build/sdl2.android-arm64_v8a/SDL2-*/android-project/app/src/main/java/org/libsdl
|
|
renpyandroid/src/main/java/org
|
|
- gradle assembleRelease
|
|
ndk: r25c
|
|
|
|
- versionName: 2.0.1
|
|
versionCode: 201
|
|
commit: 44273b5d0b20e30d51a66469fd32dd010600c99b
|
|
submodules: true
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y gcc libc-dev make ccache unzip bzip2 autoconf autoconf-archive
|
|
automake cmake ninja-build libtool-bin nasm clang-15 lld-15 llvm-15 python3-venv
|
|
- apt-get install -y libgmp-dev libmpfr-dev libmpc-dev libssl-dev libbz2-dev
|
|
liblzma-dev bc xz-utils
|
|
- apt-get install -y libavcodec-dev libavformat-dev libswresample-dev libswscale-dev
|
|
libfreetype6-dev libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev
|
|
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
|
|
output: renpy-build/renpy/rapt3/project/app/build/outputs/apk/release/app-release-unsigned.apk
|
|
srclibs:
|
|
- renpy@8.3.4.24120703
|
|
- renpy-build@6fe193dc1c8cfa546670c06ba9ff4f85d86ad6bb
|
|
- pygame_sdl2@87efd496cfc83d292558fb51343706b66b5a7bdd
|
|
prebuild:
|
|
- sed -i -e 's/, "INTERNET"//' .android.json
|
|
- sed -i -e '/persistent.hdisabled/s/False/True/' game/config.rpy
|
|
- ln -s $$renpy-build$$ .
|
|
- pushd renpy-build
|
|
- sed -i -e 's|c.var("sysroot", .*)|c.var("sysroot", "/")|' renpybuild/run.py
|
|
- sed -i -e '/sysroot/d' -e '/live2d/d' -e '/steam/d' tasks/__init__.py
|
|
- sed -i -e '/steamapi/d' tasks/pythonlib.py
|
|
- sed -i -e "s|^sdkmanager =.*|sdkmanager = '$(which sdkmanager)'|" -e '/jdk_requirement/s/21/17/'
|
|
rapt/buildlib/rapt/plat.py
|
|
- sed -i -e '/plat.gradlew/i \ sys.exit(0)' -e '/config.numeric_version
|
|
=/d' rapt/buildlib/rapt/build.py
|
|
- sed -i -e '/signingConfigs {/,/^ }/d' -e '/signingConfig /d' rapt/templates/app-build.gradle
|
|
- pushd rapt/prototype/
|
|
- rm -r renpyiap
|
|
- sed -i '/com.google.android.play/d' renpyandroid/build.gradle
|
|
- sed -i -e '/play.core/d' -e '/gms/d' -e 's/implements AssetPackStateUpdateListener//'
|
|
-e '/AssetPackManager/d' -e '/boolean checkPack/,/^ }/d' -e '/onStateUpdate/,/^ }/d'
|
|
-e '/assetPackStates/d' -e '/Constants.assetPacks.length/,/^ \{8\}}/s/^ \{12\}.*//'
|
|
-e '/Constants.assetPacks.length/athrow new UnsupportedOperationException("Handling
|
|
of asset packs removed for F-Droid build.");' renpyandroid/src/main/java/org/renpy/android/PythonSDLActivity.java
|
|
- popd
|
|
- mkdir -p tmp/cross.android/
|
|
- ln -s $$NDK$$ tmp/cross.android/android-ndk-r25c
|
|
- ln -s $$renpy$$ renpy
|
|
- sed -i -e '/live2dmodel/d' renpy/module/Setup
|
|
- sed -i -e 's/"rapt"/"rapt3"/g' renpy/launcher/game/android.rpy
|
|
- sed -i -e '/does not exist/s/raise //' renpy/launcher/game/distribute.rpy
|
|
- sed -i -e '/Version("main"/d' -e 's/"fix"/"main"/' renpy/renpy/versions.py
|
|
- ln -s $$pygame_sdl2$$ pygame_sdl2
|
|
- ln -s $$pygame_sdl2$$ renpy/pygame_sdl2
|
|
- popd
|
|
- mkdir ksre/
|
|
- mv android* game project.json .android.json ksre/
|
|
build:
|
|
- export ROOT=$(pwd)
|
|
- cd renpy-build
|
|
- mkdir -p tmp/venv
|
|
- python3 -m venv tmp/venv
|
|
- source tmp/venv/bin/activate
|
|
- pip3 install -r requirements.txt
|
|
- pushd pygame_sdl2
|
|
- python3 setup.py install --single-version-externally-managed --record files.txt
|
|
--no-extensions
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/venv
|
|
- popd
|
|
- RENPY_DEPS_INSTALL=/usr:/usr/lib/x86_64-linux-gnu/ ./renpy/run.sh renpy/launcher
|
|
quit
|
|
- ./build.py --platform linux --arch x86_64
|
|
- ./build.py --platform android --arch arm64_v8a
|
|
- cd renpy
|
|
- ./renpy3.sh launcher android_build $ROOT/ksre/
|
|
- cd rapt3/project
|
|
- ln -s $ROOT/renpy-build/tmp/build/sdl2.android-arm64_v8a/SDL2-*/android-project/app/src/main/java/org/libsdl
|
|
renpyandroid/src/main/java/org
|
|
- gradle assembleRelease
|
|
ndk: r25c
|
|
|
|
- versionName: 2.0.2
|
|
versionCode: 202
|
|
commit: c9bddb988e2f3da2dc223f8768c05fa2f87d5657
|
|
submodules: true
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y gcc libc-dev make ccache unzip bzip2 autoconf autoconf-archive
|
|
automake cmake ninja-build libtool-bin nasm clang-15 lld-15 llvm-15 python3-venv
|
|
- apt-get install -y libgmp-dev libmpfr-dev libmpc-dev libssl-dev libbz2-dev
|
|
liblzma-dev bc xz-utils
|
|
- apt-get install -y libavcodec-dev libavformat-dev libswresample-dev libswscale-dev
|
|
libfreetype6-dev libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev
|
|
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev
|
|
output: renpy-build/renpy/rapt3/project/app/build/outputs/apk/release/app-release-unsigned.apk
|
|
srclibs:
|
|
- renpy@8.3.7.25031702
|
|
- renpy-build@renpy-8.3.7.25031702
|
|
- pygame_sdl2@renpy-8.3.7.25031702
|
|
prebuild:
|
|
- sed -i -e 's/, "INTERNET"//' .android.json
|
|
- sed -i -e '/persistent.hdisabled/s/False/True/' game/config.rpy
|
|
- ln -s $$renpy-build$$ .
|
|
- pushd renpy-build
|
|
- sed -i -e 's|c.var("sysroot", .*)|c.var("sysroot", "/")|' renpybuild/run.py
|
|
- sed -i -e '/sysroot/d' -e '/live2d/d' -e '/steam/d' tasks/__init__.py
|
|
- sed -i -e '/steamapi/d' tasks/pythonlib.py
|
|
- sed -i -e "s|^sdkmanager =.*|sdkmanager = '$(which sdkmanager)'|" -e '/jdk_requirement/s/21/17/'
|
|
rapt/buildlib/rapt/plat.py
|
|
- sed -i -e '/plat.gradlew/i \ sys.exit(0)' -e '/config.numeric_version
|
|
=/d' rapt/buildlib/rapt/build.py
|
|
- sed -i -e '/signingConfigs {/,/^ }/d' -e '/signingConfig /d' rapt/templates/app-build.gradle
|
|
- pushd rapt/prototype/
|
|
- rm -r renpyiap
|
|
- sed -i '/com.google.android.play/d' renpyandroid/build.gradle
|
|
- sed -i -e '/play.core/d' -e '/gms/d' -e 's/implements AssetPackStateUpdateListener//'
|
|
-e '/AssetPackManager/d' -e '/boolean checkPack/,/^ }/d' -e '/onStateUpdate/,/^ }/d'
|
|
-e '/assetPackStates/d' -e '/Constants.assetPacks.length/,/^ \{8\}}/s/^ \{12\}.*//'
|
|
-e '/Constants.assetPacks.length/athrow new UnsupportedOperationException("Handling
|
|
of asset packs removed for F-Droid build.");' renpyandroid/src/main/java/org/renpy/android/PythonSDLActivity.java
|
|
- popd
|
|
- mkdir -p tmp/cross.android/
|
|
- ln -s $$NDK$$ tmp/cross.android/android-ndk-r25c
|
|
- ln -s $$renpy$$ renpy
|
|
- sed -i -e '/live2dmodel/d' renpy/module/Setup
|
|
- sed -i -e 's/"rapt"/"rapt3"/g' renpy/launcher/game/android.rpy
|
|
- sed -i -e '/does not exist/s/raise //' renpy/launcher/game/distribute.rpy
|
|
- sed -i -e '/Version("main"/d' -e 's/"fix"/"main"/' renpy/renpy/versions.py
|
|
- ln -s $$pygame_sdl2$$ pygame_sdl2
|
|
- ln -s $$pygame_sdl2$$ renpy/pygame_sdl2
|
|
- sed -i -e '/headers=py_headers/d' pygame_sdl2/setup.py
|
|
- popd
|
|
- mkdir ksre/
|
|
- mv android* game project.json .android.json ksre/
|
|
build:
|
|
- export ROOT=$(pwd)
|
|
- cd renpy-build
|
|
- mkdir -p tmp/venv
|
|
- python3 -m venv tmp/venv
|
|
- source tmp/venv/bin/activate
|
|
- pip3 install -r requirements.txt
|
|
- pushd pygame_sdl2
|
|
- python3 setup.py install --single-version-externally-managed --record files.txt
|
|
--no-extensions
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/venv
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/install.linux-x86_64
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/install.android-arm64_v8a
|
|
- popd
|
|
- RENPY_DEPS_INSTALL=/usr:/usr/lib/x86_64-linux-gnu/ ./renpy/run.sh renpy/launcher
|
|
quit
|
|
- ./build.py --platform linux --arch x86_64
|
|
- ./build.py --platform android --arch arm64_v8a
|
|
- cd renpy
|
|
- ./renpy3.sh launcher android_build $ROOT/ksre/
|
|
- cd rapt3/project
|
|
- ln -s $ROOT/renpy-build/tmp/build/sdl2.android-arm64_v8a/SDL2-*/android-project/app/src/main/java/org/libsdl
|
|
renpyandroid/src/main/java/org
|
|
- gradle assembleRelease
|
|
ndk: r25c
|
|
|
|
- versionName: 2.0.3
|
|
versionCode: 203
|
|
commit: 8cff2731c0a985260897b3f3b1ec21171a2f0ddd
|
|
timeout: 14400
|
|
submodules: true
|
|
sudo:
|
|
- apt-get update
|
|
- apt-get install -y gcc libc-dev make ccache unzip bzip2 autoconf autoconf-archive
|
|
automake cmake ninja-build libtool-bin nasm clang-16 lld-16 llvm-16 python3-venv
|
|
- apt-get install -y libgmp-dev libmpfr-dev libmpc-dev libssl-dev libbz2-dev
|
|
liblzma-dev bc xz-utils
|
|
- apt-get install -y libavcodec-dev libavformat-dev libswresample-dev libswscale-dev
|
|
libfreetype6-dev libfribidi-dev libsdl2-dev libsdl2-image-dev libsdl2-gfx-dev
|
|
libsdl2-mixer-dev libsdl2-ttf-dev libjpeg-dev libharfbuzz-dev libassimp-dev
|
|
output: renpy-build/renpy/rapt3/project/app/build/outputs/apk/release/app-release-unsigned.apk
|
|
srclibs:
|
|
- renpy@8.4.1.25072401
|
|
- renpy-build@renpy-8.4.0.25071206
|
|
- pygame_sdl2@renpy-8.4.0.25071206
|
|
- cpython@v3.12.11
|
|
prebuild:
|
|
- sed -i -e 's/0.0.0-localbuild/$$VERSION$$/' game/config.rpy .android.json
|
|
- sed -i -e 's/, "INTERNET"//' .android.json
|
|
- sed -i -e '/persistent.hdisabled/s/False/True/' game/config.rpy
|
|
- ln -s $$renpy-build$$ .
|
|
- pushd renpy-build
|
|
- sed -i -e 's|c.var("sysroot", .*)|c.var("sysroot", "/")|' -e 's/-18/-16/'
|
|
renpybuild/run.py
|
|
- sed -i -e '/sysroot/d' -e '/live2d/d' -e '/steam/d' tasks/__init__.py
|
|
- sed -i -e '/steamapi/d' tasks/pythonlib.py
|
|
- sed -i -e "s|^sdkmanager =.*|sdkmanager = '$(which sdkmanager)'|" -e '/jdk_requirement/s/21/17/'
|
|
rapt/buildlib/rapt/plat.py
|
|
- sed -i -e '/plat.gradlew/i \ sys.exit(0)' -e '/config.numeric_version
|
|
=/d' rapt/buildlib/rapt/build.py
|
|
- sed -i -e '/signingConfigs {/,/^ }/d' -e '/signingConfig /d' rapt/templates/app-build.gradle
|
|
- pushd rapt/prototype/
|
|
- rm -r renpyiap
|
|
- sed -i '/com.google.android.play/d' renpyandroid/build.gradle
|
|
- sed -i -e '/play.core/d' -e '/gms/d' -e 's/implements AssetPackStateUpdateListener//'
|
|
-e '/AssetPackManager/d' -e '/boolean checkPack/,/^ }/d' -e '/onStateUpdate/,/^ }/d'
|
|
-e '/assetPackStates/d' -e '/Constants.assetPacks.length/,/^ \{8\}}/s/^ \{12\}.*//'
|
|
-e '/Constants.assetPacks.length/athrow new UnsupportedOperationException("Handling
|
|
of asset packs removed for F-Droid build.");' renpyandroid/src/main/java/org/renpy/android/PythonSDLActivity.java
|
|
- popd
|
|
- mkdir -p tmp/cross.android/
|
|
- ln -s $$NDK$$ tmp/cross.android/android-ndk-r27c
|
|
- ln -s $$renpy$$ renpy
|
|
- sed -i -e '/live2dmodel/d' renpy/src/Setup
|
|
- sed -i -e 's/"rapt"/"rapt3"/g' renpy/launcher/game/android.rpy
|
|
- sed -i -e '/does not exist/s/raise //' renpy/launcher/game/distribute.rpy
|
|
- sed -i -e '/Version("main"/d' -e 's/"fix"/"main"/' renpy/renpy/versions.py
|
|
- ln -s $$pygame_sdl2$$ pygame_sdl2
|
|
- ln -s $$pygame_sdl2$$ renpy/pygame_sdl2
|
|
- sed -i -e '/headers=py_headers/d' pygame_sdl2/setup.py
|
|
- popd
|
|
- mkdir ksre/
|
|
- mv android* game project.json .android.json ksre/
|
|
build:
|
|
- pushd $$cpython$$
|
|
- ./configure --prefix=$$cpython$$
|
|
- make -j`nproc`
|
|
- make install
|
|
- popd
|
|
- export PATH=$$cpython$$/bin/:$PATH
|
|
- export ROOT=$(pwd)
|
|
- cd renpy-build
|
|
- mkdir -p tmp/venv
|
|
- python3 -m venv tmp/venv
|
|
- source tmp/venv/bin/activate
|
|
- pip3 install -r requirements.txt
|
|
- pushd pygame_sdl2
|
|
- python3 setup.py install --single-version-externally-managed --record files.txt
|
|
--no-extensions
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/venv
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/install.linux-x86_64
|
|
- python3 install_headers.py $ROOT/renpy-build/tmp/install.android-arm64_v8a
|
|
- popd
|
|
- RENPY_DEPS_INSTALL=/usr:/usr/lib/x86_64-linux-gnu/ ./renpy/run.sh renpy/launcher
|
|
quit
|
|
- ./build.py --platform linux --arch x86_64
|
|
- ./build.py --platform android --arch arm64_v8a
|
|
- cd renpy
|
|
- ./renpy3.sh launcher android_build $ROOT/ksre/
|
|
- cd rapt3/project
|
|
- ln -s $ROOT/renpy-build/tmp/build/sdl2.android-arm64_v8a/SDL2-*/android-project/app/src/main/java/org/libsdl
|
|
renpyandroid/src/main/java/org
|
|
- gradle assembleRelease
|
|
ndk: r27c
|
|
|
|
MaintainerNotes: |
|
|
1. NSFW content is disabled by default.
|
|
3. Live2d and steam related part are remove since they are not free.
|
|
4. Both of linux and android target of renpy need to be built since the android build script are writen in renpy.
|
|
5. The linux target is patched to be built without sysroot and sudo.
|
|
6. Some patches are used to fix wrong paths produced by renpy's build system.
|
|
7. The renpy build script is patched so that it only generates the project but doesn't build it.
|
|
8. The renpy version is patched so that it doesn't display a newer version due to the code is patched by us.
|
|
|
|
AutoUpdateMode: Version
|
|
UpdateCheckMode: Tags
|
|
UpdateCheckData: .android.json|"numeric_version":\s(\d+)||v([\d.]+)
|
|
CurrentVersion: 2.0.3
|
|
CurrentVersionCode: 203
|