pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv Add bluray option, and enable by defaul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52bbdb552631
branches:  trunk
changeset: 387810:52bbdb552631
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Nov 26 12:24:47 2018 +0000

description:
Add bluray option, and enable by default. Bump PKGREVISION

diffstat:

 multimedia/mpv/Makefile   |   4 ++--
 multimedia/mpv/options.mk |  16 +++++++++++++---
 2 files changed, 15 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r 454cf4e091b8 -r 52bbdb552631 multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Mon Nov 26 11:25:40 2018 +0000
+++ b/multimedia/mpv/Makefile   Mon Nov 26 12:24:47 2018 +0000
@@ -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 -r 454cf4e091b8 -r 52bbdb552631 multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Mon Nov 26 11:25:40 2018 +0000
+++ b/multimedia/mpv/options.mk Mon Nov 26 12:24:47 2018 +0000
@@ -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 @@
 .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)



Home | Main Index | Thread Index | Old Index