mpv-x: update to 0.32.0
This commit is contained in:
parent
6b29b71532
commit
3a0a67640e
|
@ -2,14 +2,12 @@ TERMUX_PKG_HOMEPAGE=https://mpv.io/
|
|||
TERMUX_PKG_DESCRIPTION="Command-line media player"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=0.30.0
|
||||
TERMUX_PKG_REVISION=5
|
||||
TERMUX_PKG_VERSION=0.32.0
|
||||
TERMUX_PKG_SRCURL=https://github.com/mpv-player/mpv/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=33a1bcb7e74ff17f070e754c15c52228cf44f2cefbfd8f34886ae81df214ca35
|
||||
TERMUX_PKG_SHA256=9163f64832226d22e24bbc4874ebd6ac02372cd717bef15c28a0aa858c5fe592
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, libandroid-glob, libandroid-shmem, libarchive, libass, libdrm, littlecms, libjpeg-turbo, libcaca, liblua52, libx11, libxext, libxinerama, libxss, libxrandr, openal-soft, pulseaudio, zlib"
|
||||
TERMUX_PKG_CONFLICTS="mpv"
|
||||
TERMUX_PKG_REPLACES="mpv"
|
||||
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
LDFLAGS+=" -landroid-glob -landroid-shmem"
|
||||
|
@ -35,12 +33,7 @@ termux_step_make_install() {
|
|||
--enable-x11 \
|
||||
--disable-wayland
|
||||
|
||||
./waf install
|
||||
|
||||
# Use opensles audio out be default:
|
||||
mkdir -p $TERMUX_PREFIX/etc/mpv
|
||||
cp $TERMUX_PKG_BUILDER_DIR/mpv.conf $TERMUX_PREFIX/etc/mpv/mpv.conf
|
||||
|
||||
install -m644 $TERMUX_PKG_SRCDIR/TOOLS/lua/* \
|
||||
-D -t $TERMUX_PREFIX/share/mpv/scripts
|
||||
./waf -v install
|
||||
install -Dm600 -t $TERMUX_PREFIX/etc/mpv/ $TERMUX_PKG_BUILDER_DIR/mpv.conf
|
||||
install -Dm600 -t $TERMUX_PREFIX/share/mpv/scripts/ $TERMUX_PKG_SRCDIR/TOOLS/lua/*
|
||||
}
|
||||
|
|
|
@ -17,6 +17,3 @@ ao=opensles
|
|||
# 21 and above), disable them with the following option:
|
||||
|
||||
# audio-format=s16
|
||||
|
||||
# Disable Video Decode and Output. Termux doesn't support video output (with the exception of "tct").
|
||||
vid=no
|
||||
|
|
Loading…
Reference in New Issue