Browse Source

mpv: Remove attempt at using lua 5.3

android-5
Fredrik Fornwall 8 years ago
parent
commit
f53cdcbe4c
  1. 4
      packages/mpv/build.sh
  2. 12
      packages/mpv/waftools-checks-custom.py.patch

4
packages/mpv/build.sh

@ -5,7 +5,7 @@ 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, liblua" TERMUX_PKG_DEPENDS="ffmpeg, openal-soft"
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,7 +19,7 @@ termux_step_make_install () {
--disable-jpeg \ --disable-jpeg \
--disable-lcms2 \ --disable-lcms2 \
--disable-libass \ --disable-libass \
--enable-lua \ --disable-lua \
--enable-openal \ --enable-openal \
--disable-caca \ --disable-caca \
--disable-alsa \ --disable-alsa \

12
packages/mpv/waftools-checks-custom.py.patch

@ -1,12 +0,0 @@
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…
Cancel
Save