commit:     c7e8d07963bd013c2615d4a88ef2f781187cab68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  7 03:45:21 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr  7 03:46:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7e8d079

dev-libs/gobject-introspection: install tests unconditionally for now

Enable building the tests (and installing them) unconditionally
for now as a workaround for old gnome-extra/cjs and dev-libs/gjs,
see bug #952011.

Besides, it isn't ideal even before this, given USE=test shouldn't
control installation of tests at all (rather USE=test-install).

Bug: https://bugs.gentoo.org/952011
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...pection-1.84.0.ebuild => gobject-introspection-1.84.0-r1.ebuild} | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-libs/gobject-introspection/gobject-introspection-1.84.0.ebuild 
b/dev-libs/gobject-introspection/gobject-introspection-1.84.0-r1.ebuild
similarity index 91%
rename from dev-libs/gobject-introspection/gobject-introspection-1.84.0.ebuild
rename to dev-libs/gobject-introspection/gobject-introspection-1.84.0-r1.ebuild
index 3d5c7413dd14..0afea2a07903 100644
--- a/dev-libs/gobject-introspection/gobject-introspection-1.84.0.ebuild
+++ b/dev-libs/gobject-introspection/gobject-introspection-1.84.0-r1.ebuild
@@ -63,7 +63,11 @@ pkg_setup() {
 src_configure() {
        local emesonargs=(
                $(meson_feature test cairo)
-               $(meson_use test tests)
+               # Enable building the tests (and installing them) 
unconditionally
+               # for now as a workaround for old gnome-extra/cjs and 
dev-libs/gjs,
+               # see bug #952011.
+               #$(meson_use test tests)
+               -Dtests=true
                $(meson_feature doctool)
                #-Dglib_src_dir
                $(meson_use gtk-doc gtk_doc)

Reply via email to