summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2010-05-06 19:18:45 +0000
committerThilo Bangert <bangert@gentoo.org>2010-05-06 19:18:45 +0000
commit4c3a78cd138f0af99ee13057c9602c908e3a14ce (patch)
tree45c23126d02ec8c83302233292b9ded6ba5caa05 /net-voip/pjsua
parentuse BASE_DIR constant (diff)
downloadbangert-4c3a78cd138f0af99ee13057c9602c908e3a14ce.tar.gz
bangert-4c3a78cd138f0af99ee13057c9602c908e3a14ce.tar.bz2
bangert-4c3a78cd138f0af99ee13057c9602c908e3a14ce.zip
crude pjsua ebuild and a better sofsip-cli ebuild
svn path=/ebuilds/; revision=97
Diffstat (limited to 'net-voip/pjsua')
-rw-r--r--net-voip/pjsua/ChangeLog10
-rw-r--r--net-voip/pjsua/Manifest2
-rw-r--r--net-voip/pjsua/metadata.xml61
-rw-r--r--net-voip/pjsua/pjsua-1.6.ebuild52
4 files changed, 125 insertions, 0 deletions
diff --git a/net-voip/pjsua/ChangeLog b/net-voip/pjsua/ChangeLog
new file mode 100644
index 0000000..fc21883
--- /dev/null
+++ b/net-voip/pjsua/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-voip/pjsua
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*pjsua-1.6 (06 May 2010)
+
+ 06 May 2010; Thilo Bangert <bangert@gentoo.org> +pjsua-1.6.ebuild,
+ +metadata.xml:
+ initial import - very crud ebuild
+
diff --git a/net-voip/pjsua/Manifest b/net-voip/pjsua/Manifest
new file mode 100644
index 0000000..5b0e97b
--- /dev/null
+++ b/net-voip/pjsua/Manifest
@@ -0,0 +1,2 @@
+DIST pjproject-1.6.tar.bz2 3716047 RMD160 4a8c1342ad2860983e785bbfbd170410edc2b7d7 SHA1 63e7cd6963290cf396024a837d1fb5194107db57 SHA256 8f13d7197eddd1442d24cf164b395582c00e7f19283f3c0e9d1315d85551ec7b
+EBUILD pjsua-1.6.ebuild 1083 RMD160 3b51f765fc3d13e0b6c0d4d55ba7b35544044985 SHA1 9cbdd9438204c1330bd54b61d8547bef270210e8 SHA256 89fd76da1c49b7cceb7214784101b549faf833258ef08450ee5486376662250f
diff --git a/net-voip/pjsua/metadata.xml b/net-voip/pjsua/metadata.xml
new file mode 100644
index 0000000..fde6e9f
--- /dev/null
+++ b/net-voip/pjsua/metadata.xml
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>bangert@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+pjsua is an open source command line SIP user agent (softphone) that is used as the reference implementation for PJSIP, PJNATH, and PJMEDIA. Despite its simple command line appearance, it does pack many features!
+
+SIP features:
+Mutiple lines/identities (account registrations).
+Multiple calls.
+IPv6 (added in version 1.2)
+PRACK (100rel, RFC 3262).
+UPDATE (RFC 3311).
+OPTIONS.
+Call hold.
+Call transfer (attended or unattended, with or without refersub, RFC 3515, 3891, 3892, 4488).
+SIMPLE with PIDF and XPIDF support (SUBSCRIBE/NOTIFY, RFC 3265, 3856, 3863).
+Custom presence status text (RPID, RFC 4480).
+PUBLISH support (RFC 3903).
+Instant messaging (MESSAGE) and message composing indication (RFC 3428, 3994)
+UDP, TCP, and TLS transports.
+DNS SRV resolution for SIP servers (RFC 3263).
+DTMF with INFO (RFC 2976).
+STUN (RFC 3489bis).
+Digest AKA authentication (in development, RFC 3310, 4169).
+Media features:
+Multiple Concurrent calls
+Conferencing
+Speex, iLBC, GSM, G711, G722, and L16 codecs.
+Wideband and ultra-wideband codec (Speex)
+More codecs via Intel IPP library: AMR-NB, AMR-WB, G.722.1 (Siren7), G.723.1, G.726, G.728, G.729A
+Stereo codecs (L16)
+WAV file playing, streaming, and recording.
+RTCP
+Call quality monitoring.
+RFC 2833
+Auto-answer, auto-play file, auto-loop RTP
+Tone generation.
+AEC (Accoustic echo cancellation).
+Adaptive jitter buffer.
+Adaptive silence detection.
+PLC (Packet Lost Concealment).
+Packet loss simulation.
+Multiple frames per RTP packet.
+SRTP (Secure RTP)
+NAT traversal features:
+ICE (Interactive Connectivity Establishment, latest ICE draft).
+STUN (latest rfc3489-bis).
+TURN (latest draft-ietf-behave-turn)
+rport.
+SIP TCP and TLS keep-alive.
+Auto-detect and recover SIP UDP address change.
+Auto-detect ICE media transport change.
+pjsua can be downloaded from http://www.pjsip.org/download.htm.
+
+</longdescription>
+</pkgmetadata>
+
diff --git a/net-voip/pjsua/pjsua-1.6.ebuild b/net-voip/pjsua/pjsua-1.6.ebuild
new file mode 100644
index 0000000..c105b8c
--- /dev/null
+++ b/net-voip/pjsua/pjsua-1.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+DESCRIPTION="pjsua is an open source command line SIP user agent"
+HOMEPAGE="http://www.pjsip.org/pjsua.htm"
+SRC_URI="http://www.pjsip.org/release/${PV}/pjproject-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="ipv6 portaudio ssl"
+
+DEPEND="media-libs/speex
+ portaudio? ( media-libs/portaudio )
+ ssl? ( dev-libs/openssl )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/pjproject-${PV}"
+
+src_configure() {
+ local localconf
+
+ localconf='--with-external-speex '
+ use portaudio && \
+ localconf="${localconf} --with-external-pa"
+ use portaudio || \
+ localconf="${localconf} --without-pa"
+
+ econf ${localconf} || die
+
+ use ssl && \
+ echo '#define PJSIP_HAS_TLS_TRANSPORT 1' >> \
+ pjlib/include/pj/config_site.h
+
+ use ipv6 && \
+ echo '#define PJ_HAS_IPV6 1' >> \
+ pjlib/include/pj/config_site.h
+
+}
+
+src_compile() {
+ #fails on parallel build
+ emake -j1 || die "Make failed!"
+}
+
+src_install() {
+ exeinto /usr/bin
+ newexe pjsip-apps/bin/pjsua* pjsua
+}