dev-libs/belle-sip: 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:44:08 +02:00
parent 5e66ce7752
commit 00863d272d
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST belle-sip-5.1.3.tar.gz 3746353 BLAKE2B 8d268ded5a641d81ca95c53ad31a04f3cdcf9e3428a98934101b55faddafa51827090f50917d3c2042883b792d94292022a722b95a772f4e28e7d7918f4e9f83 SHA512 f39966bb06fea0ddcdd5902cf56f48e759bfccd8b5ce1a20cb23b33974ffe8874d8245ee258bebf83eff10bb06e7776d18d3c12cb492db52803cc391c135e8c3

View 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="SIP (RFC3261) implementation"
HOMEPAGE="https://gitlab.linphone.org/BC/public/belle-sip"
SRC_URI="https://gitlab.linphone.org/BC/public/${PN}/-/archive/${PV}/${P}.tar.gz"
LICENSE="GPL-3"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE="static-libs test zeroconf"
PROPERTIES="test_network"
RESTRICT="!test? ( test )"
RDEPEND="net-libs/bctoolbox[test?]
sys-libs/zlib:=
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
local mycmakeargs=(
-DENABLE_MDNS="$(usex zeroconf)"
-DENABLE_STATIC="$(usex static-libs)"
-DENABLE_TESTS="$(usex test)"
)
cmake_src_configure
}
src_test() {
# no cmake_src_test since it supports in source build only
"${S}"_build/tester/belle_sip_tester \
--resource-dir "${S}"/tester/ \
|| die "tests failed"
}

View file

@ -0,0 +1,20 @@
<?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">
Belle-sip is a modern library implementing SIP (RFC3261) transport,
transaction and dialog layers. It is written in C, with an object
oriented API. It also comprises a simple HTTP/HTTPS client implementation.
</longdescription>
<upstream>
<remote-id type="github">BelledonneCommunications/belle-sip</remote-id>
</upstream>
</pkgmetadata>