mirror of
https://github.com/sudoxnym/fdroiddata.git
synced 2026-04-14 19:46:54 +00:00
ente: build ffmpeg-kit
This commit is contained in:
parent
fb7087248b
commit
a201c2dddc
1 changed files with 16 additions and 3 deletions
|
|
@ -4066,12 +4066,15 @@ Builds:
|
|||
versionCode: 1034
|
||||
disable: ffmpeg-kit is gone
|
||||
commit: 809ce0f24abcb8b98f3346ca206f9b6b2a0197e8
|
||||
timeout: 10800
|
||||
subdir: mobile
|
||||
submodules: true
|
||||
sudo:
|
||||
- apt-get update
|
||||
- apt-get install -y gcc-multilib libc-dev make automake pkg-config libtool
|
||||
nasm python3-jsonschema wget meson python3-jinja2 zip
|
||||
nasm python3-jsonschema wget meson python3-jinja2 zip curl doxygen cmake gperf
|
||||
texinfo yasm bison autogen wget autopoint ninja-build ragel groff gtk-doc-tools
|
||||
libtasn1-6-dev libtasn1-bin libgnutls28-dev libunistring-dev gettext
|
||||
output: build/app/outputs/flutter-apk/app-fdroid-release.apk
|
||||
srclibs:
|
||||
- libsodium@ee009287afd480b60a9a4d75b19afdc0f705e9d9
|
||||
|
|
@ -4095,6 +4098,11 @@ Builds:
|
|||
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||
- thirdparty/flutter/bin/flutter config --no-analytics
|
||||
- thirdparty/flutter/bin/flutter pub get
|
||||
- pushd $PUB_CACHE/git/ffmpeg-kit-*
|
||||
- sed -i -e '/BUILD_FULL/,+1s/61/34/' -e 's|./gradlew|gradle|' android.sh
|
||||
- sed -i -e "s/'com.arthenica:ffmpeg-kit.*'/files('ffmpeg-kit.aar')\nimplementation
|
||||
'com.arthenica:smart-exception-java:0.2.1'/" flutter/flutter/android/build.gradle
|
||||
- popd
|
||||
- sed -i -e '/play-services-cronet/d' $PUB_CACHE/hosted/pub.dev/cronet_http-*/android/build.gradle
|
||||
- export file=$(ls .pub-cache/hosted/pub.dev/media_kit_libs_android_video-*/android/build.gradle)
|
||||
- export tag=$(sed -n -E 's|.*download/(v[0-9.]+)/.*|\1|p' $file | head -n 1)
|
||||
|
|
@ -4122,7 +4130,6 @@ Builds:
|
|||
- mobile/.pub-cache
|
||||
build:
|
||||
- export PUB_CACHE=$(pwd)/.pub-cache
|
||||
- export FLUTTER=$(pwd)/thirdparty/flutter/bin/
|
||||
- pushd $$libsodium$$
|
||||
- ./autogen.sh -s
|
||||
- ./dist-build/android-armv7-a.sh
|
||||
|
|
@ -4141,6 +4148,7 @@ Builds:
|
|||
- popd
|
||||
- mv $$transistor-background-fetch$$/android/tsbackgroundfetch/build/outputs/aar/tsbackgroundfetch-release.aar
|
||||
$PUB_CACHE/hosted/pub.dev/background_fetch-1.3.7/android/libs/com/transistorsoft/tsbackgroundfetch/1.0.4/tsbackgroundfetch-1.0.4.aar
|
||||
- export FLUTTER=$(pwd)/thirdparty/flutter/bin/
|
||||
- pushd $$media-kit-libmpv-android-video-build$$/buildscripts
|
||||
- mkdir sdk
|
||||
- ln -s $$SDK$$ ./sdk/android-sdk-linux
|
||||
|
|
@ -4148,9 +4156,14 @@ Builds:
|
|||
- popd
|
||||
- mkdir -p build/media_kit_libs_android_video/output
|
||||
- cp $$media-kit-libmpv-android-video-build$$/output/default-*.jar build/media_kit_libs_android_video/output
|
||||
- pushd $PUB_CACHE/git/ffmpeg-kit-*
|
||||
- JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 ANDROID_SDK_ROOT=$$SDK$$ ANDROID_NDK_ROOT=$$NDK$$
|
||||
./android.sh --enable-gpl --full
|
||||
- mv prebuilt/bundle-android-aar/ffmpeg-kit/ffmpeg-kit.aar ./flutter/flutter/android/
|
||||
- popd
|
||||
- thirdparty/flutter/bin/flutter build apk --flavor fdroid -t lib/main.dart
|
||||
--dart-define=cronetHttpNoPlay=true
|
||||
ndk: 25.2.9519653
|
||||
ndk: r25c
|
||||
antifeatures:
|
||||
NonFreeNet:
|
||||
en-US: Downloads assets (like ML models, release info and FAQs) from Ente's
|
||||
|
|
|
|||
Loading…
Reference in a new issue