diff options
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/mpv/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mpv/options.mk | 17 |
2 files changed, 16 insertions, 5 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 246d1b96321..4979ace69f7 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -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 --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk index 7958ce4153b..f8927cb36df 100644 --- a/multimedia/mpv/options.mk +++ b/multimedia/mpv/options.mk @@ -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 @@ PKG_SUGGESTED_OPTIONS+= vdpau .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) |