From cc076adbc750300a457496624b26f27a576f4487 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 27 Aug 2016 12:15:46 -0400 Subject: [PATCH] mpv: Use opensles as default for now --- packages/mpv/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/mpv/build.sh b/packages/mpv/build.sh index e75f11117..95216b523 100644 --- a/packages/mpv/build.sh +++ b/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