diff options
author | abs <abs@pkgsrc.org> | 2018-11-26 12:24:47 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2018-11-26 12:24:47 +0000 |
commit | 714a8d3a08454c298948ae0f42fa6220b47fdf32 (patch) | |
tree | 06b0c6930f541f293fb9db42a732caea9bd1de2f /multimedia/mpv | |
parent | 1c2d9b187daae078de9e148283d4c115990c1b16 (diff) | |
download | pkgsrc-714a8d3a08454c298948ae0f42fa6220b47fdf32.tar.gz |
Add bluray option, and enable by default. Bump PKGREVISION
Diffstat (limited to 'multimedia/mpv')
-rw-r--r-- | multimedia/mpv/Makefile | 4 | ||||
-rw-r--r-- | multimedia/mpv/options.mk | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 24fe53b80d1..f5bc0a6c856 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.77 2018/11/26 11:25:40 abs Exp $ +# $NetBSD: Makefile,v 1.78 2018/11/26 12:24:47 abs Exp $ DISTNAME= mpv-0.29.1 -PKGREVISION= 3 +PKGREVISION= 4 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 d47da6562da..7958ce4153b 100644 --- a/multimedia/mpv/options.mk +++ b/multimedia/mpv/options.mk @@ -1,12 +1,12 @@ -# $NetBSD: options.mk,v 1.15 2018/07/25 14:19:16 leot Exp $ +# $NetBSD: options.mk,v 1.16 2018/11/26 12:24:47 abs Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.mpv .include "../../multimedia/libva/available.mk" .include "../../multimedia/libvdpau/available.mk" -PKG_SUPPORTED_OPTIONS= ass caca lua pulseaudio rpi sdl2 v4l2 -PKG_SUGGESTED_OPTIONS= ass lua pulseaudio +PKG_SUPPORTED_OPTIONS= ass bluray caca lua pulseaudio rpi sdl2 v4l2 +PKG_SUGGESTED_OPTIONS= ass bluray lua pulseaudio .if ${VAAPI_AVAILABLE} == "yes" PKG_SUPPORTED_OPTIONS+= vaapi @@ -21,6 +21,16 @@ PKG_SUGGESTED_OPTIONS+= vdpau .include "../../mk/bsd.options.mk" ### +### libbluray support +### +.if !empty(PKG_OPTIONS:Mbluray) +WAF_CONFIGURE_ARGS+= --enable-libbluray +.include "../../multimedia/libbluray/buildlink3.mk" +.else +WAF_CONFIGURE_ARGS+= --disable-libbluray +.endif + +### ### caca support (video output) ### .if !empty(PKG_OPTIONS:Mcaca) |