Gentoo Archives: gentoo-commits

From: "Sergey Popov (pinkbyte)" <pinkbyte@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/pjsip: ChangeLog pjsip-2.1-r2.ebuild
Date: Tue, 31 Dec 2013 10:16:00
Message-Id: 20131231101554.270672004E@flycatcher.gentoo.org
1 pinkbyte 13/12/31 10:15:54
2
3 Modified: ChangeLog
4 Added: pjsip-2.1-r2.ebuild
5 Log:
6 Revision bump: fix pkgconfig file generation, respect lib directory, wrt bug #496430. Thanks to Nikoli <nikoli AT gmx.us> for discovering this issues
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
9
10 Revision Changes Path
11 1.15 net-libs/pjsip/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?rev=1.15&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?rev=1.15&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?r1=1.14&r2=1.15
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v
20 retrieving revision 1.14
21 retrieving revision 1.15
22 diff -u -r1.14 -r1.15
23 --- ChangeLog 17 Jun 2013 07:19:34 -0000 1.14
24 +++ ChangeLog 31 Dec 2013 10:15:54 -0000 1.15
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-libs/pjsip
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.14 2013/06/17 07:19:34 pinkbyte Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.15 2013/12/31 10:15:54 pinkbyte Exp $
30 +
31 +*pjsip-2.1-r2 (31 Dec 2013)
32 +
33 + 31 Dec 2013; Sergey Popov <pinkbyte@g.o> +pjsip-2.1-r2.ebuild,
34 + +files/pjsip-2.1-multilib.patch:
35 + Revision bump: fix pkgconfig file generation, respect lib directory, wrt bug
36 + #496430. Thanks to Nikoli <nikoli AT gmx.us> for discovering this issues
37
38 *pjsip-2.1-r1 (17 Jun 2013)
39
40
41
42
43 1.1 net-libs/pjsip/pjsip-2.1-r2.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-2.1-r2.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-2.1-r2.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pjsip-2.1-r2.ebuild
49 ===================================================================
50 # Copyright 1999-2013 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-2.1-r2.ebuild,v 1.1 2013/12/31 10:15:54 pinkbyte Exp $
53
54 EAPI="5"
55
56 inherit eutils
57
58 DESCRIPTION="Multimedia communication libraries written in C language for building VoIP applications"
59 HOMEPAGE="http://www.pjsip.org/"
60 SRC_URI="http://www.pjsip.org/release/${PV}/pjproject-${PV}.tar.bz2"
61
62 LICENSE="GPL-2"
63 SLOT="0"
64 KEYWORDS="~amd64 ~x86"
65 IUSE="alsa cli doc examples ext-sound ffmpeg g711 g722 g7221 gsm ilbc l16 oss python speex"
66 #small-filter large-filter speex-aec ssl
67
68 DEPEND="alsa? ( media-libs/alsa-lib )
69 ffmpeg? ( virtual/ffmpeg )
70 gsm? ( media-sound/gsm )
71 ilbc? ( dev-libs/ilbc-rfc3951 )
72 speex? ( media-libs/speex )"
73
74 RDEPEND="${DEPEND}"
75
76 S="${WORKDIR}/pjproject-${PV}.0"
77
78 src_prepare() {
79 # bug #469582
80 epatch "${FILESDIR}/${P}-new-ffmpeg-workaround.patch"
81 # bug #496430
82 epatch "${FILESDIR}/${P}-multilib.patch"
83
84 epatch_user
85 }
86
87 src_configure() {
88 # Disable through portage available codecs
89 econf --disable-gsm-codec \
90 --disable-speex-codec \
91 --disable-ilbc-codec \
92 --disable-speex-aec \
93 $(use_enable alsa sound) \
94 $(use_enable oss) \
95 $(use_enable ext-sound) \
96 $(use ffmpeg || echo '--disable-ffmpeg') \
97 $(use_enable g711 g711-codec) \
98 $(use_enable l16 l16-codec) \
99 $(use_enable g722 g722-codec) \
100 $(use_enable g7221 g7221-codec)
101 #$(use_enable small-filter) \
102 #$(use_enable large-filter) \
103 #$(use_enable speex-aec) \
104 #$(use_enable ssl tls) #broken? sflphone doesn't compile if enabled or disabled
105 }
106
107 src_compile() {
108 emake dep
109 emake -j1
110 }
111
112 src_install() {
113 DESTDIR="${D}" emake install
114
115 if use cli; then
116 newbin pjsip-apps/bin/pjsua* pjsua
117 fi
118
119 if use python; then
120 pushd pjsip-apps/src/python
121 python setup.py install --prefix="${D}/usr/"
122 popd
123 fi
124
125 if use doc; then
126 dodoc README.txt README-RTEMS
127 fi
128
129 if use examples; then
130 docinto examples
131 docompress -x "/usr/share/doc/${PF}/examples"
132 dodoc pjsip-apps/src/samples/*
133 fi
134 }