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:   leot
Date:           Sun Jan  1 22:36:34 UTC 2017

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

Log Message:
Add support for the "opus" option (disabled by default, so no PKGREVISION bump)

Patch provided by Adrien Fernandes via #NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 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.4 pkgsrc/multimedia/ffmpeg3/options.mk:1.5
--- pkgsrc/multimedia/ffmpeg3/options.mk:1.4    Thu Nov  3 21:25:55 2016
+++ pkgsrc/multimedia/ffmpeg3/options.mk        Sun Jan  1 22:36:34 2017
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.4 2016/11/03 21:25:55 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2017/01/01 22:36:34 leot Exp $
 
 # Global and legacy options
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.ffmpeg3
 PKG_SUPPORTED_OPTIONS= ass doc ebur128 fdk-aac fontconfig freetype \
-                       gnutls lame libvpx opencore-amr openssl theora vorbis \
-                       x264 x265 xcb xvid
+                       gnutls lame libvpx opencore-amr openssl opus theora \
+                       vorbis x264 x265 xcb xvid
 PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
                        theora vorbis x264 xvid
 
@@ -135,6 +135,12 @@ CONFIGURE_ARGS+=   --enable-libmp3lame
 .include "../../audio/lame/buildlink3.mk"
 .endif
 
+# OPUS support
+.if !empty(PKG_OPTIONS:Mopus)
+CONFIGURE_ARGS+=       --enable-libopus
+.include "../../audio/libopus/buildlink3.mk"
+.endif
+
 # XviD support
 .if !empty(PKG_OPTIONS:Mxvid)
 CONFIGURE_ARGS+=       --enable-libxvid



Home | Main Index | Thread Index | Old Index