commit: eef1288b2f659e19eb6656d28cc89d4606fefc24 Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Tue May 31 22:09:07 2022 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Tue May 31 22:11:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef1288b
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 <marecki <AT> gentoo.org> media-sound/easyeffects/easyeffects-6.2.5.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 }
