Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 565472 | Differences between
and this patch

Collapse All | Expand All

(-)a/net-libs/pjproject/Manifest (+1 lines)
Line 0 Link Here
1
DIST pjproject-2.5.tar.bz2 4179560 SHA256 66e2ee1a81548efba21fa6c234d7fa6260dc98b3cd95af2137b851846d6501de SHA512 ecd7d81432e08bc3b8f67c07c765c0668eefb3283626f171e8778fd35704ecee8ee19129886e6985d54625e7e28a5c6b918bd549790910541ce887b9a2899686 WHIRLPOOL a3250a5ee9e65e6c18c08160cf4f27e1aaa29c4c477204f5fd483b162f58f88c957b634a492964c1ff868356ff4971687d047def3f7ba9df9c332ab69aa7a018
(-)a/net-libs/pjproject/metadata.xml (+35 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
<pkgmetadata>
4
  <maintainer type="person">
5
    <email>chainsaw@gentoo.org</email>
6
    <name>Tony Vroon</name>
7
  </maintainer>
8
  <use>
9
    <flag name="epoll">Use /dev/epoll ioqueue on Linux (experimental)</flag>
10
    <flag name="ext-sound">PJMEDIA will not provide any sound device backend</flag>
11
    <flag name="g711">Include G.711 codecs in the build</flag>
12
    <flag name="g722">Include G.722 codec in the build</flag>
13
    <flag name="g7221">Include G.7221 codec in the build</flag>
14
    <flag name="gsm-builtin">Use built-in GSM codec</flag>
15
    <flag name="ilbc">Include iLBC codec in the build</flag>
16
    <flag name="ipp">Enable the Intel IPP support</flag>
17
    <flag name="l16">Include Linear/L16 codec family in the build</flag>
18
    <flag name="large-filter">Enable large filter in resampling</flag>
19
    <flag name="libyuv">Include libyuv in the build</flag>
20
    <flag name="opencore-amr">Include OpenCORE AMR support in the build</flag>
21
    <flag name="openh264">Include Open H.264 support in the build</flag>
22
    <flag name="opus">Include OPUS support in the build</flag>
23
    <flag name="resample">Include resampling implementations in the build</flag>
24
    <flag name="resample-dll">Build resampling as a shared library</flag>
25
    <flag name="shared">Build shared libraries</flag>
26
    <flag name="silk">Include SILK support in the build</flag>
27
    <flag name="small-filter">Enable small filter in resampling</flag>
28
    <flag name="speex-aec">Enable Speex AEC Acoustic Echo Canceller/AEC</flag>
29
    <flag name="speex-builtin">Use built-in speex code</flag>
30
    <flag name="srtp">SRTP (Secure RTP) support</flag>
31
    <flag name="v4l2">Include Video4Linux v2 support</flag>
32
    <flag name="video">Enable video support</flag>
33
    <flag name="webrtc">Enable WebRTC support</flag>
34
  </use>
35
</pkgmetadata>
(-)a/net-libs/pjproject/pjproject-2.5.ebuild (+88 lines)
Line 0 Link Here
1
# Copyright 1999-2016 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
3
# $Id$
4
5
EAPI=5
6
7
DESCRIPTION="Open source SIP, Media, and NAT Traversal Library"
8
HOMEPAGE="http://www.pjsip.org/"
9
SRC_URI="http://www.pjsip.org/release/${PV}/${P}.tar.bz2"
10
11
LICENSE="GPL-2"
12
SLOT="0"
13
KEYWORDS="~amd64"
14
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"
15
16
DEPEND="alsa? ( media-libs/alsa-lib )
17
	gsm? ( media-sound/gsm )
18
	ilbc? ( dev-libs/ilbc-rfc3951 )
19
	speex? ( media-libs/speex )
20
	srtp? ( net-libs/libsrtp )
21
	ssl? ( net-libs/gnutls )"
22
23
RDEPEND="${DEPEND}"
24
25
src_configure() {
26
	econf \
27
	$(use_enable epoll) \
28
	$(use_enable shared) \
29
	$(use_enable resample) \
30
	$(use_enable sound) \
31
	$(use_enable oss) \
32
	$(use_enable video) \
33
	$(use_enable ext-sound) \
34
	$(use_enable small-filter) \
35
	$(use_enable large-filter) \
36
	$(use_enable speex-aec) \
37
	$(use_enable g711 g711-codec) \
38
	$(use_enable l16 l16-codec) \
39
	$(use_enable gsm-builtin gsm-codec) \
40
	$(use_enable g722 g722-codec) \
41
	$(use_enable g7221 g7221-codec) \
42
	$(use_enable speex-builtin speex-codec) \
43
	$(use_enable ilbc ilbc-codec) \
44
	$(use_enable libsamplerate) \
45
	$(use_enable resample-dll) \
46
	$(use_enable sdl) \
47
	$(use_enable ffmpeg) \
48
	$(use_enable v4l2) \
49
	$(use_enable openh264) \
50
	$(use_enable libyuv) \
51
	$(use_enable webrtc) \
52
	$(use_enable ipp) \
53
	$(use_enable ssl) \
54
	$(use_enable opencore-amr) \
55
	$(use_enable silk) \
56
	$(use_enable opus) \
57
	$(use_with speex external-speex) \
58
	$(use_with gsm external-gsm) \
59
	$(use_with srtp external-srtp) \
60
	$(use_with portaudio external-pa)
61
}
62
63
src_compile () {
64
	emake -j1
65
}
66
67
src_install() {
68
	emake install DESTDIR="${D}"
69
70
	if use python; then
71
		pushd pjsip-apps/src/python
72
		${EPYTHON} setup.py install --prefix="${D}/usr/"
73
		popd
74
	fi
75
76
	if use doc; then
77
		dodoc README.txt README-RTEMS
78
	fi
79
80
	if use examples; then
81
		insinto "/usr/share/doc/${P}/examples"
82
		doins "${S}/pjsip-apps/src/samples/"*
83
	fi
84
85
	# Remove files that pjproject should not install
86
	rm -r "${D}/usr/lib/libportaudio.a" \
87
		"${D}/usr/lib/libsrtp.a"
88
}
(-)a/net-misc/asterisk/asterisk-13.8.2.ebuild (-3 / +4 lines)
Lines 20-26 IUSE_VOICEMAIL_STORAGE=" Link Here
20
	voicemail_storage_odbc
20
	voicemail_storage_odbc
21
	voicemail_storage_imap
21
	voicemail_storage_imap
22
"
22
"
23
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"
23
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"
24
IUSE_EXPAND="VOICEMAIL_STORAGE"
24
IUSE_EXPAND="VOICEMAIL_STORAGE"
25
REQUIRED_USE="gtalk? ( xmpp )
25
REQUIRED_USE="gtalk? ( xmpp )
26
	^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
26
	^^ ( ${IUSE_VOICEMAIL_STORAGE/+/} )
Lines 72-80 CDEPEND="dev-db/sqlite:3 Link Here
72
72
73
DEPEND="${CDEPEND}
73
DEPEND="${CDEPEND}
74
	!net-libs/openh323
74
	!net-libs/openh323
75
	!net-libs/pjsip
76
	voicemail_storage_imap? ( virtual/imap-c-client )
75
	voicemail_storage_imap? ( virtual/imap-c-client )
77
	virtual/pkgconfig
76
	virtual/pkgconfig
77
	pjproject? ( net-libs/pjproject[shared,srtp,ext-sound] )
78
"
78
"
79
79
80
RDEPEND="${CDEPEND}
80
RDEPEND="${CDEPEND}
Lines 119-125 src_configure() { Link Here
119
		$(use_with caps cap) \
119
		$(use_with caps cap) \
120
		$(use_with http gmime) \
120
		$(use_with http gmime) \
121
		$(use_with newt) \
121
		$(use_with newt) \
122
		$(use_with portaudio)
122
		$(use_with portaudio) \
123
		$(use_with pjproject)
123
124
124
	# Blank out sounds/sounds.xml file to prevent
125
	# Blank out sounds/sounds.xml file to prevent
125
	# asterisk from installing sounds files (we pull them in via
126
	# asterisk from installing sounds files (we pull them in via
(-)a/net-misc/asterisk/metadata.xml (-1 / +1 lines)
Lines 16-20 Link Here
16
    <flag name="http">Enable embedded web server</flag>
16
    <flag name="http">Enable embedded web server</flag>
17
    <flag name="cluster">Enable high-availability support through the Corosync Cluster Engine</flag>
17
    <flag name="cluster">Enable high-availability support through the Corosync Cluster Engine</flag>
18
    <flag name="ilbc">Enable the Internet Low Bitrate Codec (iLBC)</flag>
18
    <flag name="ilbc">Enable the Internet Low Bitrate Codec (iLBC)</flag>
19
	<flag name="pjproject">Enable support for pjproject (pjsip)</flag>
19
  </use>
20
  </use>
20
</pkgmetadata>
21
</pkgmetadata>
21
- 

Return to bug 565472