mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-09 16:11:20 +02:00
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
24 lines
333 B
Bash
Executable file
24 lines
333 B
Bash
Executable file
#!/bin/bash -e
|
|
|
|
. ../../include/path.sh
|
|
|
|
build=_build$ndk_suffix
|
|
|
|
if [ "$1" == "build" ]; then
|
|
true
|
|
elif [ "$1" == "clean" ]; then
|
|
rm -rf $build
|
|
exit 0
|
|
else
|
|
exit 255
|
|
fi
|
|
|
|
mkdir -p $build
|
|
cd $build
|
|
|
|
../configure \
|
|
--host=$ndk_triple --with-pic \
|
|
--enable-static --disable-shared
|
|
|
|
make -j$cores
|
|
make DESTDIR="$prefix_dir" install
|