summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-04-29 14:17:48 +0000
committernia <nia@pkgsrc.org>2020-04-29 14:17:48 +0000
commitaccb92822a556ade0c923cf74a67c13aca54f3e4 (patch)
treebd0518dc12b6784eb6978e8f7c3ed0ada999cf99 /multimedia
parent8eae5ac0c752c966c239a2bce3b25dd500ad91c7 (diff)
downloadpkgsrc-accb92822a556ade0c923cf74a67c13aca54f3e4.tar.gz
ffmpeg*: Add jack option.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg3/options.mk12
-rw-r--r--multimedia/ffmpeg4/options.mk12
2 files changed, 20 insertions, 4 deletions
diff --git a/multimedia/ffmpeg3/options.mk b/multimedia/ffmpeg3/options.mk
index ff748809123..381cec59a4a 100644
--- a/multimedia/ffmpeg3/options.mk
+++ b/multimedia/ffmpeg3/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2020/04/23 10:35:40 nia Exp $
+# $NetBSD: options.mk,v 1.19 2020/04/29 14:17:48 nia Exp $
# Global and legacy options
@@ -7,7 +7,7 @@ PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg3
PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls openssl
-PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype \
+PKG_SUPPORTED_OPTIONS= ass bluray doc fdk-aac fontconfig freetype jack \
lame libvpx opencore-amr opus pulseaudio rpi \
rtmp tesseract theora vorbis x11 x264 x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass bluray freetype fontconfig gnutls libvpx \
@@ -110,6 +110,14 @@ CONFIGURE_ARGS+= --enable-openssl
CONFIGURE_ARGS+= --disable-openssl
.endif
+# jack option
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+= --enable-jack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-jack
+.endif
+
# pulseaudio option
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+= --enable-libpulse
diff --git a/multimedia/ffmpeg4/options.mk b/multimedia/ffmpeg4/options.mk
index d5b07806b33..46f18bf65d4 100644
--- a/multimedia/ffmpeg4/options.mk
+++ b/multimedia/ffmpeg4/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.13 2020/04/23 10:35:40 nia Exp $
+# $NetBSD: options.mk,v 1.14 2020/04/29 14:17:48 nia Exp $
# Global and legacy options
@@ -6,7 +6,7 @@ PKG_OPTIONS_OPTIONAL_GROUPS= ssl
PKG_OPTIONS_GROUP.ssl= gnutls mbedtls openssl
PKG_OPTIONS_VAR= PKG_OPTIONS.ffmpeg4
-PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype \
+PKG_SUPPORTED_OPTIONS= ass av1 bluray doc fdk-aac fontconfig freetype jack \
lame libvpx opencore-amr opus pulseaudio rpi \
rtmp tesseract theora vorbis x11 x264 x265 xvid
PKG_SUGGESTED_OPTIONS= lame ass av1 bluray freetype fontconfig gnutls \
@@ -126,6 +126,14 @@ CONFIGURE_ARGS+= --enable-openssl
CONFIGURE_ARGS+= --disable-openssl
.endif
+# jack option
+.if !empty(PKG_OPTIONS:Mjack)
+CONFIGURE_ARGS+= --enable-libjack
+.include "../../audio/jack/buildlink3.mk"
+.else
+CONFIGURE_ARGS+= --disable-libjack
+.endif
+
# pulseaudio option
.if !empty(PKG_OPTIONS:Mpulseaudio)
CONFIGURE_ARGS+= --enable-libpulse