pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/ffmpeg3 Add support for the "opus" option (...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c070274b4e85
branches: trunk
changeset: 356553:c070274b4e85
user: leot <leot%pkgsrc.org@localhost>
date: Sun Jan 01 22:36:34 2017 +0000
description:
Add support for the "opus" option (disabled by default, so no PKGREVISION bump)
Patch provided by Adrien Fernandes via #NetBSD
diffstat:
multimedia/ffmpeg3/options.mk | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r dc73e415ce5e -r c070274b4e85 multimedia/ffmpeg3/options.mk
--- a/multimedia/ffmpeg3/options.mk Sun Jan 01 22:01:45 2017 +0000
+++ b/multimedia/ffmpeg3/options.mk Sun Jan 01 22:36:34 2017 +0000
@@ -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 @@
.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