Compare commits
3 Commits
e8b02e36a7
...
a1375beaac
Author | SHA1 | Date | |
---|---|---|---|
a1375beaac | |||
51b1265a79 | |||
69a43e9b14 |
15
.github/workflows/build.yml
vendored
Normal file
15
.github/workflows/build.yml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
on:
|
||||
push:
|
||||
branches: [ main ]
|
||||
tags: [ '*' ]
|
||||
|
||||
jobs:
|
||||
Build:
|
||||
runs-on: ubuntu-22.04
|
||||
container: saschpe/android-sdk:34-jdk22.0.1_8
|
||||
steps:
|
||||
- name: Install Node
|
||||
run: apt install node.js
|
||||
|
||||
- name: Build APK
|
||||
run: ./gradlew build
|
11
cmd/ffmpeg
Normal file
11
cmd/ffmpeg
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
BASE_DIR=$(dirname $0)
|
||||
|
||||
for LIB_DIR in $BASE_DIR/lib/{$(getprop ro.system.product.cpu.abilist)}; do
|
||||
[ -d "$LIB_DIR" ] && break
|
||||
unset -v LIB_DIR
|
||||
done
|
||||
|
||||
LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \
|
||||
app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffmpeg "$@"
|
11
cmd/ffprobe
Normal file
11
cmd/ffprobe
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/system/bin/sh
|
||||
|
||||
BASE_DIR=$(dirname $0)
|
||||
|
||||
for LIB_DIR in $BASE_DIR/lib/{$(getprop ro.system.product.cpu.abilist)}; do
|
||||
[ -d "$LIB_DIR" ] && break
|
||||
unset -v LIB_DIR
|
||||
done
|
||||
|
||||
LD_LIBRARY_PATH=$LIB_DIR:/system/lib64:/system/lib:/etc/lib \
|
||||
app_process -Djava.class.path=$BASE_DIR/classes.dex /sdcard ua.pp.antonlyap.ffmpeg.CLI ffprobe "$@"
|
Loading…
Reference in New Issue
Block a user