vlc: Enable Lua support
This commit is contained in:
parent
e3362b7e9c
commit
00275fe288
@ -3,13 +3,13 @@ TERMUX_PKG_DESCRIPTION="A popular libre and open source media player and multime
|
|||||||
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
|
TERMUX_PKG_LICENSE="GPL-2.0, LGPL-2.1"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=3.0.17.3
|
TERMUX_PKG_VERSION=3.0.17.3
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://download.videolan.org/pub/videolan/vlc/${TERMUX_PKG_VERSION}/vlc-${TERMUX_PKG_VERSION}.tar.xz
|
TERMUX_PKG_SRCURL=https://download.videolan.org/pub/videolan/vlc/${TERMUX_PKG_VERSION}/vlc-${TERMUX_PKG_VERSION}.tar.xz
|
||||||
TERMUX_PKG_SHA256=6f7e90ef8973d31d96de64db817173e345150829717a94084b1bb8321cde2014
|
TERMUX_PKG_SHA256=6f7e90ef8973d31d96de64db817173e345150829717a94084b1bb8321cde2014
|
||||||
TERMUX_PKG_DEPENDS="avahi, chromaprint, dbus, ffmpeg, fluidsynth, fontconfig, freetype, fribidi, gdk-pixbuf, glib, gst-plugins-base, harfbuzz, liba52, libandroid-shmem, libandroid-spawn, libaom, libarchive, libass, libbluray, libc++, libcaca, libcairo, libcddb, libdav1d, libdvdread, libflac, libgcrypt, libgnutls, libiconv, libidn, libjpeg-turbo, libmad, libnfs, libogg, libopus, libpng, librsvg, libsecret, libsoxr, libssh2, libtheora, libtwolame, libvorbis, libvpx, libx11, libx264, libx265, libxcb, libxml2, mpg123, ncurses, pulseaudio, samba, taglib, zlib"
|
TERMUX_PKG_DEPENDS="avahi, chromaprint, dbus, ffmpeg, fluidsynth, fontconfig, freetype, fribidi, gdk-pixbuf, glib, gst-plugins-base, harfbuzz, liba52, libandroid-shmem, libandroid-spawn, libaom, libarchive, libass, libbluray, libc++, libcaca, libcairo, libcddb, libdav1d, libdvdread, libflac, libgcrypt, libgnutls, libiconv, libidn, libjpeg-turbo, liblua52, libmad, libnfs, libogg, libopus, libpng, librsvg, libsecret, libsoxr, libssh2, libtheora, libtwolame, libvorbis, libvpx, libx11, libx264, libx265, libxcb, libxml2, mpg123, ncurses, pulseaudio, samba, taglib, zlib"
|
||||||
TERMUX_PKG_BUILD_DEPENDS="libebml, libmatroska, xorgproto"
|
TERMUX_PKG_BUILD_DEPENDS="libebml, libmatroska, xorgproto"
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||||
--disable-static
|
--disable-static
|
||||||
--disable-lua
|
|
||||||
--disable-live555
|
--disable-live555
|
||||||
--disable-dc1394
|
--disable-dc1394
|
||||||
--disable-dv1394
|
--disable-dv1394
|
||||||
@ -72,6 +72,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||||||
--disable-libplacebo
|
--disable-libplacebo
|
||||||
ac_cv_func_ffsll=yes
|
ac_cv_func_ffsll=yes
|
||||||
ac_cv_func_swab=yes
|
ac_cv_func_swab=yes
|
||||||
|
ac_cv_prog_LUAC=luac5.2
|
||||||
"
|
"
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
|
@ -8,3 +8,18 @@
|
|||||||
|
|
||||||
dnl Tizen (minimum SDK version: 2.3)
|
dnl Tizen (minimum SDK version: 2.3)
|
||||||
AS_IF([test "$SYS" = linux],[
|
AS_IF([test "$SYS" = linux],[
|
||||||
|
@@ -1676,12 +1677,12 @@
|
||||||
|
[disable LUA scripting support (default enabled)])])
|
||||||
|
if test "${enable_lua}" != "no"
|
||||||
|
then
|
||||||
|
- PKG_CHECK_MODULES(LUA, lua5.2,
|
||||||
|
+ PKG_CHECK_MODULES(LUA, lua52,
|
||||||
|
[ have_lua=yes ],
|
||||||
|
[
|
||||||
|
AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua 5.1 instead])
|
||||||
|
|
||||||
|
- PKG_CHECK_MODULES(LUA, lua5.1,
|
||||||
|
+ PKG_CHECK_MODULES(LUA, lua51,
|
||||||
|
[ have_lua=yes ],
|
||||||
|
[
|
||||||
|
AC_MSG_WARN([${LUA_PKG_ERRORS}, trying lua >= 5.1 instead])
|
||||||
|
@ -90,6 +90,9 @@ PACKAGES+=" libdbus-1-dev"
|
|||||||
PACKAGES+=" libexpat1-dev"
|
PACKAGES+=" libexpat1-dev"
|
||||||
PACKAGES+=" libjpeg-dev"
|
PACKAGES+=" libjpeg-dev"
|
||||||
|
|
||||||
|
# Needed by package vlc.
|
||||||
|
PACKAGES+=" lua5.2"
|
||||||
|
|
||||||
# Needed by package luarocks.
|
# Needed by package luarocks.
|
||||||
PACKAGES+=" lua5.3"
|
PACKAGES+=" lua5.3"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user