media-libs/webrtc-audio-processing: 2.1 build with c++20 for new abseil

`>=abseil-cpp-20260107.1` is build using `c++-20` do the same to avoid
build failures.

Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/635
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Paul Zander
2026-05-27 17:20:41 +01:00
committed by Sam James
parent 54311ea529
commit 118cb4699b
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -32,5 +32,13 @@ multilib_src_configure() {
$(meson_feature cpu_flags_arm_neon neon)
$(meson_use cpu_flags_x86_sse inline-sse)
)
if has_version ">=dev-cpp/abseil-cpp-20260107.0"; then
# needs >=c++20
emesonargs=(
-Dcpp_std=c++20
)
fi
meson_src_configure
}