dev-python/webrtcvad: patch for oob and mem leak + update webrtc

Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
David Roman
2023-11-16 14:49:56 +01:00
parent 97067cdecf
commit 29dff2b2d1
2 changed files with 28 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST webrtcvad-2.0.10-patches.tar.xz 36072 BLAKE2B efe6cfccfae8c2706e4c85d47fcf6cf91135ae85dfb59aec9d61457fa3f2856ea2e51c2df9b12dd0fc79d0484f56f56277e7782faf3564931d75e252b3ebbd3c SHA512 0f18dfe92d767cf16c49677a88089f5b3a44b9e2e593d89cbcd145c23a0d049f09eb720ccc5b13a464943e9b68f1a5e741a40ed300a9a28a0eee33277ca19bfb
DIST webrtcvad-2.0.10.tar.gz 183166 BLAKE2B aa36c895c23cb9d4ea9679c3a7231abac7ef5be4adf61f06fc557fff69ab84181cabf737d4c0a7255d518454a94ca3c4c0fc969405777f02ab3c1a7c0403eac2 SHA512 ce414e39c3128e22495e8e21e46d09485952168ca763937cebb654dab87ffcfecea8198c74c009a47d8caed2a8ebc22572036fda4be36597d82e6e7057f80ae2

View File

@@ -0,0 +1,27 @@
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..11} )
inherit distutils-r1
DESCRIPTION="Python interface to the Google WebRTC Voice Activity Detector (VAD)"
HOMEPAGE="https://github.com/wiseman/py-webrtcvad"
SRC_URI="https://github.com/wiseman/py-${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo.kropotkin.rocks/distfiles/${P}-patches.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
# Depends on a package removed from ::gento (bug #915162)
RESTRICT="test"
S="${WORKDIR}/py-${P}"
PATCHES=( "${WORKDIR}/${PN}-update-webrtc.patch" "${WORKDIR}/${PN}-fix-mem-leak.patch" "${WORKDIR}/${PN}-fix-oob.patch" )