pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mpv mpv: Enable Wayland by default where su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/38b65204f00c
branches:  trunk
changeset: 409488:38b65204f00c
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 18 15:55:28 2020 +0000

description:
mpv: Enable Wayland by default where supported.

I think this requires --vo=gpu --gpu-context=wayland.

Bump PKGREVISION.

diffstat:

 multimedia/mpv/Makefile   |  3 ++-
 multimedia/mpv/options.mk |  6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (37 lines):

diff -r 1d241caab181 -r 38b65204f00c multimedia/mpv/Makefile
--- a/multimedia/mpv/Makefile   Sat Jan 18 15:33:22 2020 +0000
+++ b/multimedia/mpv/Makefile   Sat Jan 18 15:55:28 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.90 2020/01/14 10:46:41 wiz Exp $
+# $NetBSD: Makefile,v 1.91 2020/01/18 15:55:28 nia Exp $
 
 DISTNAME=      mpv-0.31.0
+PKGREVISION=   1
 CATEGORIES=    multimedia
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mpv-player/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 1d241caab181 -r 38b65204f00c multimedia/mpv/options.mk
--- a/multimedia/mpv/options.mk Sat Jan 18 15:33:22 2020 +0000
+++ b/multimedia/mpv/options.mk Sat Jan 18 15:55:28 2020 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: options.mk,v 1.20 2019/10/25 14:35:56 leot Exp $
+# $NetBSD: options.mk,v 1.21 2020/01/18 15:55:28 nia Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mpv
 
 .include "../../multimedia/libva/available.mk"
 .include "../../multimedia/libvdpau/available.mk"
+.include "../../devel/wayland/platform.mk"
 
 PKG_OPTIONS_OPTIONAL_GROUPS=   gl
 PKG_OPTIONS_GROUP.gl=          opengl rpi
@@ -25,6 +26,9 @@
 PKG_SUPPORTED_OPTIONS+=                vdpau
 PKG_SUGGESTED_OPTIONS+=                vdpau
 .endif
+.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes"
+PKG_SUGGESTED_OPTIONS+=                wayland
+.endif
 
 .include "../../mk/bsd.options.mk"
 



Home | Main Index | Thread Index | Old Index