pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Remove pulseaudio SUGGESTED_OPTION...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bea00a125cb0
branches: trunk
changeset: 396428:bea00a125cb0
user: nia <nia%pkgsrc.org@localhost>
date: Fri May 31 15:55:11 2019 +0000
description:
mpv: Remove pulseaudio SUGGESTED_OPTION, add sdl2, and alsa on Linux.
Originally, packages were changed to support pulseaudio because NetBSD
didn't have a native audio mixer. But that isn't true any more.
SDL2 supports lots of audio (and video) outputs that mpv doesn't natively.
diffstat:
multimedia/mpv/Makefile | 4 ++--
multimedia/mpv/options.mk | 17 ++++++++++++++---
2 files changed, 16 insertions(+), 5 deletions(-)
diffs (50 lines):
diff -r a9125b93e7d5 -r bea00a125cb0 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile Fri May 31 14:42:58 2019 +0000
+++ b/multimedia/mpv/Makefile Fri May 31 15:55:11 2019 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2019/04/25 07:33:09 maya Exp $
+# $NetBSD: Makefile,v 1.82 2019/05/31 15:55:11 nia Exp $
DISTNAME= mpv-0.29.1
-PKGREVISION= 6
+PKGREVISION= 7
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_GITHUB:=mpv-player/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff -r a9125b93e7d5 -r bea00a125cb0 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Fri May 31 14:42:58 2019 +0000
+++ b/multimedia/mpv/options.mk Fri May 31 15:55:11 2019 +0000
@@ -1,12 +1,13 @@
-# $NetBSD: options.mk,v 1.16 2018/11/26 12:24:47 abs Exp $
+# $NetBSD: options.mk,v 1.17 2019/05/31 15:55:11 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.mpv
.include "../../multimedia/libva/available.mk"
.include "../../multimedia/libvdpau/available.mk"
-PKG_SUPPORTED_OPTIONS= ass bluray caca lua pulseaudio rpi sdl2 v4l2
-PKG_SUGGESTED_OPTIONS= ass bluray lua pulseaudio
+PKG_SUPPORTED_OPTIONS= alsa ass bluray caca lua pulseaudio rpi sdl2 v4l2
+PKG_SUGGESTED_OPTIONS= ass bluray lua sdl2
+PKG_SUGGESTED_OPTIONS.Linux+= alsa
.if ${VAAPI_AVAILABLE} == "yes"
PKG_SUPPORTED_OPTIONS+= vaapi
@@ -21,6 +22,16 @@
.include "../../mk/bsd.options.mk"
###
+### alsa support
+###
+.if !empty(PKG_OPTIONS:Malsa)
+WAF_CONFIGURE_ARGS+= --enable-alsa
+.include "../../audio/alsa-lib/buildlink3.mk"
+.else
+WAF_CONFIGURE_ARGS+= --disable-alsa
+.endif
+
+###
### libbluray support
###
.if !empty(PKG_OPTIONS:Mbluray)
Home |
Main Index |
Thread Index |
Old Index