From 09e56a61f697c82f41a9f4083e927d76f82aeff9 Mon Sep 17 00:00:00 2001 From: jopejoe1 Date: Sun, 8 Sep 2024 21:21:09 +0200 Subject: [PATCH] ffmpeg: add withZvbi options support for teletext decoding --- pkgs/development/libraries/ffmpeg/generic.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index e6863e849324..14cf65a5563a 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -143,6 +143,7 @@ , withZimg ? withHeadlessDeps , withZlib ? withHeadlessDeps , withZmq ? withFullDeps # Message passing +, withZvbi ? withFullDeps # Teletext support /* * Licensing options (yes some are listed twice, filters and such are not listed) @@ -325,6 +326,7 @@ , zeromq4 , zimg , zlib +, zvbi /* * Darwin frameworks */ @@ -683,6 +685,7 @@ stdenv.mkDerivation (finalAttrs: { (enableFeature withZimg "libzimg") (enableFeature withZlib "zlib") (enableFeature withZmq "libzmq") + (enableFeature withZvbi "libzvbi") /* * Developer flags */ @@ -821,6 +824,7 @@ stdenv.mkDerivation (finalAttrs: { ++ optionals withZimg [ zimg ] ++ optionals withZlib [ zlib ] ++ optionals withZmq [ zeromq4 ] + ++ optionals withZvbi [ zvbi ] ; buildFlags = [ "all" ]