mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-09 06:37:10 -08:00
media-libs/webrtc-audio-processing: 1.3-r4 require abseil-cpp with c++17
Not backporting or testing building with c++20 Use EAPI-8 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:
@@ -0,0 +1,41 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit meson-multilib
|
||||
|
||||
DESCRIPTION="AudioProcessing library from the webrtc.org codebase"
|
||||
HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
|
||||
SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="1"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="cpu_flags_arm_neon"
|
||||
|
||||
RDEPEND="<dev-cpp/abseil-cpp-20260107.0:=[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.3-Add-generic-byte-order-and-pointer-size-detection.patch"
|
||||
"${FILESDIR}/${PN}-1.3-big-endian-support.patch"
|
||||
"${FILESDIR}/${PN}-1.3-x86-no-sse.patch"
|
||||
"${FILESDIR}/${PN}-1.3-musl.patch"
|
||||
"${FILESDIR}/${PN}-1.3-gcc15-cstdint.patch"
|
||||
)
|
||||
|
||||
DOCS=( AUTHORS NEWS README.md )
|
||||
|
||||
multilib_src_configure() {
|
||||
if [[ ${ABI} == x86 ]] ; then
|
||||
# bug #921140
|
||||
local -x CPPFLAGS="${CPPFLAGS} -DPFFFT_SIMD_DISABLE"
|
||||
fi
|
||||
|
||||
local emesonargs=(
|
||||
-Dneon=$(usex cpu_flags_arm_neon yes no)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user