Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 436004 Details for
Bug 565472
net-libs/pjproject-2.5: New addition (Asterisk dependency)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
0001-asterisk-pjsip-pjprotect-support.patch
0001-asterisk-pjsip-pjprotect-support.patch (text/plain), 7.87 KB, created by
Jaco Kroon
on 2016-06-01 11:01:55 UTC
(
hide
)
Description:
0001-asterisk-pjsip-pjprotect-support.patch
Filename:
MIME Type:
Creator:
Jaco Kroon
Created:
2016-06-01 11:01:55 UTC
Size:
7.87 KB
patch
obsolete
>From 5f001f4e7b6a7d703bd80280619c6e70c1029f70 Mon Sep 17 00:00:00 2001 >From: Jaco Kroon <jaco@uls.co.za> >Date: Wed, 1 Jun 2016 11:04:47 +0200 >Subject: [PATCH] asterisk pjsip (pjprotect) support. > >--- > net-libs/pjproject/Manifest | 1 + > net-libs/pjproject/metadata.xml | 35 +++++++++++++ > net-libs/pjproject/pjproject-2.5.ebuild | 88 ++++++++++++++++++++++++++++++++ > net-misc/asterisk/asterisk-13.8.2.ebuild | 7 +-- > net-misc/asterisk/metadata.xml | 1 + > 5 files changed, 129 insertions(+), 3 deletions(-) > create mode 100644 net-libs/pjproject/Manifest > create mode 100644 net-libs/pjproject/metadata.xml > create mode 100644 net-libs/pjproject/pjproject-2.5.ebuild > >diff --git a/net-libs/pjproject/Manifest b/net-libs/pjproject/Manifest >new file mode 100644 >index 0000000..43d8e92 >--- /dev/null >+++ b/net-libs/pjproject/Manifest >@@ -0,0 +1 @@ >+DIST pjproject-2.5.tar.bz2 4179560 SHA256 66e2ee1a81548efba21fa6c234d7fa6260dc98b3cd95af2137b851846d6501de SHA512 ecd7d81432e08bc3b8f67c07c765c0668eefb3283626f171e8778fd35704ecee8ee19129886e6985d54625e7e28a5c6b918bd549790910541ce887b9a2899686 WHIRLPOOL a3250a5ee9e65e6c18c08160cf4f27e1aaa29c4c477204f5fd483b162f58f88c957b634a492964c1ff868356ff4971687d047def3f7ba9df9c332ab69aa7a018 >diff --git a/net-libs/pjproject/metadata.xml b/net-libs/pjproject/metadata.xml >new file mode 100644 >index 0000000..6f4282a >--- /dev/null >+++ b/net-libs/pjproject/metadata.xml >@@ -0,0 +1,35 @@ >+<?xml version="1.0" encoding="UTF-8"?> >+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> >+<pkgmetadata> >+ <maintainer type="person"> >+ <email>chainsaw@gentoo.org</email> >+ <name>Tony Vroon</name> >+ </maintainer> >+ <use> >+ <flag name="epoll">Use /dev/epoll ioqueue on Linux (experimental)</flag> >+ <flag name="ext-sound">PJMEDIA will not provide any sound device backend</flag> >+ <flag name="g711">Include G.711 codecs in the build</flag> >+ <flag name="g722">Include G.722 codec in the build</flag> >+ <flag name="g7221">Include G.7221 codec in the build</flag> >+ <flag name="gsm-builtin">Use built-in GSM codec</flag> >+ <flag name="ilbc">Include iLBC codec in the build</flag> >+ <flag name="ipp">Enable the Intel IPP support</flag> >+ <flag name="l16">Include Linear/L16 codec family in the build</flag> >+ <flag name="large-filter">Enable large filter in resampling</flag> >+ <flag name="libyuv">Include libyuv in the build</flag> >+ <flag name="opencore-amr">Include OpenCORE AMR support in the build</flag> >+ <flag name="openh264">Include Open H.264 support in the build</flag> >+ <flag name="opus">Include OPUS support in the build</flag> >+ <flag name="resample">Include resampling implementations in the build</flag> >+ <flag name="resample-dll">Build resampling as a shared library</flag> >+ <flag name="shared">Build shared libraries</flag> >+ <flag name="silk">Include SILK support in the build</flag> >+ <flag name="small-filter">Enable small filter in resampling</flag> >+ <flag name="speex-aec">Enable Speex AEC Acoustic Echo Canceller/AEC</flag> >+ <flag name="speex-builtin">Use built-in speex code</flag> >+ <flag name="srtp">SRTP (Secure RTP) support</flag> >+ <flag name="v4l2">Include Video4Linux v2 support</flag> >+ <flag name="video">Enable video support</flag> >+ <flag name="webrtc">Enable WebRTC support</flag> >+ </use> >+</pkgmetadata> >diff --git a/net-libs/pjproject/pjproject-2.5.ebuild b/net-libs/pjproject/pjproject-2.5.ebuild >new file mode 100644 >index 0000000..a4bc156 >--- /dev/null >+++ b/net-libs/pjproject/pjproject-2.5.ebuild >@@ -0,0 +1,88 @@ >+# Copyright 1999-2016 Gentoo Foundation >+# Distributed under the terms of the GNU General Public License v2 >+# $Id$ >+ >+EAPI=5 >+ >+DESCRIPTION="Open source SIP, Media, and NAT Traversal Library" >+HOMEPAGE="http://www.pjsip.org/" >+SRC_URI="http://www.pjsip.org/release/${PV}/${P}.tar.bz2" >+ >+LICENSE="GPL-2" >+SLOT="0" >+KEYWORDS="~amd64" >+IUSE="alsa doc epoll examples +ext-sound ffmpeg g711 g722 g7221 gsm gsm-builtin ilbc ipp l16 large-filter libsamplerate libyuv opencore-amr openh264 opus oss portaudio python resample resample-dll sdl +shared silk small-filter sound speex speex-aec speex-builtin +srtp ssl v4l2 video webrtc" >+ >+DEPEND="alsa? ( media-libs/alsa-lib ) >+ gsm? ( media-sound/gsm ) >+ ilbc? ( dev-libs/ilbc-rfc3951 ) >+ speex? ( media-libs/speex ) >+ srtp? ( net-libs/libsrtp ) >+ ssl? ( net-libs/gnutls )" >+ >+RDEPEND="${DEPEND}" >+ >+src_configure() { >+ econf \ >+ $(use_enable epoll) \ >+ $(use_enable shared) \ >+ $(use_enable resample) \ >+ $(use_enable sound) \ >+ $(use_enable oss) \ >+ $(use_enable video) \ >+ $(use_enable ext-sound) \ >+ $(use_enable small-filter) \ >+ $(use_enable large-filter) \ >+ $(use_enable speex-aec) \ >+ $(use_enable g711 g711-codec) \ >+ $(use_enable l16 l16-codec) \ >+ $(use_enable gsm-builtin gsm-codec) \ >+ $(use_enable g722 g722-codec) \ >+ $(use_enable g7221 g7221-codec) \ >+ $(use_enable speex-builtin speex-codec) \ >+ $(use_enable ilbc ilbc-codec) \ >+ $(use_enable libsamplerate) \ >+ $(use_enable resample-dll) \ >+ $(use_enable sdl) \ >+ $(use_enable ffmpeg) \ >+ $(use_enable v4l2) \ >+ $(use_enable openh264) \ >+ $(use_enable libyuv) \ >+ $(use_enable webrtc) \ >+ $(use_enable ipp) \ >+ $(use_enable ssl) \ >+ $(use_enable opencore-amr) \ >+ $(use_enable silk) \ >+ $(use_enable opus) \ >+ $(use_with speex external-speex) \ >+ $(use_with gsm external-gsm) \ >+ $(use_with srtp external-srtp) \ >+ $(use_with portaudio external-pa) >+} >+ >+src_compile () { >+ emake -j1 >+} >+ >+src_install() { >+ emake install DESTDIR="${D}" >+ >+ if use python; then >+ pushd pjsip-apps/src/python >+ ${EPYTHON} setup.py install --prefix="${D}/usr/" >+ popd >+ fi >+ >+ if use doc; then >+ dodoc README.txt README-RTEMS >+ fi >+ >+ if use examples; then >+ insinto "/usr/share/doc/${P}/examples" >+ doins "${S}/pjsip-apps/src/samples/"* >+ fi >+ >+ # Remove files that pjproject should not install >+ rm -r "${D}/usr/lib/libportaudio.a" \ >+ "${D}/usr/lib/libsrtp.a" >+} >diff --git a/net-misc/asterisk/asterisk-13.8.2.ebuild b/net-misc/asterisk/asterisk-13.8.2.ebuild >index fb4ea81..c19f4de 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/+/} ) >@@ -72,9 +72,9 @@ CDEPEND="dev-db/sqlite:3 > > DEPEND="${CDEPEND} > !net-libs/openh323 >- !net-libs/pjsip > voicemail_storage_imap? ( virtual/imap-c-client ) > virtual/pkgconfig >+ pjproject? ( net-libs/pjproject[shared,srtp,ext-sound] ) > " > > RDEPEND="${CDEPEND} >@@ -119,7 +119,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 706fd13..4617312 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> >-- >2.7.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 565472
:
416664
|
417472
|
417474
|
417482
|
421344
|
429066
|
429068
|
433894
|
434076
|
434078
|
436004
|
436006
|
436216
|
436766