Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/easyeffects/
Date: Tue, 31 May 2022 22:11:32
Message-Id: 1654035081.eef1288b2f659e19eb6656d28cc89d4606fefc24.marecki@gentoo
1 commit: eef1288b2f659e19eb6656d28cc89d4606fefc24
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 31 22:09:07 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue May 31 22:11:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eef1288b
7
8 media-sound/easyeffects-6.2.5: die if <=gcc-10 is used
9
10 Upstream has made a conscious decision not to support older gcc version
11 any more, see the comments in
12 https://github.com/wwmm/easyeffects/issues/1510 .
13
14 Closes: https://bugs.gentoo.org/848072
15 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
16
17 media-sound/easyeffects/easyeffects-6.2.5.ebuild | 6 +++++-
18 1 file changed, 5 insertions(+), 1 deletion(-)
19
20 diff --git a/media-sound/easyeffects/easyeffects-6.2.5.ebuild b/media-sound/easyeffects/easyeffects-6.2.5.ebuild
21 index fe870ff42fa7..098fd480a549 100644
22 --- a/media-sound/easyeffects/easyeffects-6.2.5.ebuild
23 +++ b/media-sound/easyeffects/easyeffects-6.2.5.ebuild
24 @@ -3,7 +3,7 @@
25
26 EAPI=8
27
28 -inherit gnome2-utils flag-o-matic meson
29 +inherit gnome2-utils flag-o-matic meson toolchain-funcs
30
31 DESCRIPTION="Limiter, auto volume and many other plugins for PipeWire applications"
32 HOMEPAGE="https://github.com/wwmm/easyeffects"
33 @@ -63,6 +63,10 @@ pkg_pretend() {
34 if ! test-flag-CXX -std=c++20 ; then
35 die "${PN} requires degree of C++20 support only available since GCC 10 or Clang 10"
36 fi
37 +
38 + if tc-is-gcc && [[ $(gcc-major-version) -lt 11 ]] ; then
39 + die "Since version 6.2.5 ${PN} requires GCC 11 or newer to build (Bug #848072)"
40 + fi
41 fi
42 }