mpv: Enable lua
This commit is contained in:
parent
6f2bea7ea8
commit
4493b981a1
@ -1,11 +1,11 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://mpv.io/
|
TERMUX_PKG_HOMEPAGE=https://mpv.io/
|
||||||
TERMUX_PKG_DESCRIPTION="Command-line media player"
|
TERMUX_PKG_DESCRIPTION="Command-line media player"
|
||||||
TERMUX_PKG_VERSION=0.24.0
|
TERMUX_PKG_VERSION=0.24.0
|
||||||
TERMUX_PKG_REVISION=2
|
TERMUX_PKG_REVISION=3
|
||||||
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_SHA256=a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15
|
TERMUX_PKG_SHA256=a41854fa0ac35b9c309ad692aaee67c8d4495c3546f11cb4cdd0a124195d3f15
|
||||||
TERMUX_PKG_FOLDERNAME=mpv-${TERMUX_PKG_VERSION}
|
TERMUX_PKG_FOLDERNAME=mpv-${TERMUX_PKG_VERSION}
|
||||||
TERMUX_PKG_DEPENDS="ffmpeg, openal-soft"
|
TERMUX_PKG_DEPENDS="ffmpeg, openal-soft, liblua"
|
||||||
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications"
|
TERMUX_PKG_RM_AFTER_INSTALL="share/icons share/applications"
|
||||||
|
|
||||||
termux_step_make_install () {
|
termux_step_make_install () {
|
||||||
@ -19,9 +19,10 @@ termux_step_make_install () {
|
|||||||
--disable-jpeg \
|
--disable-jpeg \
|
||||||
--disable-lcms2 \
|
--disable-lcms2 \
|
||||||
--disable-libass \
|
--disable-libass \
|
||||||
--disable-lua \
|
--enable-lua \
|
||||||
--enable-openal \
|
--enable-openal \
|
||||||
--disable-caca \
|
--disable-caca \
|
||||||
|
--disable-alsa \
|
||||||
--disable-x11
|
--disable-x11
|
||||||
|
|
||||||
./waf install
|
./waf install
|
||||||
|
12
packages/mpv/waftools-checks-custom.py.patch
Normal file
12
packages/mpv/waftools-checks-custom.py.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -u -r ../mpv-0.24.0/waftools/checks/custom.py ./waftools/checks/custom.py
|
||||||
|
--- ../mpv-0.24.0/waftools/checks/custom.py 2017-02-12 02:31:16.000000000 +0100
|
||||||
|
+++ ./waftools/checks/custom.py 2017-02-28 16:53:22.687772818 +0100
|
||||||
|
@@ -61,7 +61,7 @@
|
||||||
|
( '51obsd', 'lua51 >= 5.1.0'), # OpenBSD
|
||||||
|
( '51deb', 'lua5.1 >= 5.1.0'), # debian
|
||||||
|
( '51fbsd', 'lua-5.1 >= 5.1.0'), # FreeBSD
|
||||||
|
- ( '52', 'lua >= 5.2.0 lua < 5.3.0' ),
|
||||||
|
+ ( '52', 'lua >= 5.2.0' ),
|
||||||
|
( '52arch', 'lua52 >= 5.2.0'), # Arch
|
||||||
|
( '52deb', 'lua5.2 >= 5.2.0'), # debian
|
||||||
|
( '52fbsd', 'lua-5.2 >= 5.2.0'), # FreeBSD
|
Loading…
Reference in New Issue
Block a user