diff options
Diffstat (limited to 'x11-libs/gtk+/gtk+-3.24.37.ebuild')
-rw-r--r-- | x11-libs/gtk+/gtk+-3.24.37.ebuild | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/x11-libs/gtk+/gtk+-3.24.37.ebuild b/x11-libs/gtk+/gtk+-3.24.37.ebuild index 4c1bde16b0ec..fd5f7784fdae 100644 --- a/x11-libs/gtk+/gtk+-3.24.37.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.37.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome2 meson-multilib multilib virtualx +inherit gnome2 meson-multilib multilib toolchain-funcs virtualx DESCRIPTION="Gimp ToolKit +" HOMEPAGE="https://www.gtk.org/" @@ -100,6 +100,19 @@ PATCHES=( "${FILESDIR}"/${PN}-3.24.36-update-icon-cache.patch ) +src_prepare() { + default + + # The border-image-excess-size.ui test is known to fail on big-endian platforms + # See https://gitlab.gnome.org/GNOME/gtk/-/issues/5904 + if [[ $(tc-endian) == big ]]; then + sed -i \ + -e "/border-image-excess-size.ui/d" \ + -e "/^xfails =/a 'border-image-excess-size.ui'," \ + testsuite/reftests/meson.build || die + fi +} + multilib_src_configure() { local emesonargs=( $(meson_use aqua quartz_backend) |