gstreamer-meson.eclass: depend on glib-utils for -base and -bad splits

Closes: https://bugs.gentoo.org/811807
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
This commit is contained in:
Mart Raudsepp
2024-03-31 23:28:29 +03:00
parent b34bb59008
commit 840291ee2f

View File

@@ -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="