mpv-android: 2023-11-30

This commit is contained in:
linsui 2023-12-01 02:17:58 +08:00 committed by linsui
parent fddb3a9d6c
commit 3663e99c62
3 changed files with 69 additions and 2 deletions

View File

@ -496,7 +496,68 @@ Builds:
- ./buildall.sh
ndk: r25c
- versionName: 2023-11-30-release
versionCode: 33
commit: 61a67fa42a1c668834f4f1469c3103b2cc86b3d3
subdir: app
sudo:
- apt-get update
- apt-get install -y make automake pkg-config libtool nasm python3-jsonschema
- apt-get install -y -t bullseye-backports meson python3-jinja2
- apt-get install -y openjdk-17-jdk-headless
- update-java-alternatives -a
gradle:
- default
srclibs:
- mbedtls@v3.5.1
- dav1d@3c41fa88ce0fee1fcd1cdfdf53ad8db9bcf3ad29
- FFmpeg@d4ff0020b40b524a490cf62eccbd3a318f4c0e58
- freetype2@VER-2-13-2
- fribidi@v1.0.13
- harfbuzz@8.3.0
- libunibreak@libunibreak_5_1
- libass@c047dd2ea16f73abb4f448e6db3637158c1226d0
- libplacebo@795600a44b03fcd52c055981a403ad60ee5d027a
- mpv@8b4a995a9d7ee7b65a5d2c893d72844d551d9697
prebuild:
- sed -i -e '/enable true/d' -e '/universalBase/s/8000/0/' build.gradle
- cd ../buildscripts/
- mkdir -p sdk
- ln -s $$NDK$$ sdk/android-ndk-r26b
- mkdir -p deps
- pushd deps/
- cp -r $$mbedtls$$ mbedtls
- cp -r $$dav1d$$ dav1d
- cp -r $$FFmpeg$$ ffmpeg
- cp -r $$freetype2$$ freetype2
- cp -r $$fribidi$$ fribidi
- cp -r $$harfbuzz$$ harfbuzz
- cp -r $$libunibreak$$ unibreak
- cp -r $$libass$$ libass
- cp -r $$libplacebo$$ libplacebo
- cp -r $$mpv$$ mpv
- mkdir lua
- curl -Lo lua.tar.gz https://www.lua.org/ftp/lua-5.2.4.tar.gz
- echo "b9e2e4aad6789b3b63a056d442f7b39f0ecfca3ae0f1fc0ae4e9614401b69f4b lua.tar.gz"
| sha256sum -c -
- tar -xz --strip-components=1 -C lua -f lua.tar.gz
- cd unibreak
- ./bootstrap
- popd
- sed -i -e '/gradlew/d' scripts/mpv-android.sh
- sed -i -e '/"$target" == "mpv-android"/,/ls -lh/d' buildall.sh
scandelete:
- buildscripts/deps/mbedtls/
- buildscripts/deps/lua.tar.gz
- buildscripts/deps/libplacebo/3rdparty/jinja/tests/res/package.zip
build:
- cd ../buildscripts/
- ./buildall.sh --arch arm64 mpv
- ./buildall.sh --arch x86_64 mpv
- ./buildall.sh
ndk: r26b
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 2023-08-27-release
CurrentVersionCode: 32
CurrentVersion: 2023-11-30-release
CurrentVersionCode: 33

4
srclibs/libplacebo.yml Normal file
View File

@ -0,0 +1,4 @@
RepoType: git
Repo: https://github.com/haasn/libplacebo
Prepare: git submodule update --init --recursive

2
srclibs/libunibreak.yml Normal file
View File

@ -0,0 +1,2 @@
RepoType: git
Repo: https://github.com/adah1972/libunibreak