mpv: enable libarchive

also add the missing zlib to the dependency list
This commit is contained in:
Tom Yan 2019-05-02 23:22:51 +08:00 committed by Leonid Pliushch
parent 82b19b3d6c
commit d6525d048c

View File

@ -2,10 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://mpv.io/
TERMUX_PKG_DESCRIPTION="Command-line media player" TERMUX_PKG_DESCRIPTION="Command-line media player"
TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_VERSION=0.29.1 TERMUX_PKG_VERSION=0.29.1
TERMUX_PKG_REVISION=3 TERMUX_PKG_REVISION=4
TERMUX_PKG_SHA256=f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623 TERMUX_PKG_SHA256=f9f9d461d1990f9728660b4ccb0e8cb5dce29ccaa6af567bec481b79291ca623
TERMUX_PKG_SRCURL=https://github.com/mpv-player/mpv/archive/v${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SRCURL=https://github.com/mpv-player/mpv/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_DEPENDS="ffmpeg, openal-soft, libandroid-support, libandroid-glob, liblua52, libpulseaudio" TERMUX_PKG_DEPENDS="ffmpeg, openal-soft, libandroid-support, libandroid-glob, liblua52, libpulseaudio, libarchive, zlib"
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications" TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications"
termux_step_pre_configure() { termux_step_pre_configure() {
@ -22,7 +22,7 @@ termux_step_make_install() {
--disable-gl \ --disable-gl \
--disable-jpeg \ --disable-jpeg \
--disable-lcms2 \ --disable-lcms2 \
--disable-libarchive \ --enable-libarchive \
--disable-libass \ --disable-libass \
--enable-lua \ --enable-lua \
--enable-pulse \ --enable-pulse \