Created attachment 221854 [details] patch for MUJS option MPV now supports Javascript as a scripting language, using the MuJS library as the javascript runtime. The functionality is controlled by configure flag "--enable-javascript". Today, this flag is not set. Thus, the compiled port may or may not have javascript support enabled, and may or may not have a library dependency to MuJS. This patch adds an explicit flag for javascript support, and enables it by default.
Created attachment 221858 [details] poudriere log for 12.1-RELEASE/amd64
Build and package info is available at https://gitlab.com/swills/freebsd-ports/pipelines/252760998
A commit references this bug: Author: tcberner Date: Mon Feb 8 17:23:23 UTC 2021 New revision: 564728 URL: https://svnweb.freebsd.org/changeset/ports/564728 Log: multimedia/mpv: add option for javascript - Add an option for JS support via lang/mujs - Make it default off for now PR: 252955 Submitted by: Henry Hu <henry.hu.sh@gmail.com> Changes: head/multimedia/mpv/Makefile
Moin moin Thanks for the patch -- I committed it, with the minor change to make it default off, as I fear having js ON by default might be a bit of a hot-topic. mfg Tobias