Skip to content

Commit

Permalink
gstreamer-meson.eclass: depend on glib-utils for -base and -bad splits
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/811807
Signed-off-by: Mart Raudsepp <[email protected]>
  • Loading branch information
leio committed Apr 1, 2024
1 parent b34bb59 commit 840291e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eclass/gstreamer-meson.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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="
Expand Down

0 comments on commit 840291e

Please sign in to comment.