diff --git a/recipes/com.machiav3lli.backup.yml b/recipes/com.machiav3lli.backup.yml index 4a54ae8..625e402 100644 --- a/recipes/com.machiav3lli.backup.yml +++ b/recipes/com.machiav3lli.backup.yml @@ -88,6 +88,17 @@ 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 + - popd + - export LD_LIBRARY_PATH=/opt/lib - ./gradlew assembleRelease - mv build/outputs/apk/release/*-release-unsigned.apk /outputs/unsigned.apk build_home_dir: /build @@ -101,7 +112,10 @@ versions: version: '12.0' url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258 - extra_packages: [] + extra_packages: + - build-essential + - cmake + - ninja-build image: debian:bookworm-slim jdk: openjdk-17-jdk-headless ndk: