ffmpeg: use gmp for rtmp(e)

This commit is contained in:
jopejoe1
2025-08-01 20:18:05 +02:00
parent 4edcaa1606
commit 3cdf37b2ff
@@ -86,6 +86,7 @@
withFrei0r ? withFullDeps && withGPL, # frei0r video filtering
withFribidi ? withHeadlessDeps, # Needed for drawtext filter
withGme ? withFullDeps, # Game Music Emulator
withGmp ? withHeadlessDeps && withVersion3, # rtmp(t)e support
withGnutls ? withHeadlessDeps,
withGsm ? withFullDeps, # GSM de/encoder
withHarfbuzz ? withHeadlessDeps && lib.versionAtLeast version "6.1", # Needed for drawtext filter
@@ -122,7 +123,7 @@
withQuirc ? withFullDeps && lib.versionAtLeast version "7", # QR decoding
withRav1e ? withFullDeps, # AV1 encoder (focused on speed and safety)
withRist ? withHeadlessDeps, # Reliable Internet Stream Transport (RIST) protocol
withRtmp ? withFullDeps, # RTMP[E] support
withRtmp ? false, # RTMP[E] support via librtmp
withRubberband ? withFullDeps && withGPL && !stdenv.hostPlatform.isFreeBSD, # Rubberband filter
withSamba ? withFullDeps && !stdenv.hostPlatform.isDarwin && withGPLv3, # Samba protocol
withSdl2 ? withSmallDeps,
@@ -254,6 +255,7 @@
frei0r,
fribidi,
game-music-emu,
gmp,
gnutls,
gsm,
harfbuzz,
@@ -638,6 +640,7 @@ stdenv.mkDerivation (
(enableFeature withFrei0r "frei0r")
(enableFeature withFribidi "libfribidi")
(enableFeature withGme "libgme")
(enableFeature withGmp "gmp")
(enableFeature withGnutls "gnutls")
(enableFeature withGsm "libgsm")
]
@@ -851,6 +854,7 @@ stdenv.mkDerivation (
++ optionals withFrei0r [ frei0r ]
++ optionals withFribidi [ fribidi ]
++ optionals withGme [ game-music-emu ]
++ optionals withGmp [ gmp ]
++ optionals withGnutls [ gnutls ]
++ optionals withGsm [ gsm ]
++ optionals withHarfbuzz [ harfbuzz ]