1 |
chainsaw 14/02/10 10:44:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: asterisk-g729-1.8.4.3.1.6.ebuild |
5 |
asterisk-g729-11.0.3.1.6.ebuild |
6 |
Log: |
7 |
Version bump on both 1.8 & 11 branches, as requested by Jaco Kroon in bug #500278. |
8 |
|
9 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB5058F9A) |
10 |
|
11 |
Revision Changes Path |
12 |
1.10 net-misc/asterisk-g729/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/ChangeLog?rev=1.10&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/ChangeLog?rev=1.10&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/ChangeLog?r1=1.9&r2=1.10 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/asterisk-g729/ChangeLog,v |
21 |
retrieving revision 1.9 |
22 |
retrieving revision 1.10 |
23 |
diff -u -r1.9 -r1.10 |
24 |
--- ChangeLog 27 Oct 2013 09:48:15 -0000 1.9 |
25 |
+++ ChangeLog 10 Feb 2014 10:44:39 -0000 1.10 |
26 |
@@ -1,6 +1,14 @@ |
27 |
# ChangeLog for net-misc/asterisk-g729 |
28 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-g729/ChangeLog,v 1.9 2013/10/27 09:48:15 pacho Exp $ |
30 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-g729/ChangeLog,v 1.10 2014/02/10 10:44:39 chainsaw Exp $ |
32 |
+ |
33 |
+*asterisk-g729-11.0.3.1.6 (10 Feb 2014) |
34 |
+*asterisk-g729-1.8.4.3.1.6 (10 Feb 2014) |
35 |
+ |
36 |
+ 10 Feb 2014; Tony Vroon <chainsaw@g.o> |
37 |
+ +asterisk-g729-1.8.4.3.1.6.ebuild, +asterisk-g729-11.0.3.1.6.ebuild: |
38 |
+ Version bump on both 1.8 & 11 branches, as requested by Jaco Kroon in bug |
39 |
+ #500278. |
40 |
|
41 |
27 Oct 2013; Pacho Ramos <pacho@g.o> metadata.xml: |
42 |
Voip herd is removed: http://article.gmane.org/gmane.linux.gentoo.devel/88434 |
43 |
|
44 |
|
45 |
|
46 |
1.1 net-misc/asterisk-g729/asterisk-g729-1.8.4.3.1.6.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-1.8.4.3.1.6.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-1.8.4.3.1.6.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: asterisk-g729-1.8.4.3.1.6.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-1.8.4.3.1.6.ebuild,v 1.1 2014/02/10 10:44:39 chainsaw Exp $ |
56 |
|
57 |
EAPI="4" |
58 |
|
59 |
inherit versionator multilib |
60 |
|
61 |
DESCRIPTION="G.729 codec and supporting files for asterisk" |
62 |
HOMEPAGE="http://store.digium.com/productview.php?product_code=G729CODEC" |
63 |
|
64 |
BENCH_PV=1.0.8 |
65 |
|
66 |
AST_PV=$(get_version_component_range 1-3) |
67 |
MY_PV=$(replace_version_separator 3 _) |
68 |
AST_NEXT_PV=10.0 |
69 |
|
70 |
SRC_URI="x86? ( |
71 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-athlon_32.tar.gz |
72 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-athlon_xp_32.tar.gz |
73 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-barcelona_32.tar.gz |
74 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-c3_2_32.tar.gz |
75 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-c3_32.tar.gz |
76 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-core2_32.tar.gz |
77 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-generic_32.tar.gz |
78 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-i686_32.tar.gz |
79 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-k6_3_32.tar.gz |
80 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-nocona_32.tar.gz |
81 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-opteron_32.tar.gz |
82 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-opteron_sse3_32.tar.gz |
83 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium3m_32.tar.gz |
84 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium4m_32.tar.gz |
85 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium_m_32.tar.gz |
86 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-prescott_32.tar.gz |
87 |
http://downloads.digium.com/pub/telephony/codec_g729/benchg729/x86-32/benchg729-${BENCH_PV}-x86_32 -> benchg729-x86_32 |
88 |
http://downloads.digium.com/pub/register/x86-32/register -> astregister-x86_32 |
89 |
http://downloads.digium.com/pub/register/x86-32/asthostid -> asthostid-x86_32 |
90 |
) |
91 |
amd64? ( |
92 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-barcelona_64.tar.gz |
93 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-core2_64.tar.gz |
94 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-generic_64.tar.gz |
95 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-nocona_64.tar.gz |
96 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-opteron_64.tar.gz |
97 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-opteron_sse3_64.tar.gz |
98 |
http://downloads.digium.com/pub/telephony/codec_g729/benchg729/x86-64/benchg729-${BENCH_PV}-x86_64 -> benchg729-x86_64 |
99 |
http://downloads.digium.com/pub/register/x86-64/register -> astregister-x86_64 |
100 |
http://downloads.digium.com/pub/register/x86-64/asthostid -> asthostid-x86_64 |
101 |
) |
102 |
http://g729.uls.co.za/static/g729-stats-collector/collect-g729-stats.sh" |
103 |
|
104 |
LICENSE="Digium" |
105 |
SLOT="0" |
106 |
KEYWORDS="~amd64 ~x86" |
107 |
IUSE="" |
108 |
|
109 |
DEPEND="" |
110 |
RDEPEND="${DEPEND} |
111 |
>=net-misc/asterisk-${AST_PV} |
112 |
<net-misc/asterisk-${AST_NEXT_PV}" |
113 |
|
114 |
RESTRICT="mirror strip" |
115 |
|
116 |
QA_FLAGS_IGNORED_amd64="usr/lib64/codec_g729a.so usr/sbin/benchg729" |
117 |
QA_FLAGS_IGNORED_x86="usr/lib/codec_g729a.so usr/sbin/benchg729" |
118 |
|
119 |
QA_PREBUILT="usr/sbin/benchg729 usr/sbin/asthostid usr/sbin/astregister" |
120 |
|
121 |
S="${WORKDIR}" |
122 |
|
123 |
src_prepare() { |
124 |
local binsuffix |
125 |
local b |
126 |
|
127 |
if use x86; then |
128 |
binsuffix=x86_32 |
129 |
elif use amd64; then |
130 |
binsuffix=x86_64 |
131 |
else |
132 |
die "Ebuild only functions for x86 and amd64." |
133 |
fi |
134 |
|
135 |
for b in astregister asthostid benchg729; do |
136 |
cp "${DISTDIR}/${b}-${binsuffix}" "${WORKDIR}/${b}" || die |
137 |
fperms 755 ${b} |
138 |
done |
139 |
|
140 |
cp "${DISTDIR}/collect-g729-stats.sh" "${WORKDIR}" || die |
141 |
} |
142 |
|
143 |
src_compile() { |
144 |
./benchg729 | tee benchdata |
145 |
variant=$(sed -nre "s/^Recommended flavor for this system is '([^']*)'.*/\1/p" < benchdata) |
146 |
[ -d codec_g729a-${MY_PV}-${variant}_${size} ] || variant=generic |
147 |
[ -z $variant ] && variant=generic |
148 |
} |
149 |
|
150 |
src_install() { |
151 |
local size |
152 |
|
153 |
if use x86; then |
154 |
size=32 |
155 |
elif use amd64; then |
156 |
size=64 |
157 |
else |
158 |
die "Ebuild only functions for x86 and amd64." |
159 |
fi |
160 |
|
161 |
dosbin astregister |
162 |
dosbin asthostid |
163 |
dosbin benchg729 |
164 |
dosbin collect-g729-stats.sh |
165 |
|
166 |
dodoc codec_g729a-${MY_PV}-${variant}_${size}/LICENSE |
167 |
dodoc codec_g729a-${MY_PV}-${variant}_${size}/README |
168 |
insinto usr/$(get_libdir)/asterisk/modules/ |
169 |
doins "codec_g729a-${MY_PV}-${variant}_${size}/codec_g729a.so" |
170 |
} |
171 |
|
172 |
pkg_postinst() { |
173 |
einfo "Please note that Digium's register utility has been installed as astregister" |
174 |
einfo |
175 |
einfo "Please consider participating in the G.729 stats collection that ULS" |
176 |
einfo "is performing. This will assist in picking better variants for more" |
177 |
einfo "processors as we gather more statistics. All you need to do is run" |
178 |
einfo "the collect-g729-stats.sh command." |
179 |
[ "${variant}" = "generic" ] && einfo "You are using the generic flavor of the codec, in order to install a more appropriate one please install a G.729 license and remerge this package (${PN})." |
180 |
} |
181 |
|
182 |
|
183 |
|
184 |
1.1 net-misc/asterisk-g729/asterisk-g729-11.0.3.1.6.ebuild |
185 |
|
186 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.6.ebuild?rev=1.1&view=markup |
187 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.6.ebuild?rev=1.1&content-type=text/plain |
188 |
|
189 |
Index: asterisk-g729-11.0.3.1.6.ebuild |
190 |
=================================================================== |
191 |
# Copyright 1999-2014 Gentoo Foundation |
192 |
# Distributed under the terms of the GNU General Public License v2 |
193 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk-g729/asterisk-g729-11.0.3.1.6.ebuild,v 1.1 2014/02/10 10:44:39 chainsaw Exp $ |
194 |
|
195 |
EAPI="4" |
196 |
|
197 |
inherit versionator multilib |
198 |
|
199 |
DESCRIPTION="G.729 codec and supporting files for asterisk" |
200 |
HOMEPAGE="http://store.digium.com/productview.php?product_code=G729CODEC" |
201 |
|
202 |
BENCH_PV=1.0.8 |
203 |
|
204 |
AST_PV=11.0 |
205 |
MY_PV=$(replace_version_separator 2 _) |
206 |
|
207 |
SRC_URI="x86? ( |
208 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-athlon_32.tar.gz |
209 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-athlon_xp_32.tar.gz |
210 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-barcelona_32.tar.gz |
211 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-c3_2_32.tar.gz |
212 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-c3_32.tar.gz |
213 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-core2_32.tar.gz |
214 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-generic_32.tar.gz |
215 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-i686_32.tar.gz |
216 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-k6_3_32.tar.gz |
217 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-nocona_32.tar.gz |
218 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-opteron_32.tar.gz |
219 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-opteron_sse3_32.tar.gz |
220 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium3m_32.tar.gz |
221 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium4m_32.tar.gz |
222 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-pentium_m_32.tar.gz |
223 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-32/codec_g729a-${MY_PV}-prescott_32.tar.gz |
224 |
http://downloads.digium.com/pub/telephony/codec_g729/benchg729/x86-32/benchg729-${BENCH_PV}-x86_32 -> benchg729-x86_32 |
225 |
http://downloads.digium.com/pub/register/x86-32/register -> astregister-x86_32 |
226 |
http://downloads.digium.com/pub/register/x86-32/asthostid -> asthostid-x86_32 |
227 |
) |
228 |
amd64? ( |
229 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-barcelona_64.tar.gz |
230 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-core2_64.tar.gz |
231 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-generic_64.tar.gz |
232 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-nocona_64.tar.gz |
233 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-opteron_64.tar.gz |
234 |
http://downloads.digium.com/pub/telephony/codec_g729/asterisk-${AST_PV}/x86-64/codec_g729a-${MY_PV}-opteron_sse3_64.tar.gz |
235 |
http://downloads.digium.com/pub/telephony/codec_g729/benchg729/x86-64/benchg729-${BENCH_PV}-x86_64 -> benchg729-x86_64 |
236 |
http://downloads.digium.com/pub/register/x86-64/register -> astregister-x86_64 |
237 |
http://downloads.digium.com/pub/register/x86-64/asthostid -> asthostid-x86_64 |
238 |
) |
239 |
http://g729.uls.co.za/static/g729-stats-collector/collect-g729-stats.sh" |
240 |
|
241 |
LICENSE="Digium" |
242 |
SLOT="0" |
243 |
KEYWORDS="~amd64 ~x86" |
244 |
IUSE="" |
245 |
|
246 |
DEPEND="" |
247 |
RDEPEND="${DEPEND} =net-misc/asterisk-11*" |
248 |
|
249 |
RESTRICT="mirror strip" |
250 |
|
251 |
QA_FLAGS_IGNORED_amd64="usr/lib64/asterisk/modules/codec_g729a.so usr/sbin/benchg729" |
252 |
QA_FLAGS_IGNORED_x86="usr/lib/asterisk/modules/codec_g729a.so usr/sbin/benchg729" |
253 |
QA_PREBUILT="usr/sbin/benchg729 usr/sbin/asthostid usr/sbin/astregister" |
254 |
|
255 |
S="${WORKDIR}" |
256 |
|
257 |
src_prepare() { |
258 |
local binsuffix |
259 |
local b |
260 |
|
261 |
if use x86; then |
262 |
binsuffix=x86_32 |
263 |
elif use amd64; then |
264 |
binsuffix=x86_64 |
265 |
else |
266 |
die "Ebuild only functions for x86 and amd64." |
267 |
fi |
268 |
|
269 |
for b in astregister asthostid benchg729; do |
270 |
cp "${DISTDIR}/${b}-${binsuffix}" "${WORKDIR}/${b}" || die |
271 |
fperms 755 ${b} |
272 |
done |
273 |
|
274 |
cp "${DISTDIR}/collect-g729-stats.sh" "${WORKDIR}" || die |
275 |
} |
276 |
|
277 |
src_compile() { |
278 |
./benchg729 | tee benchdata |
279 |
variant=$(sed -nre "s/^Recommended flavor for this system is '([^']*)'.*/\1/p" < benchdata) |
280 |
[ -d codec_g729a-${MY_PV}-${variant}_${size} ] || variant=generic |
281 |
[ -z $variant ] && variant=generic |
282 |
} |
283 |
|
284 |
src_install() { |
285 |
local size |
286 |
|
287 |
if use x86; then |
288 |
size=32 |
289 |
elif use amd64; then |
290 |
size=64 |
291 |
else |
292 |
die "Ebuild only functions for x86 and amd64." |
293 |
fi |
294 |
|
295 |
dosbin astregister |
296 |
dosbin asthostid |
297 |
dosbin benchg729 |
298 |
dosbin collect-g729-stats.sh |
299 |
|
300 |
dodoc codec_g729a-${MY_PV}-${variant}_${size}/LICENSE |
301 |
dodoc codec_g729a-${MY_PV}-${variant}_${size}/README |
302 |
insinto usr/$(get_libdir)/asterisk/modules/ |
303 |
doins "codec_g729a-${MY_PV}-${variant}_${size}/codec_g729a.so" |
304 |
} |
305 |
|
306 |
pkg_postinst() { |
307 |
einfo "Please note that Digium's register utility has been installed as astregister" |
308 |
einfo |
309 |
einfo "Please consider participating in the G.729 stats collection that ULS" |
310 |
einfo "is performing. This will assist in picking better variants for more" |
311 |
einfo "processors as we gather more statistics. All you need to do is run" |
312 |
einfo "the collect-g729-stats.sh command." |
313 |
[ "${variant}" = "generic" ] && einfo "You are using the generic flavor of the codec, in order to install a more appropriate one please install a G.729 license and remerge this package (${PN})." |
314 |
} |