Merge pull request #280784 from Atemu/fix/jellyfin-ffmpeg
ffmpeg: use drv version for aribcaption configureFlags logic
This commit is contained in:
commit
836a47d2c3
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
*/
|
||||
(enableFeature withAlsa "alsa")
|
||||
# FIXME: see if jellyfin-ffmpeg is already on a version >= 6.1 to use enableFeature
|
||||
(optionalString withAribcaption "--enable-libaribcaption")
|
||||
(optionalString (withAribcaption && lib.versionAtLeast finalAttrs.version "6.1") "--enable-libaribcaption")
|
||||
(enableFeature withBzlib "bzlib")
|
||||
(enableFeature withCelt "libcelt")
|
||||
(enableFeature withCuda "cuda")
|
||||
|
|
Loading…
Reference in a new issue