From 840291ee2ff9504d054018f471ee97eb68c9b578 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sun, 31 Mar 2024 23:28:29 +0300 Subject: [PATCH] gstreamer-meson.eclass: depend on glib-utils for -base and -bad splits Closes: https://bugs.gentoo.org/811807 Signed-off-by: Mart Raudsepp --- eclass/gstreamer-meson.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index e5be2d4d6b169..a26b06ba45958 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -215,6 +215,12 @@ BDEPEND=" virtual/perl-JSON-PP " [[ ${EAPI} == 8 ]] && BDEPEND="${BDEPEND} ${PYTHON_DEPS}" +# gst-plugins-{base,good} splits all require glib-utils due to gnome.mkenums_simple meson calls in gst-libs +# The alternative would be to patch out the subdir calls, but some packages need it themselves too anyways, thus +# something in a full upgrade path will require it anyways at build time, so not worth the risk. +if [[ "${GST_ORG_MODULE}" == "gst-plugins-base" ]] || [[ "${GST_ORG_MODULE}" == "gst-plugins-bad" ]]; then + BDEPEND="${BDEPEND} dev-util/glib-utils" +fi if [[ "${PN}" != "gstreamer" ]]; then RDEPEND="