Diff webrtc-audio-processing-0.3.1-r1 with a webrtc-audio-processing-1.0

/usr/portage/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.0.ebuild 2023-10-09 14:52:31.720368406 +0300
1
# Copyright 1999-2023 Gentoo Authors
1
# Copyright 1999-2021 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=7
5 5

  
6
inherit autotools multilib-minimal
6
inherit meson
7 7

  
8
DESCRIPTION="AudioProcessing library from the webrtc.org code base"
8
DESCRIPTION="AudioProcessing library from the webrtc.org codebase"
9 9
HOMEPAGE="https://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing/"
10
SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.xz"
10
SRC_URI="https://freedesktop.org/software/pulseaudio/${PN}/${P}.tar.gz"
11 11

  
12 12
LICENSE="BSD"
13
SLOT="0"
14
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux"
15
IUSE="static-libs"
16

  
17
DOCS=( AUTHORS NEWS README.md )
13
SLOT="1"
14
KEYWORDS="~amd64 ~x86 ~amd64-linux"
15
IUSE="cpu_flags_arm_neon"
16

  
17
RDEPEND="dev-cpp/abseil-cpp[-cxx17(+)]" # TODO: resolve cxx14 requirement
18
DEPEND="${RDEPEND}"
19
BDEPEND="virtual/pkgconfig"
18 20

  
19 21
PATCHES=(
20
	"${FILESDIR}"/${PN}-0.3-proper_detection_cxxabi_execinfo.patch
21
	"${FILESDIR}"/${PN}-0.3-Add-generic-byte-order-and-pointer-size-detection.patch
22
	"${FILESDIR}"/${PN}-0.3-big-endian-support.patch
22
	"${FILESDIR}"/${PV}-abseil-cmake.patch
23 23
)
24 24

  
25
src_prepare() {
26
	default
27
	eautoreconf
28
}
29

  
30
multilib_src_configure() {
31
	ECONF_SOURCE="${S}" econf $(use_enable static-libs static)
32
}
25
DOCS=( AUTHORS NEWS README.md )
33 26

  
34
multilib_src_install_all() {
35
	find "${ED}" -type f -name "*.la" -delete || die
27
src_configure() {
28
	local emesonargs=(
29
		-Dneon=$(usex cpu_flags_arm_neon yes no)
30
	)
31
	meson_src_configure
36 32
}
Thank you!