mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 08:01:20 +02:00
Add experimental MPV player backend (#161)
Experimental MPV player backend Related to #14, #22, & #85 You can switch to MPV in advanced settings and toggle using hardware decoding or not. This uses code and buildscripts from https://github.com/mpv-android/mpv-android, plus other third party libraries to build MPV
This commit is contained in:
parent
d7b333e519
commit
6be2662d4e
84 changed files with 3987 additions and 289 deletions
25
scripts/mpv/scripts/libass.sh
Executable file
25
scripts/mpv/scripts/libass.sh
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/bash -e
|
||||
|
||||
. ../../include/path.sh
|
||||
|
||||
if [ "$1" == "build" ]; then
|
||||
true
|
||||
elif [ "$1" == "clean" ]; then
|
||||
rm -rf _build$ndk_suffix
|
||||
exit 0
|
||||
else
|
||||
exit 255
|
||||
fi
|
||||
|
||||
[ -f configure ] || ./autogen.sh
|
||||
|
||||
mkdir -p _build$ndk_suffix
|
||||
cd _build$ndk_suffix
|
||||
|
||||
../configure \
|
||||
--host=$ndk_triple --with-pic \
|
||||
--enable-static --disable-shared \
|
||||
--enable-libunibreak --disable-require-system-font-provider
|
||||
|
||||
make -j$cores
|
||||
make DESTDIR="$prefix_dir" install
|
||||
Loading…
Add table
Add a link
Reference in a new issue