summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-09-20 08:21:17 +0000
committeradam <adam@pkgsrc.org>2017-09-20 08:21:17 +0000
commit1a21f31c5bd9ef58ca350f1b703264a81eab0a87 (patch)
tree8ceab1a7c34c520d5b49a7cd4357294d2244b174 /multimedia/ffmpeg2
parent32b250a3fee766709ae7a4651ef89fe6126e7c38 (diff)
downloadpkgsrc-1a21f31c5bd9ef58ca350f1b703264a81eab0a87.tar.gz
ffmpeg[123]: added rtmp option
Diffstat (limited to 'multimedia/ffmpeg2')
-rw-r--r--multimedia/ffmpeg2/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/ffmpeg2/options.mk b/multimedia/ffmpeg2/options.mk
index ea5971677cf..d821f33c01c 100644
--- a/multimedia/ffmpeg2/options.mk
+++ b/multimedia/ffmpeg2/options.mk
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.12 2017/05/29 08:38:16 leot Exp $
+# $NetBSD: options.mk,v 1.13 2017/09/20 08:21:17 adam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg2
PKG_SUPPORTED_OPTIONS= ass doc faac fdk-aac fontconfig freetype gnutls lame \
- libvpx opencore-amr openssl theora vorbis x11 x264 \
+ libvpx opencore-amr openssl rtmp theora vorbis x11 x264 \
x265 xcb xvid
PKG_SUGGESTED_OPTIONS= lame ass freetype fontconfig libvpx openssl \
theora vorbis x11 x264 xvid
@@ -117,6 +117,12 @@ CONFIGURE_ARGS+= --enable-openssl
CONFIGURE_ARGS+= --disable-openssl
.endif
+# RTMP support via librtmp
+.if !empty(PKG_OPTIONS:Mrtmp)
+CONFIGURE_ARGS+= --enable-librtmp
+.include "../../net/rtmpdump/buildlink3.mk"
+.endif
+
# OGG Theora support
.if !empty(PKG_OPTIONS:Mtheora)
CONFIGURE_ARGS+= --enable-libtheora