pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg3 add option for including EBU R128 a...
details: https://anonhg.NetBSD.org/pkgsrc/rev/36481c6276a8
branches: trunk
changeset: 353731:36481c6276a8
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Oct 10 23:37:35 2016 +0000
description:
add option for including EBU R128 audio loudness normalization support
diffstat:
multimedia/ffmpeg3/options.mk | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 1c6c52cde27f -r 36481c6276a8 multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk Mon Oct 10 23:18:08 2016 +0000
+++ b/multimedia/ffmpeg3/options.mk Mon Oct 10 23:37:35 2016 +0000
@@ -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 @@
.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
Home |
Main Index |
Thread Index |
Old Index