summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg3
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2016-10-10 23:37:35 +0000
committertnn <tnn@pkgsrc.org>2016-10-10 23:37:35 +0000
commitd15ce92e8e6b6f7538412ce22e34023faac4071c (patch)
tree570a5dea7e76c2118083a69dc4d43a9725a8a8d9 /multimedia/ffmpeg3
parent0aeae662c2bfed0482c7ac491a323d7f1e24d3b2 (diff)
downloadpkgsrc-d15ce92e8e6b6f7538412ce22e34023faac4071c.tar.gz
add option for including EBU R128 audio loudness normalization support
Diffstat (limited to 'multimedia/ffmpeg3')
-rw-r--r--multimedia/ffmpeg3/options.mk16
1 files changed, 12 insertions, 4 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index 1705a4f3f46..39255c37b76 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.2 2016/05/05 07:03:47 leot Exp $
+# $NetBSD: options.mk,v 1.3 2016/10/10 23:37:35 tnn Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
-PKG_SUPPORTED_OPTIONS= ass doc faac fdk-aac fontconfig freetype gnutls lame \
- libvpx opencore-amr openssl theora vorbis x264 x265 \
- xcb xvid
+PKG_SUPPORTED_OPTIONS= ass doc ebur128 faac fdk-aac fontconfig freetype \
+ gnutls lame libvpx opencore-amr openssl theora vorbis \
+ x264 x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
theora vorbis x264 xvid
@@ -27,6 +27,14 @@ PKG_SUGGESTED_OPTIONS+= vaapi
.include "../../mk/bsd.options.mk"
+# EBU R128 audio loudness normalization
+.if !empty(PKG_OPTIONS:Mebur128)
+CONFIGURE_ARGS+= --enable-libebur128
+.include "../../audio/libebur128/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libebur128
+.endif
+
# Fontconfig
.if !empty(PKG_OPTIONS:Mfontconfig)
USE_TOOLS+= pkg-config