pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Clean up options.mk and add a JACK...
details: https://anonhg.NetBSD.org/pkgsrc/rev/979ce226bf11
branches: trunk
changeset: 413218:979ce226bf11
user: nia <nia%pkgsrc.org@localhost>
date: Mon Mar 16 21:28:23 2020 +0000
description:
mpv: Clean up options.mk and add a JACK option (off by default)
diffstat:
multimedia/mpv/options.mk | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
diffs (59 lines):
diff -r 063c1bfd460b -r 979ce226bf11 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Mon Mar 16 21:20:43 2020 +0000
+++ b/multimedia/mpv/options.mk Mon Mar 16 21:28:23 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.22 2020/01/22 19:08:28 maya Exp $
+# $NetBSD: options.mk,v 1.23 2020/03/16 21:28:23 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpv
@@ -9,12 +9,19 @@
PKG_OPTIONS_OPTIONAL_GROUPS= gl
PKG_OPTIONS_GROUP.gl= opengl rpi
-PKG_SUPPORTED_OPTIONS+= alsa ass bluray caca libdrm lua pulseaudio
-PKG_SUPPORTED_OPTIONS+= sdl2 wayland x11
+# audio outputs
+PKG_SUPPORTED_OPTIONS+= alsa jack pulseaudio
+# video outputs
+PKG_SUPPORTED_OPTIONS+= caca sdl2 libdrm wayland x11
+# misc
+PKG_SUPPORTED_OPTIONS+= ass bluray lua
.include "../../mk/bsd.fast.prefs.mk"
+
PKG_SUGGESTED_OPTIONS= ass bluray lua sdl2
+
PKG_SUGGESTED_OPTIONS.Linux+= alsa pulseaudio
+
.if ${OPSYS} != "Darwin"
PKG_SUGGESTED_OPTIONS+= opengl libdrm x11
.endif
@@ -33,7 +40,7 @@
.include "../../mk/bsd.options.mk"
###
-### alsa support
+### alsa support (audio output)
###
.if !empty(PKG_OPTIONS:Malsa)
WAF_CONFIGURE_ARGS+= --enable-alsa
@@ -74,7 +81,17 @@
.endif
###
-### Pulseaudio support (audio output)
+### JACK support (audio output)
+###
+.if !empty(PKG_OPTIONS:Mjack)
+WAF_CONFIGURE_ARGS+= --enable-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+WAF_CONFIGURE_ARGS+= --disable-jack
+.endif
+
+###
+### PulseAudio support (audio output)
###
.if !empty(PKG_OPTIONS:Mpulseaudio)
WAF_CONFIGURE_ARGS+= --enable-pulse
Home |
Main Index |
Thread Index |
Old Index