From eef1288b2f659e19eb6656d28cc89d4606fefc24 Mon Sep 17 00:00:00 2001 From: Marek Szuba Date: Tue, 31 May 2022 23:09:07 +0100 Subject: media-sound/easyeffects-6.2.5: die if <=gcc-10 is used Upstream has made a conscious decision not to support older gcc version any more, see the comments in https://github.com/wwmm/easyeffects/issues/1510 . Closes: https://bugs.gentoo.org/848072 Signed-off-by: Marek Szuba --- media-sound/easyeffects/easyeffects-6.2.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'media-sound/easyeffects') diff --git a/media-sound/easyeffects/easyeffects-6.2.5.ebuild b/media-sound/easyeffects/easyeffects-6.2.5.ebuild index fe870ff42fa7..098fd480a549 100644 --- a/media-sound/easyeffects/easyeffects-6.2.5.ebuild +++ b/media-sound/easyeffects/easyeffects-6.2.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit gnome2-utils flag-o-matic meson +inherit gnome2-utils flag-o-matic meson toolchain-funcs DESCRIPTION="Limiter, auto volume and many other plugins for PipeWire applications" HOMEPAGE="https://github.com/wwmm/easyeffects" @@ -63,6 +63,10 @@ pkg_pretend() { if ! test-flag-CXX -std=c++20 ; then die "${PN} requires degree of C++20 support only available since GCC 10 or Clang 10" fi + + if tc-is-gcc && [[ $(gcc-major-version) -lt 11 ]] ; then + die "Since version 6.2.5 ${PN} requires GCC 11 or newer to build (Bug #848072)" + fi fi } -- cgit v1.2.3-65-gdbad