gentoo-ebuilds/media-libs/webrtc-audio-processing/webrtc-audio-processing-2.1.ebuild
Alfred Wingate 9f27fd27d4
media-libs/webrtc-audio-processing: unkeyword 2.1 for ~ppc64
Drop the keyword for testing. I dropped the big-endian patches as
upstream appeared to have addressed them all. But I haven't tested the
package itself in such an environment as I dont have the hardware.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/44267
Signed-off-by: Sam James <sam@gentoo.org>
2025-10-21 02:13:26 +01:00

36 lines
902 B
Bash

# Copyright 1999-2025 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="2"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux"
IUSE="cpu_flags_arm_neon cpu_flags_x86_sse"
RDEPEND=">=dev-cpp/abseil-cpp-20240722:=[${MULTILIB_USEDEP}]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
# Backport
"${FILESDIR}/${P}-gcc15-cstdint.patch"
# Unmerged
"${FILESDIR}/${PN}-2.1-abseil-cpp-202508.patch"
)
DOCS=( AUTHORS NEWS README.md )
multilib_src_configure() {
local emesonargs=(
$(meson_feature cpu_flags_arm_neon neon)
$(meson_use cpu_flags_x86_sse inline-sse)
)
meson_src_configure
}