1 |
elvanor 11/02/22 10:59:09 |
2 |
|
3 |
Modified: pjsip-1.6.ebuild ChangeLog |
4 |
Added: pjsip-1.8.10.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.1.9.25/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 net-libs/pjsip/pjsip-1.6.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: pjsip-1.6.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- pjsip-1.6.ebuild 4 Nov 2010 17:33:44 -0000 1.3 |
24 |
+++ pjsip-1.6.ebuild 22 Feb 2011 10:59:09 -0000 1.4 |
25 |
@@ -1,6 +1,6 @@ |
26 |
-# Copyright 1999-2010 Gentoo Foundation |
27 |
+# Copyright 1999-2011 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild,v 1.3 2010/11/04 17:33:44 fauli Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.6.ebuild,v 1.4 2011/02/22 10:59:09 elvanor Exp $ |
31 |
|
32 |
EAPI="2" |
33 |
|
34 |
|
35 |
|
36 |
|
37 |
1.4 net-libs/pjsip/ChangeLog |
38 |
|
39 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?rev=1.4&view=markup |
40 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?rev=1.4&content-type=text/plain |
41 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/ChangeLog?r1=1.3&r2=1.4 |
42 |
|
43 |
Index: ChangeLog |
44 |
=================================================================== |
45 |
RCS file: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v |
46 |
retrieving revision 1.3 |
47 |
retrieving revision 1.4 |
48 |
diff -u -r1.3 -r1.4 |
49 |
--- ChangeLog 4 Nov 2010 17:33:44 -0000 1.3 |
50 |
+++ ChangeLog 22 Feb 2011 10:59:09 -0000 1.4 |
51 |
@@ -1,6 +1,11 @@ |
52 |
# ChangeLog for net-libs/pjsip |
53 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
54 |
-# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.3 2010/11/04 17:33:44 fauli Exp $ |
55 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/ChangeLog,v 1.4 2011/02/22 10:59:09 elvanor Exp $ |
57 |
+ |
58 |
+*pjsip-1.8.10 (22 Feb 2011) |
59 |
+ |
60 |
+ 22 Feb 2011; <elvanor@g.o> +pjsip-1.8.10.ebuild: |
61 |
+ Version bump to 1.8.10. |
62 |
|
63 |
04 Nov 2010; Christian Faulhammer <fauli@g.o> pjsip-1.6.ebuild: |
64 |
stable x86, bug 342757 |
65 |
|
66 |
|
67 |
|
68 |
1.1 net-libs/pjsip/pjsip-1.8.10.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-1.8.10.ebuild?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/pjsip/pjsip-1.8.10.ebuild?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: pjsip-1.8.10.ebuild |
74 |
=================================================================== |
75 |
# Copyright 1999-2011 Gentoo Foundation |
76 |
# Distributed under the terms of the GNU General Public License v2 |
77 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/pjsip/pjsip-1.8.10.ebuild,v 1.1 2011/02/22 10:59:09 elvanor Exp $ |
78 |
|
79 |
EAPI="2" |
80 |
|
81 |
DESCRIPTION="Multimedia communication libraries written in C language |
82 |
for building VoIP applications." |
83 |
HOMEPAGE="http://www.pjsip.org/" |
84 |
SRC_URI="http://www.pjsip.org/release/${PV}/pjproject-${PV}.tar.bz2" |
85 |
|
86 |
LICENSE="GPL-2" |
87 |
SLOT="0" |
88 |
KEYWORDS="~amd64 ~x86" |
89 |
IUSE="alsa doc epoll examples ext-sound g711 g722 g7221 gsm ilbc l16 |
90 |
oss python speex" |
91 |
#small-filter large-filter speex-aec ssl |
92 |
|
93 |
DEPEND="alsa? ( media-libs/alsa-lib ) |
94 |
gsm? ( media-sound/gsm ) |
95 |
ilbc? ( dev-libs/ilbc-rfc3951 ) |
96 |
speex? ( media-libs/speex )" |
97 |
#ssl? ( dev-libs/openssl ) |
98 |
RDEPEND="${DEPEND}" |
99 |
|
100 |
S="${WORKDIR}/pjproject-${PV}" |
101 |
|
102 |
src_prepare() { |
103 |
# Remove target name from lib names |
104 |
sed -i -e 's/-$(TARGET_NAME)//g' \ |
105 |
-e 's/= $(TARGET_NAME).a/= .a/g' \ |
106 |
-e 's/-$(LIB_SUFFIX)/$(LIB_SUFFIX)/g' \ |
107 |
$(find . -name '*.mak*' -o -name Makefile) || die "sed failed." |
108 |
|
109 |
# Fix hardcoded prefix and flags |
110 |
sed -i \ |
111 |
-e 's/poll@/poll@\nexport PREFIX := @prefix@\n/g' \ |
112 |
-e 's!prefix = /usr/local!prefix = $(PREFIX)!' \ |
113 |
-e '/PJLIB_CFLAGS/ s/(_CFLAGS)/(_CFLAGS) -fPIC/g' \ |
114 |
-e '/PJLIB_UTIL_CFLAGS/ s/(_CFLAGS)/(_CFLAGS) -fPIC/g' \ |
115 |
Makefile \ |
116 |
build.mak.in || die "sed failed." |
117 |
|
118 |
# TODO: remove deps to shipped codecs and libs, use system ones |
119 |
# rm -r third_party |
120 |
# libresample: https://ccrma.stanford.edu/~jos/resample/Free_Resampling_Software.html |
121 |
} |
122 |
|
123 |
src_configure() { |
124 |
# Disable through portage available codecs |
125 |
econf --disable-gsm-codec \ |
126 |
--disable-speex-codec \ |
127 |
--disable-ilbc-codec \ |
128 |
--disable-speex-aec \ |
129 |
$(use_enable epoll) \ |
130 |
$(use_enable alsa sound) \ |
131 |
$(use_enable oss) \ |
132 |
$(use_enable ext-sound) \ |
133 |
$(use_enable g711 g711-codec) \ |
134 |
$(use_enable l16 l16-codec) \ |
135 |
$(use_enable g722 g722-codec) \ |
136 |
$(use_enable g7221 g7221-codec) || die "econf failed." |
137 |
#$(use_enable small-filter) \ |
138 |
#$(use_enable large-filter) \ |
139 |
#$(use_enable speex-aec) \ |
140 |
#$(use_enable ssl) \ #broken? sflphone doesn't compile if enabled or disabled |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
emake dep || die "emake dep failed." |
145 |
emake -j1 || die "emake failed." |
146 |
} |
147 |
|
148 |
src_install() { |
149 |
DESTDIR="${D}" emake install || die "emake install failed." |
150 |
|
151 |
if use python; then |
152 |
pushd pjsip-apps/src/python |
153 |
python setup.py install --prefix="${D}/usr/" |
154 |
popd |
155 |
fi |
156 |
|
157 |
if use doc; then |
158 |
dodoc README.txt README-RTEMS |
159 |
fi |
160 |
|
161 |
if use examples; then |
162 |
insinto "/usr/share/doc/${P}/examples" |
163 |
doins "${S}/pjsip-apps/src/samples/"* |
164 |
fi |
165 |
|
166 |
# Remove files that pjproject should not install |
167 |
rm -r "${D}/usr/lib/libportaudio.a" \ |
168 |
"${D}/usr/lib/libsrtp.a" |
169 |
} |