Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Feb 2021 17:23:23 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564728 - head/multimedia/mpv
Message-ID:  <202102081723.118HNN2B004082@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Mon Feb  8 17:23:22 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>

Modified:
  head/multimedia/mpv/Makefile

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Mon Feb  8 17:01:28 2021	(r564727)
+++ head/multimedia/mpv/Makefile	Mon Feb  8 17:23:22 2021	(r564728)
@@ -4,7 +4,7 @@
 PORTNAME=	mpv
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.33.0
-PORTREVISION=	5
+PORTREVISION=	6
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	https://waf.io/:waf
@@ -49,7 +49,7 @@ CONFIGURE_ARGS=	--docdir="${EXAMPLESDIR}" \
 		--disable-vapoursynth \
 		--enable-libmpv-shared
 
-OPTIONS_DEFINE=		ARCHIVE DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET EXAMPLES ZIMG
+OPTIONS_DEFINE=		ARCHIVE DOCS LCMS2 LUAJIT MANPAGES MUJS TEST UCHARDET EXAMPLES ZIMG
 OPTIONS_DEFAULT=	ARCHIVE DVDNAV MANPAGES OPENGL UCHARDET \
 			V4L VAAPI VDPAU VULKAN WAYLAND X11 YTDL
 OPTIONS_GROUP=		IN VO AO
@@ -60,6 +60,7 @@ OPTIONS_SUB=		yes
 
 DVDNAV_DESC=		DVD menu navigation
 LUAJIT_DESC=		Use LuaJIT instead of Lua scripting language support
+MUJS_DESC=		Use MuJS for Javascript language support
 SIXEL_DESC=		Sixel graphics support
 UCHARDET_DESC=		Guess subtitle encoding via uchardet
 VULKAN_DESC=		Vulkan output support
@@ -106,6 +107,10 @@ LUAJIT_CONFIGURE_OFF=		--lua=${LUA_VER_STR}fbsd
 
 MANPAGES_BUILD_DEPENDS=		rst2man:textproc/py-docutils
 MANPAGES_CONFIGURE_OFF=		--disable-manpage
+
+MUJS_LIB_DEPENDS=		libmujs.so:lang/mujs
+MUJS_CONFIGURE_ON=		--enable-javascript
+MUJS_CONFIGURE_OFF=		--disable-javascript
 
 OPENAL_CONFIGURE_ENABLE=	openal
 OPENAL_USES=			openal



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102081723.118HNN2B004082>