media-libs/openfec - 1.4.2.12 (gentoo)

Search

Package Information

Description:
Library of various AL-FEC codecs
Homepage:
https://github.com/roc-streaming/openfec http://openfec.org/
License:
CeCILL-2 CeCILL-C

Ebuild Details

Version EAPI Keywords Slot
1.4.2.12 8 amd64 0
View Raw Ebuild
# 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
}

Manifest for 1.4.2.12

Type File Size Source URLs
DIST openfec-1.4.2.12.tar.gz 1114214 bytes https://github.com/roc-streaming/openfec/archive/refs/tags/v1.4.2.12.tar.gz