media-libs/bv16-floatingpoint: New package from nest

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2022-04-28 14:48:49 +02:00
parent eb1c17a44d
commit eb0a8cbdb9
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST bv16-floatingpoint-1.2.tar.gz 45089 BLAKE2B c202bb2c41bdd7d4d68a3c078054a935ea209046f9e0ff79ed21cd9363ce1ac9114595a2eff7f4740fd5f7d84e3d50d2935fd0298308009233377b5eac588444 SHA512 38ae8922f8a26a7408beb13ff99f61dbfd7420dc81014ade3e7ab567e633825293dbabe21572c009751853287ce826664718533bb3600ad8e444d9a5de7e8a42

View File

@ -0,0 +1,31 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="BroadVoice 16 kbs codec"
HOMEPAGE="https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint"
SRC_URI="https://gitlab.linphone.org/BC/public/external/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="static-libs"
src_prepare() {
# Fix lib install path
sed -i "/LIBRARY DESTINATION/s/lib/\${CMAKE_INSTALL_FULL_LIBDIR}/" \
CMakeLists.txt || die "sed failed for CMakeLists.txt"
cmake_src_prepare
}
src_configure() {
local mycmakeargs=(
-DENABLE_STATIC="$(usex static-libs)"
)
cmake_src_configure
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>spiderx@spiderx.dp.ua</email>
<name>Vladimir Pavljuchenkov</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
BroadVoice is a family of Codecs created by Broadcom.
Broadcom provides both floating-point and fixed-point C open source code.
This is BroadVoice 16 kb/s version called BroadVoice16 (BV16) for
narrowband telephone-bandwidth speech.
</longdescription>
</pkgmetadata>