pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/mpv



Module Name:    pkgsrc
Committed By:   mrg
Date:           Fri Oct 20 04:58:10 UTC 2023

Modified Files:
        pkgsrc/multimedia/mpv: Makefile options.mk

Log Message:
add mujs scripting support.

default on, bump pkg revision.  ok leot@.


To generate a diff of this commit:
cvs rdiff -u -r1.159 -r1.160 pkgsrc/multimedia/mpv/Makefile
cvs rdiff -u -r1.34 -r1.35 pkgsrc/multimedia/mpv/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/mpv/Makefile
diff -u pkgsrc/multimedia/mpv/Makefile:1.159 pkgsrc/multimedia/mpv/Makefile:1.160
--- pkgsrc/multimedia/mpv/Makefile:1.159        Tue Aug 15 19:17:10 2023
+++ pkgsrc/multimedia/mpv/Makefile      Fri Oct 20 04:58:09 2023
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.159 2023/08/15 19:17:10 leot Exp $
+# $NetBSD: Makefile,v 1.160 2023/10/20 04:58:09 mrg Exp $
 
 DISTNAME=      mpv-0.36.0
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
+PKGREVISION=   1
 
 MAINTAINER=    leot%NetBSD.org@localhost
 HOMEPAGE=      https://mpv.io/

Index: pkgsrc/multimedia/mpv/options.mk
diff -u pkgsrc/multimedia/mpv/options.mk:1.34 pkgsrc/multimedia/mpv/options.mk:1.35
--- pkgsrc/multimedia/mpv/options.mk:1.34       Tue Aug 15 19:17:10 2023
+++ pkgsrc/multimedia/mpv/options.mk    Fri Oct 20 04:58:09 2023
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.34 2023/08/15 19:17:10 leot Exp $
+# $NetBSD: options.mk,v 1.35 2023/10/20 04:58:09 mrg Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
@@ -13,9 +13,9 @@ PKG_SUPPORTED_OPTIONS+=               caca libdrm six
 # audio/video outputs
 PKG_SUPPORTED_OPTIONS+=                sdl2
 # misc
-PKG_SUPPORTED_OPTIONS+=                bluray lua
+PKG_SUPPORTED_OPTIONS+=                bluray lua javascript
 
-PKG_SUGGESTED_OPTIONS=         bluray lua sdl2 sixel
+PKG_SUGGESTED_OPTIONS=         bluray lua javascript sdl2 sixel
 PKG_SUGGESTED_OPTIONS.Linux+=  alsa pulseaudio
 
 .include "../../mk/bsd.fast.prefs.mk"
@@ -203,3 +203,13 @@ MESON_ARGS+=       -Dsixel=enabled
 .else
 MESON_ARGS+=   -Dsixel=disabled
 .endif
+
+###
+### JavaScript support
+###
+.if !empty(PKG_OPTIONS:Mjavascript)
+MESON_ARGS+=   -Djavascript=enabled
+.include "../../lang/mujs/buildlink3.mk"
+.else
+MESON_ARGS+=   -Djavascript=disabled
+.endif



Home | Main Index | Thread Index | Old Index