pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/multimedia/ffmpeg3



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Oct 10 23:37:35 UTC 2016

Modified Files:
        pkgsrc/multimedia/ffmpeg3: options.mk

Log Message:
add option for including EBU R128 audio loudness normalization support


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/multimedia/ffmpeg3/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/multimedia/ffmpeg3/options.mk
diff -u pkgsrc/multimedia/ffmpeg3/options.mk:1.2 pkgsrc/multimedia/ffmpeg3/options.mk:1.3
--- pkgsrc/multimedia/ffmpeg3/options.mk:1.2    Thu May  5 07:03:47 2016
+++ pkgsrc/multimedia/ffmpeg3/options.mk        Mon Oct 10 23:37:35 2016
@@ -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



Home | Main Index | Thread Index | Old Index