git: dc0885f512ed - main - Mk/bsd.gecko.mk: update ffmpeg dependency after 685e477b

From: Christoph Moench-Tegeder <cmt_at_FreeBSD.org>
Date: Mon, 21 Aug 2023 18:01:38 UTC
The branch main has been updated by cmt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dc0885f512edc7c15207e4d13c6b762de3827004

commit dc0885f512edc7c15207e4d13c6b762de3827004
Author:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
AuthorDate: 2023-08-21 17:59:57 +0000
Commit:     Christoph Moench-Tegeder <cmt@FreeBSD.org>
CommitDate: 2023-08-21 17:59:57 +0000

    Mk/bsd.gecko.mk: update ffmpeg dependency after 685e477b
    
    the esr-geckos only support the older ffmpeg
---
 Mk/bsd.gecko.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/Mk/bsd.gecko.mk b/Mk/bsd.gecko.mk
index 0eb9c8b841c2..6f639b6928f1 100644
--- a/Mk/bsd.gecko.mk
+++ b/Mk/bsd.gecko.mk
@@ -239,7 +239,11 @@ MOZ_OPTIONS+=	--disable-dbus
 
 .    if ${PORT_OPTIONS:MFFMPEG}
 # dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
-RUN_DEPENDS+=	ffmpeg>=0.8,1:multimedia/ffmpeg
+.      if ${MOZILLA_VER:R:R} < 112
+RUN_DEPENDS+=	ffmpeg4>=4.4:multimedia/ffmpeg4
+.      else
+RUN_DEPENDS+=	ffmpeg>=6.0,1:multimedia/ffmpeg
+.      endif
 .    endif
 
 .    if ${PORT_OPTIONS:MLIBPROXY}