git: 533628264cd5 - main - graphics/gegl: fix build with default option FFMPEG off and V4L on

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Sun, 02 Jun 2024 10:39:37 UTC
The branch main has been updated by vvd:

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

commit 533628264cd5562ca77a240fd36ff63a64b66800
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2024-06-02 10:27:39 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2024-06-02 10:27:39 +0000

    graphics/gegl: fix build with default option FFMPEG off and V4L on
    
    Run-time dependency libv4l1 found: NO (tried pkgconfig)
    meson.build:393:12: ERROR: Dependency "libv4l1" not found, tried pkgconfig
    
    PR:             279280
    Reported by:    madpilot
---
 graphics/gegl/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/gegl/Makefile b/graphics/gegl/Makefile
index adfdd91f051f..80aa266fdfd1 100644
--- a/graphics/gegl/Makefile
+++ b/graphics/gegl/Makefile
@@ -120,7 +120,8 @@ TIFF_MESON_ENABLED=	libtiff
 UMFPACK_LIB_DEPENDS=	libumfpack.so:math/suitesparse-umfpack
 UMFPACK_MESON_ENABLED=	umfpack
 
-V4L_BUILD_DEPENDS=	v4l_compat>=0:multimedia/v4l_compat
+V4L_BUILD_DEPENDS=	libv4l>0:multimedia/libv4l \
+			v4l_compat>=0:multimedia/v4l_compat
 V4L_RUN_DEPENDS=	libv4l>0:multimedia/libv4l
 V4L_MESON_ENABLED=	libv4l libv4l2
 V4L_VARS=		LICENSE+=LGPL20+