diff options
author | William Hubbs <williamh@gentoo.org> | 2019-03-02 17:04:02 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2019-03-02 17:06:16 -0600 |
commit | 444110f1ded243ffe62e98f2fbc23b2423443708 (patch) | |
tree | dc3f06f7e97bfaf69414304f8d3072de3140e4c1 /dev-util/meson | |
parent | dev-python/numpy: drop parallel build workaround (diff) | |
download | gentoo-444110f1ded243ffe62e98f2fbc23b2423443708.tar.gz gentoo-444110f1ded243ffe62e98f2fbc23b2423443708.tar.bz2 gentoo-444110f1ded243ffe62e98f2fbc23b2423443708.zip |
dev-util/meson: fix qt tests
Upstream only supports the qt tests if both qtcore and qtgui are
installed, so if only qtcore is installed, skip the tests.
Closes: https://bugs.gentoo.org/678664
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'dev-util/meson')
-rw-r--r-- | dev-util/meson/meson-0.49.2.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/dev-util/meson/meson-0.49.2.ebuild b/dev-util/meson/meson-0.49.2.ebuild index 6149ebc1ee51..31d9ff7f79ec 100644 --- a/dev-util/meson/meson-0.49.2.ebuild +++ b/dev-util/meson/meson-0.49.2.ebuild @@ -42,12 +42,11 @@ python_prepare_all() { } src_test() { - if tc-is-gcc; then - # LTO fails for static libs because the bfd plugin in missing. - # Remove this workaround after sys-devel/gcc-config-2.0 is stable. - # https://bugs.gentoo.org/672706 - tc-getPROG AR gcc-ar >/dev/null - fi + # This is needed because upstream doesn't support installing qtcore + # without qtgui in the test suite. + # https://bugs.gentoo.org/show_bug.cgi?id=678664 + has_version 'dev-qt/qtcore' && ! has_version 'dev-qt/qtgui' && + rm -rf "test cases/frameworks/4 qt" distutils-r1_src_test } |