net-libs/bctoolbox: New package imported 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:
parent
b689f2b8c6
commit
87be57f9db
1
net-libs/bctoolbox/Manifest
Normal file
1
net-libs/bctoolbox/Manifest
Normal file
|
@ -0,0 +1 @@
|
||||||
|
DIST bctoolbox-5.1.3.tar.gz 180543 BLAKE2B 855d2b89b71b1d211b6968914e80c72d543f2438afa03e73bce105785065a7ab58fb80bc556443a930be3b4d70b8bc1af4d40a771c664d9a464f9c35b9c2cf04 SHA512 b242c3558b5e049728eb678d3a07605ae4cca420b4ef91dc366041786704fa150ced344e810f9167c47e43c07f2b8d6a56009fde1a6660b7ec8968a52e3d2558
|
40
net-libs/bctoolbox/bctoolbox-5.1.3.ebuild
Normal file
40
net-libs/bctoolbox/bctoolbox-5.1.3.ebuild
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Utilities library used by Belledonne Communications softwares"
|
||||||
|
HOMEPAGE="https://gitlab.linphone.org/BC/public/bctoolbox"
|
||||||
|
SRC_URI="https://gitlab.linphone.org/BC/public/${PN}/-/archive/${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="ssl static-libs test"
|
||||||
|
PROPERTIES="test_network"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="ssl? ( net-libs/mbedtls )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="virtual/pkgconfig
|
||||||
|
test? ( dev-util/bcunit )"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DENABLE_POLARSSL=OFF
|
||||||
|
-DENABLE_MBEDTLS="$(usex ssl)"
|
||||||
|
-DENABLE_STATIC="$(usex static-libs)"
|
||||||
|
-DENABLE_TESTS_COMPONENT="$(usex test)"
|
||||||
|
-DENABLE_TESTS="$(usex test)"
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
"${S}"_build/tester/bctoolbox_tester || die "tests failed"
|
||||||
|
|
||||||
|
cmake_src_test
|
||||||
|
}
|
19
net-libs/bctoolbox/metadata.xml
Normal file
19
net-libs/bctoolbox/metadata.xml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<?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">
|
||||||
|
Utilities library used by Belledonne Communications softwares like
|
||||||
|
belle-sip, mediastreamer2 and liblinphone.
|
||||||
|
</longdescription>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">BelledonneCommunications/bctoolbox</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in a new issue