summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaco Kroon <jaco@uls.co.za>2016-06-01 11:04:47 +0200
committerTony Vroon <chainsaw@gentoo.org>2016-06-30 11:30:47 +0100
commitc635eec3da5b371e9a218503e5d132a0a01d8950 (patch)
tree5b4ea55264678f17c4567f7ba7ce24fcc8e621bd /net-misc/asterisk
parentmedia-fonts/awesome: Initial commit. Ebuild stolen from the Quarks overlay wi... (diff)
downloadgentoo-c635eec3da5b371e9a218503e5d132a0a01d8950.tar.gz
gentoo-c635eec3da5b371e9a218503e5d132a0a01d8950.tar.bz2
gentoo-c635eec3da5b371e9a218503e5d132a0a01d8950.zip
asterisk pjsip (pjprotect) support.
Diffstat (limited to 'net-misc/asterisk')
-rw-r--r--net-misc/asterisk/asterisk-13.8.2.ebuild6
-rw-r--r--net-misc/asterisk/metadata.xml1
2 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/asterisk/asterisk-13.8.2.ebuild b/net-misc/asterisk/asterisk-13.8.2.ebuild
index fb4ea81155f3..cd1ea67ca413 100644
--- a/net-misc/asterisk/asterisk-13.8.2.ebuild
+++ b/net-misc/asterisk/asterisk-13.8.2.ebuild
@@ -20,7 +20,7 @@ IUSE_VOICEMAIL_STORAGE="
voicemail_storage_odbc
voicemail_storage_imap
"
-IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc xmpp ldap libedit libressl lua mysql newt +samples odbc osplookup oss portaudio postgres radius selinux snmp span speex srtp static syslog vorbis"
+IUSE="${IUSE_VOICEMAIL_STORAGE} alsa bluetooth calendar +caps cluster curl dahdi debug doc freetds gtalk http iconv ilbc xmpp ldap libedit libressl lua mysql newt +samples odbc osplookup oss pjproject portaudio postgres radius selinux snmp span speex srtp static syslog vorbis"
IUSE_EXPAND="VOICEMAIL_STORAGE"
REQUIRED_USE="gtalk? ( xmpp )
^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
@@ -75,6 +75,7 @@ DEPEND="${CDEPEND}
!net-libs/pjsip
voicemail_storage_imap? ( virtual/imap-c-client )
virtual/pkgconfig
+ pjproject? ( net-libs/pjproject[srtp,ext-sound] )
"
RDEPEND="${CDEPEND}
@@ -119,7 +120,8 @@ src_configure() {
$(use_with caps cap) \
$(use_with http gmime) \
$(use_with newt) \
- $(use_with portaudio)
+ $(use_with portaudio) \
+ $(use_with pjproject)
# Blank out sounds/sounds.xml file to prevent
# asterisk from installing sounds files (we pull them in via
diff --git a/net-misc/asterisk/metadata.xml b/net-misc/asterisk/metadata.xml
index 706fd135420b..4617312494c9 100644
--- a/net-misc/asterisk/metadata.xml
+++ b/net-misc/asterisk/metadata.xml
@@ -16,5 +16,6 @@
<flag name="http">Enable embedded web server</flag>
<flag name="cluster">Enable high-availability support through the Corosync Cluster Engine</flag>
<flag name="ilbc">Enable the Internet Low Bitrate Codec (iLBC)</flag>
+ <flag name="pjproject">Enable support for pjproject (pjsip)</flag>
</use>
</pkgmetadata>