diff --git a/multimedia/mpv/Makefile b/multimedia/mpv/Makefile index 70acb370264e..56c4ede57c59 100644 --- a/multimedia/mpv/Makefile +++ b/multimedia/mpv/Makefile @@ -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