diff options
author | Matt Turner <mattst88@gentoo.org> | 2023-08-09 16:42:25 -0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2023-08-09 22:23:35 -0400 |
commit | fa7ed3c78d086b0ccc0775c4306f54e8cc801efd (patch) | |
tree | d382e6e5b30b0b3b67e0f70c63307fd2dd2763f3 | |
parent | gui-libs/gtk: Mark an expected failure on big-endian (diff) | |
download | gentoo-fa7ed3c78d086b0ccc0775c4306f54e8cc801efd.tar.gz gentoo-fa7ed3c78d086b0ccc0775c4306f54e8cc801efd.tar.bz2 gentoo-fa7ed3c78d086b0ccc0775c4306f54e8cc801efd.zip |
x11-libs/gtk+: Mark an expected failure on big-endian
Signed-off-by: Matt Turner <mattst88@gentoo.org>
-rw-r--r-- | x11-libs/gtk+/gtk+-3.24.37.ebuild | 15 | ||||
-rw-r--r-- | x11-libs/gtk+/gtk+-3.24.38.ebuild | 15 |
2 files changed, 28 insertions, 2 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) diff --git a/x11-libs/gtk+/gtk+-3.24.38.ebuild b/x11-libs/gtk+/gtk+-3.24.38.ebuild index f87069b54741..27a3e05271ad 100644 --- a/x11-libs/gtk+/gtk+-3.24.38.ebuild +++ b/x11-libs/gtk+/gtk+-3.24.38.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/" @@ -101,6 +101,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) |