diff options
author | Mart Raudsepp <leio@gentoo.org> | 2024-03-18 00:15:09 +0200 |
---|---|---|
committer | Mart Raudsepp <leio@gentoo.org> | 2024-04-01 22:53:29 +0300 |
commit | 479d53111a9b29950d30d3ffa2cdb938a98610e0 (patch) | |
tree | 4d0fa8e9731303e736ee70148a637605143b2c5b /eclass | |
parent | gstreamer-meson.eclass: Avoid needlessly compiling helper libraries in split ... (diff) | |
download | gentoo-479d53111a9b29950d30d3ffa2cdb938a98610e0.tar.gz gentoo-479d53111a9b29950d30d3ffa2cdb938a98610e0.tar.bz2 gentoo-479d53111a9b29950d30d3ffa2cdb938a98610e0.zip |
gstreamer-meson.eclass: Avoid gl getting automatically enabled for base splits
This necessitates adding `gl` to GST_PLUGINS_NOAUTO in gst-plugins-base, or it gets
disabled there as well due to eclass additions being appended to the ebuild ones.
This is mainly for correctness, as the few base split builds didn't actually end up
building anything about GL extra due to this.
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/gstreamer-meson.eclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass index b9b9b9fa95df..d7af45d81962 100644 --- a/eclass/gstreamer-meson.eclass +++ b/eclass/gstreamer-meson.eclass @@ -95,6 +95,11 @@ hls" soup" fi + if grep -q "option('gl'" "${EMESON_SOURCE}"/meson_options.txt ; then + GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS} +gl" + fi + # See bug #907483 if grep -q "option('qt5'" "${EMESON_SOURCE}"/meson_options.txt ; then GST_PLUGINS_EXT_DEPS="${GST_PLUGINS_EXT_DEPS} |