Skip to content

Commit

Permalink
Update recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
obfusk committed Dec 2, 2024
1 parent 1f601fb commit 8e53d04
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
27 changes: 27 additions & 0 deletions recipes/ch.threema.app.libre.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,3 +276,30 @@ versions:
platform_tools:
tools:
verify_gradle_wrapper: true
- tag: 5.6.2
apks:
- apk_pattern: ch\.threema\.app\.libre-([\d.]+)l\.apk
apk_url: https://releases.threema.ch/fdroid/repo/ch.threema.app.libre-$$TAG:1$$l.apk
build:
- sed -r '/abi \{/,/}/ s/enable true/enable false/' -i app/build.gradle
- ./gradlew assembleLibreRelease
- mv app/build/outputs/apk/libre/release/app-libre-release-unsigned.apk /outputs/unsigned.apk
build_home_dir: /build
build_repo_dir: /build/repo
build_user: build
provisioning:
android_home: /opt/sdk
build_tools:
cmake:
cmdline_tools:
version: '12.0'
url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
extra_packages: []
image: debian:bookworm-slim
jdk: openjdk-17-jdk-headless
ndk:
platform:
platform_tools:
tools:
verify_gradle_wrapper: true
35 changes: 35 additions & 0 deletions recipes/de.grobox.liberario.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,38 @@ versions:
platform_tools:
tools:
verify_gradle_wrapper: true
- tag: 2.2.2
apks:
- apk_pattern: app-release\.apk
apk_url: https://github.com/grote/Transportr/releases/download/$$TAG$$/app-release.apk
build:
- git clone https://github.com/akwizgran/gradle-witness.git /opt/gradle-witness
- pushd /opt/gradle-witness
- git checkout 0bd93192051f6327e4dea5b296bf32644dd0dae1
- ( shopt -s globstar; /opt/gradle-wrapper-verify/gradle-wrapper-verify ./**/gradle-wrapper.jar )
- JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 ./gradlew build
- popd
- rm app/libs/gradle-witness.jar
- cp /opt/gradle-witness/build/libs/gradle-witness.jar app/libs/gradle-witness.jar
- ./gradlew assembleRelease -PbuildServer
- mv app/build/outputs/apk/release/app-release-unsigned.apk /outputs/unsigned.apk
build_home_dir: /build
build_repo_dir: /build/repo
build_user: build
provisioning:
android_home: /opt/sdk
build_tools:
cmake:
cmdline_tools:
version: '12.0'
url: https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip
sha256: 2d2d50857e4eb553af5a6dc3ad507a17adf43d115264b1afc116f95c92e5e258
extra_packages:
- openjdk-11-jdk-headless
image: debian:bullseye-slim
jdk: openjdk-17-jdk-headless
ndk:
platform:
platform_tools:
tools:
verify_gradle_wrapper: true

0 comments on commit 8e53d04

Please sign in to comment.