summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg3/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ffmpeg3/options.mk')
-rw-r--r--multimedia/ffmpeg3/options.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index e5cfd375170..d11c32f34bf 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.10 2017/10/18 20:25:41 adam Exp $
+# $NetBSD: options.mk,v 1.11 2018/03/05 21:17:07 rjs Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
-PKG_SUPPORTED_OPTIONS= ass doc fdk-aac fontconfig freetype gnutls \
+PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype gnutls \
lame libvpx opencore-amr openssl opus rpi \
rtmp theora vorbis x11 x264 x265 xcb xvid
-PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
+PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig libvpx openssl \
theora vorbis x11 x264 xvid
PLIST_VARS+= doc
@@ -211,3 +211,12 @@ CONFIGURE_ARGS+= --enable-libxcb-xfixes
.else
CONFIGURE_ARGS+= --disable-libxcb
.endif
+
+# Bluray support
+.if !empty(PKG_OPTIONS:Mbluray)
+CONFIGURE_ARGS+= --enable-libbluray
+.include "../../multimedia/libbluray/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libbluray
+.endif
+