summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2024-03-18 00:35:15 +0200
committerMart Raudsepp <leio@gentoo.org>2024-04-01 22:53:30 +0300
commit0092a994c585540bed85db03cd9e5ee5002fb4f8 (patch)
treeef769e22f4db4538627f634920c791617b6d4478 /eclass/gstreamer-meson.eclass
parentmedia-plugins/gst-plugins-libvisual: optimize gstreamer_system_package eclass... (diff)
downloadgentoo-0092a994c585540bed85db03cd9e5ee5002fb4f8.tar.gz
gentoo-0092a994c585540bed85db03cd9e5ee5002fb4f8.tar.bz2
gentoo-0092a994c585540bed85db03cd9e5ee5002fb4f8.zip
gstreamer-meson.eclass: Drop bogus IUSE=test for split packages
virtualx was inherited unconditionally, but only used in non-splits. Unconditional virtualx inheriting is preserved for older than 1.22.10 versions to not cause any --newuse rebuilds for stable users. Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'eclass/gstreamer-meson.eclass')
-rw-r--r--eclass/gstreamer-meson.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/gstreamer-meson.eclass b/eclass/gstreamer-meson.eclass
index d7af45d81962..bc4bdcedb5b0 100644
--- a/eclass/gstreamer-meson.eclass
+++ b/eclass/gstreamer-meson.eclass
@@ -26,8 +26,12 @@
# plugin, consider adding media-plugins/gst-plugins-meta dependency, but
# also list any packages that provide explicitly requested plugins.
+# TODO: Remove after all older versions are gone from tree
+if ver_test ${PV} -lt 1.22.10 ; then
+ inherit virtualx
+fi
# multilib-minimal goes last
-inherit meson multilib toolchain-funcs virtualx xdg-utils multilib-minimal
+inherit meson multilib toolchain-funcs xdg-utils multilib-minimal
case "${EAPI:-0}" in
7)
@@ -234,6 +238,8 @@ if [[ "${PN}" != "${GST_ORG_MODULE}" ]]; then
# Export multilib phases used for split builds.
multilib_src_install_all() { gstreamer_multilib_src_install_all; }
else
+ inherit virtualx
+
IUSE="nls test"
RESTRICT="!test? ( test )"
if [[ "${PN}" != "gstreamer" ]]; then