multimedia/mpv: Add WAYLAND option

- Drop --disable-wayland from CONFIGURE_ARGS
- Bump PORTREVISION

PR:		223029
Submitted by:	Greg V <greg@unrelenting.technology>
This commit is contained in:
Carlos J. Puga Medina 2017-10-15 16:00:44 +00:00
parent 50b5828497
commit abf06747a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452155

View file

@ -4,6 +4,7 @@
PORTNAME= mpv
PORTVERSION= 0.27.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= multimedia audio
@ -38,7 +39,6 @@ CONFIGURE_ARGS= --docdir="${EXAMPLESDIR}" \
--disable-vaapi-wayland \
--disable-vapoursynth \
--disable-vapoursynth-lazy \
--disable-wayland \
--enable-libmpv-shared
OPTIONS_DEFINE= ARCHIVE ASS DOCS LCMS2 LUAJIT MANPAGES TEST UCHARDET ZSH
@ -46,7 +46,7 @@ OPTIONS_DEFAULT= ARCHIVE ASS DVDREAD DVDNAV MANPAGES OPENGL UCHARDET \
V4L VAAPI VDPAU X11 YTDL
OPTIONS_GROUP= IN VO AO
OPTIONS_GROUP_IN= CDIO DVDREAD DVDNAV LIBBLURAY V4L YTDL SMB
OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU X11
OPTIONS_GROUP_VO= CACA OPENGL VAAPI VDPAU WAYLAND X11
OPTIONS_GROUP_AO= ALSA JACK PULSEAUDIO SDL SNDIO
OPTIONS_SUB= yes
@ -55,6 +55,7 @@ DVDREAD_DESC= DVD Playback support
DVDNAV_DESC= DVD menu navigation
LUAJIT_DESC= Use LuaJIT instead of Lua scripting language support
UCHARDET_DESC= Guess subtitle encoding via uchardet
WAYLAND_DESC= Wayland (graphics) support
YTDL_DESC= Install youtube-dl
IN_DESC= Input
VO_DESC= Video Output
@ -136,6 +137,11 @@ VAAPI_CONFIGURE_OFF= --disable-vaapi
VDPAU_LIB_DEPENDS= libvdpau.so:multimedia/libvdpau
VDPAU_CONFIGURE_OFF= --disable-vdpau
WAYLAND_LIB_DEPENDS= libwayland-client.so:graphics/wayland \
libwayland-cursor.so:graphics/wayland \
libxkbcommon.so:x11/libxkbcommon
WAYLAND_CONFIGURE_OFF= --disable-wayland
X11_USE= XORG=x11,xext,xinerama,xineramaproto,xrandr,xscrnsaver,xv,xxf86vm
X11_VARS= INSTALLS_ICONS=yes
X11_CONFIGURE_OFF= --disable-x11