Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
inherit eutils multilib toolchain-funcs |
5 |
inherit eutils multilib toolchain-funcs |
6 |
|
6 |
|
7 |
IUSE="alsa bri curl debug doc gtk h323 hardened lowmem mmx \ |
7 |
IUSE="alsa bri curl debug doc gtk h323 hardened ilbc lowmem mmx \ |
8 |
nosamples odbc osp postgres pri speex sqlite ssl zaptel \ |
8 |
nosamples odbc osp postgres pri speex sqlite ssl zaptel \ |
9 |
elibc_uclibc" |
9 |
elibc_uclibc" |
10 |
|
10 |
|
Lines 36-41
Link Here
|
36 |
pri? ( >=net-libs/libpri-1.2.5 ) |
36 |
pri? ( >=net-libs/libpri-1.2.5 ) |
37 |
h323? ( >=dev-libs/pwlib-1.8.3 |
37 |
h323? ( >=dev-libs/pwlib-1.8.3 |
38 |
>=net-libs/openh323-1.15.0 ) |
38 |
>=net-libs/openh323-1.15.0 ) |
|
|
39 |
ilbc? ( dev-libs/ilbc-rfc3951 ) |
39 |
alsa? ( media-libs/alsa-lib ) |
40 |
alsa? ( media-libs/alsa-lib ) |
40 |
curl? ( net-misc/curl ) |
41 |
curl? ( net-misc/curl ) |
41 |
odbc? ( dev-db/unixODBC ) |
42 |
odbc? ( dev-db/unixODBC ) |
Lines 140-145
Link Here
|
140 |
waitaftermsg=1 |
141 |
waitaftermsg=1 |
141 |
fi |
142 |
fi |
142 |
|
143 |
|
|
|
144 |
if use ilbc ; then |
145 |
ewarn " Asterisk iLBC Codec Warning" |
146 |
ewarn "" |
147 |
ewarn "Asterisk does not distribute the iLBC codec source code anymore." |
148 |
ewarn "dev-libs/ilbc-rfc3951 will be used instead." |
149 |
ewarn "On some systems dev-libs/ilbc-rfc3951 should be compiled with -fPIC" |
150 |
ewarn "otherwise Asterisk may fail to start when it loads codec_ilbc." |
151 |
ewarn "" |
152 |
ewarn " Asterisk iLBC Codec Warning" |
153 |
echo |
154 |
waitaftermsg=1 |
155 |
fi |
156 |
|
157 |
if [[ $waitaftermsg -eq 1 ]]; then |
158 |
einfo "Press Ctrl+C to abort" |
159 |
echo |
160 |
ebeep 10 |
161 |
waitaftermsg=0 |
162 |
fi |
163 |
|
143 |
if use bri; then |
164 |
if use bri; then |
144 |
if ! built_with_use net-libs/libpri bri; then |
165 |
if ! built_with_use net-libs/libpri bri; then |
145 |
die "net-libs/libpri must be rebuilt ith USE=bri." |
166 |
die "net-libs/libpri must be rebuilt ith USE=bri." |
Lines 169-174
Link Here
|
169 |
epatch "${WORKDIR}"/patches/${x} |
190 |
epatch "${WORKDIR}"/patches/${x} |
170 |
done |
191 |
done |
171 |
|
192 |
|
|
|
193 |
# patch the ilbc makefile to avoid building ilbc lib since it's already provided by dev-libs/ilbc-rfc3951 |
194 |
use ilbc && epatch "${FILESDIR}"/1.2.0/${PN}-1.2-ilbc.diff |
195 |
|
172 |
if use mmx; then |
196 |
if use mmx; then |
173 |
if ! use hardened; then |
197 |
if ! use hardened; then |
174 |
einfo "Enabling mmx optimization" |
198 |
einfo "Enabling mmx optimization" |