summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-03-31 23:28:29 +0300
committerMart Raudsepp <leio@gentoo.org>2024-04-01 22:53:41 +0300
commit840291ee2ff9504d054018f471ee97eb68c9b578 (patch)
tree3c2412801fe0f88ae6020cc7a1652cf5443cb234 /eclass
parentmedia-plugins/gst-plugins-openh264: add 1.22.11, EAPI-8 (diff)
downloadgentoo-840291ee2ff9504d054018f471ee97eb68c9b578.tar.gz
gentoo-840291ee2ff9504d054018f471ee97eb68c9b578.tar.bz2
gentoo-840291ee2ff9504d054018f471ee97eb68c9b578.zip
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>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gstreamer-meson.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass
index e5be2d4d6b16..a26b06ba4595 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="