[Bug 267059] multimedia/mpv: enable LUAJIT by default

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 14 Oct 2022 19:08:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267059

            Bug ID: 267059
           Summary: multimedia/mpv: enable LUAJIT by default
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: multimedia@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
             Flags: maintainer-feedback?(multimedia@FreeBSD.org)
          Assignee: multimedia@FreeBSD.org

Created attachment 237307
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=237307&action=edit
v1 (apply via "git am")

mpv uses Lua for OSC, stats, ytdl, etc. where LuaJIT may improve performance
(not benchmarked). Upstream doesn't support modern Lua dialects, so if mpv is
going to use a separate lua* package may as well use something more actively
developed/maintained.

Tested by myself for years via lang/luajit and lang/luajit-openresty. However,
I don't use user scripts (i.e., ~/.mpv/scripts/ is empty).

See also https://github.com/archlinux/svntogit-community/commit/f1ac411770c5
        
https://github.com/mpv-player/mpv/wiki/FAQ#Why_does_mpv_not_support_Lua_53_or_newer

-- 
You are receiving this mail because:
You are the assignee for the bug.