commit:     4350d1484c0ab46f8f74f973438e47ec24e2c01b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 25 02:19:44 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Mar 25 02:20:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4350d148

x11-libs/cairo: Disable building tests

Even though tests are restricted, it's still possible to set USE=test
and then configure will fail with missing dependencies.

Closes: https://bugs.gentoo.org/902775
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/cairo/cairo-1.17.8.ebuild | 6 +++---
 x11-libs/cairo/cairo-9999.ebuild   | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/x11-libs/cairo/cairo-1.17.8.ebuild 
b/x11-libs/cairo/cairo-1.17.8.ebuild
index a27acb5ec771..c32c5a8d50e5 100644
--- a/x11-libs/cairo/cairo-1.17.8.ebuild
+++ b/x11-libs/cairo/cairo-1.17.8.ebuild
@@ -18,8 +18,8 @@ DESCRIPTION="A vector graphics library with cross-device 
output support"
 HOMEPAGE="https://www.cairographics.org/ 
https://gitlab.freedesktop.org/cairo/cairo";
 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
 SLOT="0"
-IUSE="X aqua debug +glib gtk-doc test"
-RESTRICT="!test? ( test ) test" # Requires poppler-glib, which isn't available 
in multilib
+IUSE="X aqua debug +glib gtk-doc"
+RESTRICT="test" # Test suite has many failures. Requires poppler-glib, which 
isn't available in multilib
 
 RDEPEND="
        >=dev-libs/lzo-2.06-r1:2[${MULTILIB_USEDEP}]
@@ -61,7 +61,7 @@ multilib_src_configure() {
                -Dxml=disabled
                -Dzlib=enabled
 
-               $(meson_feature test tests)
+               -Dtests=disabled
 
                -Dgtk2-utils=disabled
 

diff --git a/x11-libs/cairo/cairo-9999.ebuild b/x11-libs/cairo/cairo-9999.ebuild
index 8057aa2f9d64..5ead761e1e7f 100644
--- a/x11-libs/cairo/cairo-9999.ebuild
+++ b/x11-libs/cairo/cairo-9999.ebuild
@@ -18,8 +18,8 @@ DESCRIPTION="A vector graphics library with cross-device 
output support"
 HOMEPAGE="https://www.cairographics.org/ 
https://gitlab.freedesktop.org/cairo/cairo";
 LICENSE="|| ( LGPL-2.1 MPL-1.1 )"
 SLOT="0"
-IUSE="X aqua debug +glib gtk-doc test"
-RESTRICT="!test? ( test ) test" # Requires poppler-glib, which isn't available 
in multilib
+IUSE="X aqua debug +glib gtk-doc"
+RESTRICT="test" # Test suite has many failures. Requires poppler-glib, which 
isn't available in multilib
 
 RDEPEND="
        >=dev-libs/lzo-2.06-r1:2[${MULTILIB_USEDEP}]
@@ -56,7 +56,7 @@ multilib_src_configure() {
                -Dxlib-xcb=disabled
                -Dzlib=enabled
 
-               $(meson_feature test tests)
+               -Dtests=disabled
 
                -Dgtk2-utils=disabled
 

Reply via email to