git: 8f3e6e19285d - main - multimedia/lebiniou: switch to FFmpeg 9

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Sun, 04 Oct 2026 06:34:23 UTC
The branch main has been updated by bapt:

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

commit 8f3e6e19285dc5ceaa269647548e15d22788fcf1
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2026-10-03 21:18:37 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2026-10-04 06:31:30 +0000

    multimedia/lebiniou: switch to FFmpeg 9
    
    lebiniou 3.67.0 dropped the avcodec_close() call that broke the build
    with FFmpeg 8, so it builds fine with current FFmpeg.
    
    While here, stop configure from picking up an installed v4l_compat
    header on FreeBSD >= 1600021: the native sys/videoio.h is complete
    enough.
---
 multimedia/lebiniou/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/multimedia/lebiniou/Makefile b/multimedia/lebiniou/Makefile
index 7f8e5be38c2c..79e7fde6493d 100644
--- a/multimedia/lebiniou/Makefile
+++ b/multimedia/lebiniou/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	lebiniou
 DISTVERSIONPREFIX=	version-
 DISTVERSION=	3.67.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia graphics
 
 MAINTAINER=	thierry@FreeBSD.org
@@ -11,7 +11,7 @@ WWW=		https://biniou.lenain.info/
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libavutil.so.58:multimedia/ffmpeg6 \
+LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
 		libcaca.so:graphics/libcaca \
 		libfftw3.so:math/fftw3 \
 		libjack.so:audio/jack \
@@ -46,6 +46,10 @@ BROKEN=	missing structs in V4L2, see D59203
 .elif ${OPSYS} == FreeBSD && ${OSVERSION} < 1600021
 BUILD_DEPENDS+=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
 RUN_DEPENDS+=	${LOCALBASE}/include/linux/videodev2.h:multimedia/v4l_compat
+.elif ${OPSYS} == FreeBSD
+# sys/videoio.h provides the needed structs, so do not pick up a possibly
+# installed multimedia/v4l_compat header which conflicts with it
+CONFIGURE_ENV+=	ac_cv_header_linux_videodev2_h=no
 .endif
 
 .include <bsd.port.post.mk>