From f904cfa01856327ba405fd27f275e761cf25703e Mon Sep 17 00:00:00 2001 From: Sam James <sam@gentoo.org> Date: Thu, 7 Mar 2024 23:50:06 +0000 Subject: x11-terms/gnome-terminal: filter LTO Upstream don't support LTO & error out on it in meson.build. Closes: https://bugs.gentoo.org/926156 Signed-off-by: Sam James <sam@gentoo.org> --- x11-terms/gnome-terminal/gnome-terminal-3.44.1.ebuild | 7 +++++-- x11-terms/gnome-terminal/gnome-terminal-3.50.1.ebuild | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'x11-terms') diff --git a/x11-terms/gnome-terminal/gnome-terminal-3.44.1.ebuild b/x11-terms/gnome-terminal/gnome-terminal-3.44.1.ebuild index 702b8c3b97ff..d5716be44a7c 100644 --- a/x11-terms/gnome-terminal/gnome-terminal-3.44.1.ebuild +++ b/x11-terms/gnome-terminal/gnome-terminal-3.44.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{9..11} ) -inherit gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 xdg +inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 xdg DESCRIPTION="A terminal emulator for GNOME" HOMEPAGE="https://wiki.gnome.org/Apps/Terminal/ https://gitlab.gnome.org/GNOME/gnome-terminal" @@ -63,6 +63,9 @@ src_prepare() { } src_configure() { + # Upstream don't support LTO & error out on it in meson.build (bug #926156) + filter-lto + local emesonargs=( $(meson_use debug dbg) -Ddocs=false diff --git a/x11-terms/gnome-terminal/gnome-terminal-3.50.1.ebuild b/x11-terms/gnome-terminal/gnome-terminal-3.50.1.ebuild index 54fcb6ddfd23..5f0fcaa45256 100644 --- a/x11-terms/gnome-terminal/gnome-terminal-3.50.1.ebuild +++ b/x11-terms/gnome-terminal/gnome-terminal-3.50.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..12} ) -inherit gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 xdg +inherit flag-o-matic gnome.org gnome2-utils meson python-any-r1 readme.gentoo-r1 xdg DESCRIPTION="A terminal emulator for GNOME" HOMEPAGE="https://wiki.gnome.org/Apps/Terminal" @@ -66,6 +66,9 @@ src_prepare() { } src_configure() { + # Upstream don't support LTO & error out on it in meson.build (bug #926156) + filter-lto + local emesonargs=( $(meson_use debug dbg) -Ddocs=false -- cgit v1.2.3-65-gdbad