From b0088ec37057faf14a0e436b447c6246bea2623c Mon Sep 17 00:00:00 2001 From: Gerben Jan Dijkman Date: Thu, 15 Jul 2021 00:15:12 +0200 Subject: [PATCH] Added sofia-sip --- net-libs/sofia-sip/Manifest | 1 + net-libs/sofia-sip/metadata.xml | 11 +++++++ net-libs/sofia-sip/sofia-sip-1.13.4.ebuild | 37 ++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 net-libs/sofia-sip/Manifest create mode 100644 net-libs/sofia-sip/metadata.xml create mode 100644 net-libs/sofia-sip/sofia-sip-1.13.4.ebuild diff --git a/net-libs/sofia-sip/Manifest b/net-libs/sofia-sip/Manifest new file mode 100644 index 0000000..3a7e12d --- /dev/null +++ b/net-libs/sofia-sip/Manifest @@ -0,0 +1 @@ +DIST v1.13.4.tar.gz 2546133 BLAKE2B f9837af3dc0cafe80195d93f7c30b8b74ad82ea4f3bf5f14ab96b748497cf2e15ca8a98b0941f90927015a3b03abd08d7c5d8bba65ce4cc22790a3f42155db60 SHA512 bec89cedcb0c259b9a938f35cbf1bd4192f64805df7eef864b2efce63f07ba40b26fbaa74ff8028ebb11c500630913888f67e0123082974edbf1af17d4d78a72 diff --git a/net-libs/sofia-sip/metadata.xml b/net-libs/sofia-sip/metadata.xml new file mode 100644 index 0000000..2f36d58 --- /dev/null +++ b/net-libs/sofia-sip/metadata.xml @@ -0,0 +1,11 @@ + + + + + gnome@gentoo.org + Gentoo GNOME Desktop + + + sofia-sip + + diff --git a/net-libs/sofia-sip/sofia-sip-1.13.4.ebuild b/net-libs/sofia-sip/sofia-sip-1.13.4.ebuild new file mode 100644 index 0000000..c1b06b8 --- /dev/null +++ b/net-libs/sofia-sip/sofia-sip-1.13.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="RFC3261 compliant SIP User-Agent library" +HOMEPAGE="http://sofia-sip.sourceforge.net/" +SRC_URI="https://github.com/freeswitch/sofia-sip/archive/refs/tags/v${PV}.tar.gz" + +LICENSE="LGPL-2.1+ BSD public-domain" # See COPYRIGHT +SLOT="0" +KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 sparc x86 ~x86-linux" +IUSE="ssl" +# tests are broken, see bugs 304607 and 330261 +RESTRICT="test" + +RDEPEND=" + dev-libs/glib:2 + ssl? ( + dev-libs/openssl:0= + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + econf \ + --disable-static \ + $(use_with ssl openssl) +} + +src_install() { + default + dodoc RELEASE + + # no static archives + find "${D}" -name '*.la' -delete || die +}