summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/ffmpeg3/options.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index 4ae5cd8d95f..bcd1572d29f 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -1,13 +1,13 @@
-# $NetBSD: options.mk,v 1.6 2017/04/15 09:26:47 adam Exp $
+# $NetBSD: options.mk,v 1.7 2017/05/28 02:09:18 maya Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
PKG_SUPPORTED_OPTIONS= ass doc fdk-aac fontconfig freetype \
gnutls lame libvpx opencore-amr openssl opus theora \
- vorbis x264 x265 xcb xvid
+ vorbis x11 x264 x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
- theora vorbis x264 xvid
+ theora vorbis x11 x264 xvid
PLIST_VARS+= doc
@@ -158,7 +158,7 @@ CONFIGURE_ARGS+= --disable-libx265
.endif
# VDPAU support
-.if !empty(PKG_OPTIONS:Mvdpau)
+.if !empty(PKG_OPTIONS:Mvdpau) && !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-vdpau
.include "../../multimedia/libvdpau/buildlink3.mk"
.else
@@ -166,7 +166,7 @@ CONFIGURE_ARGS+= --disable-vdpau
.endif
# VAAPI support
-.if !empty(PKG_OPTIONS:Mvaapi)
+.if !empty(PKG_OPTIONS:Mvaapi) && !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --enable-vaapi
.include "../../multimedia/libva/buildlink3.mk"
.else