commit:     7dbeecd706f4f9fc157df43bfe660a79d27081ef
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Tue Oct  4 02:26:02 2022 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Tue Oct  4 03:13:02 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dbeecd7

media-sound/easyeffects: require gcc to build 6.3.0

Enforced by upstream build scripts + code known to fail to compile
against clang (see https://github.com/wwmm/easyeffects/pull/1739).

Closes: https://bugs.gentoo.org/874342
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 media-sound/easyeffects/easyeffects-6.3.0.ebuild | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/media-sound/easyeffects/easyeffects-6.3.0.ebuild 
b/media-sound/easyeffects/easyeffects-6.3.0.ebuild
index 7df1501d43c1..b9f9b01ee3f3 100644
--- a/media-sound/easyeffects/easyeffects-6.3.0.ebuild
+++ b/media-sound/easyeffects/easyeffects-6.3.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit gnome2-utils flag-o-matic meson toolchain-funcs
+inherit gnome2-utils meson toolchain-funcs
 
 DESCRIPTION="Limiter, auto volume and many other plugins for PipeWire 
applications"
 HOMEPAGE="https://github.com/wwmm/easyeffects";
@@ -56,11 +56,10 @@ BDEPEND="dev-libs/appstream-glib
 
 pkg_pretend() {
        if [[ ${MERGE_TYPE} != "binary" ]] ; then
-               if ! test-flag-CXX -std=c++20 ; then
-                       die "${PN} requires degree of C++20 support only 
available since GCC 10 or Clang 10"
+               if ! tc-is-gcc; then
+                       die "Since version 6.3.0 ${PN} only supports GCC due to 
required level of C++20 support"
                fi
-
-               if tc-is-gcc && [[ $(gcc-major-version) -lt 11 ]] ; then
+               if [[ $(gcc-major-version) -lt 11 ]] ; then
                        die "Since version 6.2.5 ${PN} requires GCC 11 or newer 
to build (Bug #848072)"
                fi
        fi

Reply via email to