summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-03-18 13:58:35 +0200
committerMart Raudsepp <leio@gentoo.org>2024-04-01 22:53:31 +0300
commit7c884dfce0c405fa409d0f8dc1b9517574010bcf (patch)
tree664577a811c991e61314bbef8c1326f7c2b5209a
parentmedia-plugins/gst-plugins-libvisual: depend on specific libvisual slots (diff)
downloadgentoo-7c884dfce0c405fa409d0f8dc1b9517574010bcf.tar.gz
gentoo-7c884dfce0c405fa409d0f8dc1b9517574010bcf.tar.bz2
gentoo-7c884dfce0c405fa409d0f8dc1b9517574010bcf.zip
gstreamer-meson.eclass: fix false positive missing introspection warnings
Split plugins would (almost?) never enable introspection build as they typically don't ship any libraries, much less those that would be set up for introspection. Bug: https://bugs.gentoo.org/810417 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
-rw-r--r--eclass/gstreamer-meson.eclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass
index b276b7c1fb41..da514129a5ae 100644
--- a/eclass/gstreamer-meson.eclass
+++ b/eclass/gstreamer-meson.eclass
@@ -318,7 +318,9 @@ gstreamer_multilib_src_configure() {
gst_conf+=( -Dintrospection=$(multilib_native_usex introspection enabled disabled) )
else
gst_conf+=( -Dintrospection=disabled )
- eqawarn "QA: IUSE=introspection is missing while plugin supports it"
+ if [[ "${PN}" == "${GST_ORG_MODULE}" ]]; then
+ eqawarn "QA: IUSE=introspection is missing while package supports it"
+ fi
fi
else
if in_iuse introspection ; then