summaryrefslogtreecommitdiff
path: root/multimedia/ffmpeg2
diff options
context:
space:
mode:
authoradam <adam>2015-02-11 12:51:41 +0000
committeradam <adam>2015-02-11 12:51:41 +0000
commitaac2312d0a15e32c41832f638f611ac1935f3440 (patch)
tree1bc54fb03b138f8cd8e391f2e4eb4b088be4b13a /multimedia/ffmpeg2
parent6f156f490ca317311ad9b46db3adf081b7a3dd6f (diff)
downloadpkgsrc-aac2312d0a15e32c41832f638f611ac1935f3440.tar.gz
Added gnutls and opeenssl as options
Diffstat (limited to 'multimedia/ffmpeg2')
-rw-r--r--multimedia/ffmpeg2/options.mk24
1 files changed, 19 insertions, 5 deletions
diff --git a/multimedia/ffmpeg2/options.mk b/multimedia/ffmpeg2/options.mk
index 4dda0e46f2a..1534c3705ae 100644
--- a/multimedia/ffmpeg2/options.mk
+++ b/multimedia/ffmpeg2/options.mk
@@ -1,10 +1,10 @@
-# $NetBSD: options.mk,v 1.5 2014/11/30 19:08:50 adam Exp $
+# $NetBSD: options.mk,v 1.6 2015/02/11 12:51:41 adam Exp $
# Global and legacy options
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg2
-PKG_SUPPORTED_OPTIONS= ass faac fdk-aac lame libvpx opencore-amr theora \
- vorbis x264 x265 xvid
+PKG_SUPPORTED_OPTIONS= ass faac fdk-aac gnutls lame libvpx opencore-amr \
+ openssl theora vorbis x264 x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass libvpx theora vorbis x264 xvid
# Add VDPAU if it is available
@@ -52,11 +52,18 @@ CONFIGURE_ARGS+= --enable-nonfree
.include "../../audio/fdk-aac/buildlink3.mk"
.endif
+# GnuTLS support
+.if !empty(PKG_OPTIONS:Mgnutls)
+CONFIGURE_ARGS+= --enable-gnutls
+.include "../../security/gnutls/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-gnutls
+.endif
+
# opencore-amr option
.if !empty(PKG_OPTIONS:Mopencore-amr)
CONFIGURE_ARGS+= --enable-libopencore-amrnb
CONFIGURE_ARGS+= --enable-libopencore-amrwb
-
# "The OpenCORE external libraries are under the Apache License
# 2.0. That license is incompatible with the LGPL v2.1 and the GPL
# v2, but not with version 3 of those licenses. So to combine the
@@ -64,13 +71,20 @@ CONFIGURE_ARGS+= --enable-libopencore-amrwb
# upgraded by passing --enable-version3 to configure."
CONFIGURE_ARGS+= --enable-version3
# TODO: LICENSE
-
.include "../../audio/opencore-amr/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-libopencore-amrnb
CONFIGURE_ARGS+= --disable-libopencore-amrwb
.endif
+# OpenSSL support
+.if !empty(PKG_OPTIONS:Mopenssl)
+CONFIGURE_ARGS+= --enable-openssl
+.include "../../security/openssl/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-openssl
+.endif
+
# OGG Theora support
.if !empty(PKG_OPTIONS:Mtheora)
CONFIGURE_ARGS+= --enable-libtheora