summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2022-05-31 23:09:07 +0100
committerMarek Szuba <marecki@gentoo.org>2022-05-31 23:11:21 +0100
commiteef1288b2f659e19eb6656d28cc89d4606fefc24 (patch)
treec6bda1692a062a3f959950f21dcf3ce48b8b75db /media-sound/easyeffects
parentdev-db/mariadb: bump to 10.6.8 (diff)
downloadgentoo-eef1288b2f659e19eb6656d28cc89d4606fefc24.tar.gz
gentoo-eef1288b2f659e19eb6656d28cc89d4606fefc24.tar.bz2
gentoo-eef1288b2f659e19eb6656d28cc89d4606fefc24.zip
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@gentoo.org>
Diffstat (limited to 'media-sound/easyeffects')
-rw-r--r--media-sound/easyeffects/easyeffects-6.2.5.ebuild6
1 files changed, 5 insertions, 1 deletions
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
}