fix: static executable not working

using Apktool fork now of base, hopefully it'll work
This commit is contained in:
Lucaskyy 2022-06-15 23:24:30 +02:00
parent 63c29d1dfb
commit 5f59a408dd
No known key found for this signature in database
GPG Key ID: 1530BFF96D1EEB89
2 changed files with 13 additions and 2 deletions

View File

@ -31,8 +31,10 @@ jobs:
repository: termux/termux-packages
path: termux-packages
- name: Add aapt2 patches
run: cp *.patch termux-packages/packages/aapt
- name: Apply termux patches
run: |
cd termux-packages
git apply ../termux/*.patch
- name: Build aapt package
run: |

View File

@ -18,3 +18,12 @@
SKIP_CHECKSUM)
TERMUX_PKG_SKIP_SRC_EXTRACT=true
TERMUX_PKG_BUILD_IN_SRC=true
@@ -34,6 +32,8 @@ termux_step_post_get_source() {
# tar files, but they change each time as the tar metadata
# differs: https://github.com/google/gitiles/issues/84
+ git clone --depth 1 https://github.com/iBotPeaches/platform_frameworks_base.git base
+
for i in $(seq 0 $(( ${#TERMUX_PKG_SRCURL[@]}-1 ))); do
git clone --depth 1 --single-branch \
--branch $TERMUX_PKG_GIT_BRANCH \