Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
obfusk committed Dec 10, 2024
1 parent 62ee486 commit 846c1e6
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion recipes/com.machiav3lli.backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,18 @@ versions:
- apk_pattern: Neo.*Backup.*release.*\.apk
apk_url: https://github.com/NeoApplications/Neo-Backup/releases/download/8.3.9/Neo_Backup_839_release.apk
build:
- git clone -b 2.2.2 https://github.com/zlib-ng/zlib-ng.git
- pushd zlib-ng
- _options=( -G Ninja -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/opt -DCMAKE_INSTALL_LIBDIR=lib -Wno-dev -DWITH_GTEST=OFF -DWITH_UNALIGNED=OFF )
- cmake -B build "${_options[@]}"
- cmake --build build
- cmake -B build-compat "${_options[@]}" -DZLIB_COMPAT=ON
- cmake --build build-compat
- cmake --install build
- cmake --install build-compat
- find /opt -name '*.so' # FIXME
- exit 1
- popd
- ./gradlew assembleRelease
- mv build/outputs/apk/release/*-release-unsigned.apk /outputs/unsigned.apk
build_home_dir: /build
Expand All @@ -101,7 +113,9 @@ versions:
version: '12.0'
url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
extra_packages: []
extra_packages:
- cmake
- ninja-build
image: debian:bookworm-slim
jdk: openjdk-17-jdk-headless
ndk:
Expand Down

0 comments on commit 846c1e6

Please sign in to comment.