diff options
author | VVD <vvd@unislabs.com> | 2021-12-11 09:25:48 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2021-12-11 09:30:00 +0000 |
commit | cd43b2526fd466e46532dad30cbf37e2296a845c (patch) | |
tree | 41300bd8c8898decf44809188fdc111b5b79e6e7 | |
parent | ddf88e84d078513fa20bca9c854214ba1750a13e (diff) | |
download | ports-cd43b2526fd466e46532dad30cbf37e2296a845c.tar.gz ports-cd43b2526fd466e46532dad30cbf37e2296a845c.zip |
multimedia/mpv: fix lua option handling
mpv supports
- no lua
- luajit
- lua51-52
The new options added support to select between these.
- LUA_NONE
- LUAJIT (previous OFF by default)
- LUA (previously on when LUAJIT=OFF)
So the default remains to use lang/lua5[12].
PR: 259598
-rw-r--r-- | multimedia/mpv/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index b6b81c5fc016..874a70451630 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -45,8 +45,8 @@ CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \ --disable-vapoursynth \ --enable-libmpv-shared -OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 LUAJIT MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG -OPTIONS_DEFAULT= ARCHIVE DVDNAV MANPAGES OPENGL UCHARDET \ +OPTIONS_DEFINE= ARCHIVE DOCS LCMS2 MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG +OPTIONS_DEFAULT= ARCHIVE DVDNAV LUA MANPAGES OPENGL UCHARDET \ V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDLP OPTIONS_GROUP= IN VO AO OPTIONS_GROUP_IN= CDIO DVDNAV LIBBLURAY V4L @@ -54,9 +54,12 @@ OPTIONS_GROUP_VO= CACA OPENGL SIXEL VAAPI VDPAU VULKAN WAYLAND X11 OPTIONS_GROUP_AO= ALSA JACK OPENAL PULSEAUDIO SDL OPTIONS_RADIO= YOUTUBE OPTIONS_RADIO_YOUTUBE= YTDL YTDLP +OPTIONS_SINGLE= LUA +OPTIONS_SINGLE_LUA= LUA LUAJIT LUA_NONE OPTIONS_SUB= yes DVDNAV_DESC= DVD menu navigation +LUA_NONE_DESC= Disable Lua scripting language support LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support MUJS_DESC= Use MuJS for Javascript language support SIXEL_DESC= Sixel graphics support @@ -98,10 +101,13 @@ LIBBLURAY_LIB_DEPENDS= libbluray.so:multimedia/libbluray LIBBLURAY_CONFIGURE_ON= --enable-libbluray LIBBLURAY_CONFIGURE_OFF= --disable-libbluray +LUA_USES= lua:51-52 +LUA_CONFIGURE_ON= --lua=${LUA_VER_STR}fbsd + LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit -LUAJIT_USES_OFF= lua:51-52 LUAJIT_CONFIGURE_ON= --lua=luajit -LUAJIT_CONFIGURE_OFF= --lua=${LUA_VER_STR}fbsd + +LUA_NONE_CONFIGURE_ON= --disable-lua MANPAGES_BUILD_DEPENDS= rst2man:textproc/py-docutils MANPAGES_CONFIGURE_OFF= --disable-manpage |