media-libs/openfec: add 1.4.2.12

Closes: https://bugs.gentoo.org/951998
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-04-20 09:48:09 +01:00
parent 6e101b0e26
commit d37c27baf7
2 changed files with 34 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST openfec-1.4.2.11.tar.gz 1112095 BLAKE2B d54fcb6f3a6ea76e44519384fb288e1a896315642175694ed887ee7637c9b479d94a4e461e446b92baf669695f496eb30b5b7836b86b297c3cc95bd63edbd48d SHA512 e77da3997296e6518574102e54af2f60d27a691bb32ea9eb61a5de714974e35287d2c18e1564fa7d299fa2191af1ad718ffd8f9fd5ad7ea468aca0dd6b88e9e5
DIST openfec-1.4.2.12.tar.gz 1114214 BLAKE2B 3a53ee5330398d22b4f98038a4f9d0285b375f389e0fd80ed7e01f3fcb0e15fc78008dde98f33786e04a2707290a3ae39915f1b06ae686a0c5fe01fa76faa8fd SHA512 8228dffe7be5ef687d1d38775eae077fd0f7011099580b9cdfc0963704ee7b1332f73e911f244d20876578a394773d2eaa51d54f5851905d7c99ba0c117da295

View File

@@ -0,0 +1,33 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library of various AL-FEC codecs"
HOMEPAGE="https://github.com/roc-streaming/openfec http://openfec.org/"
SRC_URI="https://github.com/roc-streaming/openfec/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
# See https://github.com/roc-streaming/openfec/blob/d87b258e3de3cdddf700b40e94c51ec9bd44a47f/CHANGELOG#L47.
LICENSE="CeCILL-2 CeCILL-C"
SLOT="0"
KEYWORDS="~amd64"
PATCHES=(
"${FILESDIR}"/${PN}-1.4.2.11-opt.patch
)
src_configure() {
local mycmakeargs=(
# Causes crashes in media-libs/roc-toolkit (bug #941750)
# https://github.com/roc-streaming/openfec/issues/22
-DASSEMBLY_SSE_OPT=OFF
)
cmake_src_configure
}
src_test() {
cmake_src_test tests
}