Browse Source

mpv: Use opensles as default for now

android-5
Fredrik Fornwall 8 years ago
parent
commit
cc076adbc7
  1. 6
      packages/mpv/build.sh

6
packages/mpv/build.sh

@ -7,7 +7,7 @@
TERMUX_PKG_HOMEPAGE=https://mpv.io/
TERMUX_PKG_DESCRIPTION="Command-line media player"
TERMUX_PKG_VERSION=0.19.0
TERMUX_PKG_BUILD_REVISION=1
TERMUX_PKG_BUILD_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/mpv-player/mpv/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_FOLDERNAME=mpv-${TERMUX_PKG_VERSION}
TERMUX_PKG_DEPENDS="ffmpeg, openal-soft"
@ -31,6 +31,10 @@ termux_step_make_install () {
./waf install
# Use opensles audio out be default:
mkdir -p $TERMUX_PREFIX/etc/mpv
echo "ao=opensles" > $TERMUX_PREFIX/etc/mpv/mpv.conf
# Try to work around OpenSL ES library clashes:
mkdir -p $TERMUX_PREFIX/libexec
mv $TERMUX_PREFIX/bin/mpv $TERMUX_PREFIX/libexec

Loading…
Cancel
Save