Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 May 2026 08:34:47 +0000
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 25faac8fb83b - main - multimedia/gstreamer1-plugins: Introduce GST_PLUGIN_DEPENDS
Message-ID:  <69f465a7.3fbe8.6939f0a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by diizzy:

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

commit 25faac8fb83bbe5edc513795f0c0a978520e708e
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2026-05-01 06:06:56 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2026-05-01 08:34:03 +0000

    multimedia/gstreamer1-plugins: Introduce GST_PLUGIN_DEPENDS
    
    Some plugins such as graphics/gstreamer1-plugins-vulkan has a dependency
    of wayland which previously were handled by passing both CONFIGURE_ARGS and
    MESON_ARGS via the gstreamer1 "framework" as the framework isn't
    aware if dependencies to get what would eventually end up in MESON_ARGS in
    correct order. This approach broke with commit
    bf193dc1da282c769d3291817a8378adbd762ac7 as we now only make use of
    MESON_ARGS instead of incorrectly using CONFIGURE_ARGS to pass
    MESON_ARGS. In order to fix this introduce GST_PLUGIN_DEPENDS which
    gets appended after gstreamer's current framework logic in MESON_ARGS.
    It only supports defining one dependency but it's sufficient fow now.
---
 multimedia/gstreamer1-plugins/Makefile.common | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index 3a2c3dfeeedd..a08d9eb4a4bf 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -418,6 +418,10 @@ MESON_ARGS+=	-D${d}=enabled
 MESON_ARGS+=	-D${GST_PLUGIN}=enabled
 .endif
 
+.if defined(GST_PLUGIN_DEPENDS)
+MESON_ARGS+=	-D${GST_PLUGIN_DEPENDS}=enabled
+.endif
+
 .if !defined(NO_GSTREAMER_COMMON)
 GST_PLUGIN_SUFFIX?=	-${GST_PLUGIN}
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69f465a7.3fbe8.6939f0a>