diff options
author | nia <nia@pkgsrc.org> | 2020-01-18 15:55:28 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-01-18 15:55:28 +0000 |
commit | 5ab1c530f07230db88e70d6fb503ff7e79c3770c (patch) | |
tree | dfa50495dfb05a867b8ce00fbe8b0a6a1162c155 /multimedia/mpv | |
parent | 49a811d65ecf212dca43c4bd0423c140a5214a4d (diff) | |
download | pkgsrc-5ab1c530f07230db88e70d6fb503ff7e79c3770c.tar.gz |
mpv: Enable Wayland by default where supported.
I think this requires --vo=gpu --gpu-context=wayland.
Bump PKGREVISION.
Diffstat (limited to 'multimedia/mpv')
-rw-r--r-- | multimedia/mpv/Makefile | 3 | ||||
-rw-r--r-- | multimedia/mpv/options.mk | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index ba08c229afd..d8f4d18d8c4 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -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 --git a/multimedia/mpv/options.mk b/multimedia/mpv/options.mk index 26307526def..421628d5849 100644 --- a/multimedia/mpv/options.mk +++ b/multimedia/mpv/options.mk @@ -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_SUGGESTED_OPTIONS+= vaapi PKG_SUPPORTED_OPTIONS+= vdpau PKG_SUGGESTED_OPTIONS+= vdpau .endif +.if ${PLATFORM_SUPPORTS_WAYLAND} == "yes" +PKG_SUGGESTED_OPTIONS+= wayland +.endif .include "../../mk/bsd.options.mk" |