1 |
volkmar 09/07/30 14:38:04 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: yate-2.0.0.ebuild |
5 |
Log: |
6 |
Version bump to 2.0.0. |
7 |
Bug 272280. |
8 |
(Portage version: 13845-svn/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.9 net-voip/yate/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/ChangeLog?rev=1.9&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/ChangeLog?rev=1.9&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/ChangeLog?r1=1.8&r2=1.9 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v |
20 |
retrieving revision 1.8 |
21 |
retrieving revision 1.9 |
22 |
diff -u -r1.8 -r1.9 |
23 |
--- ChangeLog 16 May 2009 14:39:57 -0000 1.8 |
24 |
+++ ChangeLog 30 Jul 2009 14:38:04 -0000 1.9 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for net-voip/yate |
27 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.8 2009/05/16 14:39:57 volkmar Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/ChangeLog,v 1.9 2009/07/30 14:38:04 volkmar Exp $ |
30 |
+ |
31 |
+*yate-2.0.0 (30 Jul 2009) |
32 |
+ |
33 |
+ 30 Jul 2009; Mounir Lamouri <volkmar@g.o> |
34 |
+ +files/yate-2.0.0-as-needed.patch, +files/yate-2.0.0-cxxflags.patch, |
35 |
+ +files/yate-2.0.0-ilbc-alsa-oss.patch, +files/yate-2.0.0-spandsp.patch, |
36 |
+ files/yate.confd, +files/yate.initd, files/yate.rc6, metadata.xml, |
37 |
+ +yate-2.0.0.ebuild: |
38 |
+ Version bump to 2.0.0. Fixing bug 272280. |
39 |
|
40 |
16 May 2009; Mounir Lamouri <volkmar@g.o> metadata.xml: |
41 |
Use global gsm USE flag instead of local one. |
42 |
|
43 |
|
44 |
|
45 |
1.4 net-voip/yate/metadata.xml |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/metadata.xml?rev=1.4&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/metadata.xml?rev=1.4&content-type=text/plain |
49 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/metadata.xml?r1=1.3&r2=1.4 |
50 |
|
51 |
Index: metadata.xml |
52 |
=================================================================== |
53 |
RCS file: /var/cvsroot/gentoo-x86/net-voip/yate/metadata.xml,v |
54 |
retrieving revision 1.3 |
55 |
retrieving revision 1.4 |
56 |
diff -u -r1.3 -r1.4 |
57 |
--- metadata.xml 16 May 2009 14:39:57 -0000 1.3 |
58 |
+++ metadata.xml 30 Jul 2009 14:38:04 -0000 1.4 |
59 |
@@ -1,10 +1,21 @@ |
60 |
<?xml version="1.0" encoding="UTF-8"?> |
61 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
62 |
<pkgmetadata> |
63 |
-<herd>voip</herd> |
64 |
-<use> |
65 |
- <flag name='h323'>Build H.323 Channel plugin</flag> |
66 |
- <flag name='ilbc'>Build ILBC codec plugin</flag> |
67 |
- <flag name='zaptel'>Build zaptel Channel plugin</flag> |
68 |
-</use> |
69 |
+ <herd>voip</herd> |
70 |
+ <maintainer> |
71 |
+ <email>volkmar@g.o</email> |
72 |
+ <name>Mounir Lamouri</name> |
73 |
+ </maintainer> |
74 |
+ <use> |
75 |
+ <flag name='amrnb'> |
76 |
+ Enables Adaptive Multi-Rate Audio support (Narrow Band) |
77 |
+ </flag> |
78 |
+ <flag name='h323'>Build H.323 Channel plugin</flag> |
79 |
+ <flag name='ilbc'>Build ILBC codec plugin</flag> |
80 |
+ <flag name='sctp'> |
81 |
+ Support for Stream Control Transmission Protocol |
82 |
+ </flag> |
83 |
+ <flag name='spandsp'>Enable support for the spandsp codec</flag> |
84 |
+ <flag name='zaptel'>Build zaptel Channel plugin</flag> |
85 |
+ </use> |
86 |
</pkgmetadata> |
87 |
|
88 |
|
89 |
|
90 |
1.1 net-voip/yate/yate-2.0.0.ebuild |
91 |
|
92 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/yate-2.0.0.ebuild?rev=1.1&view=markup |
93 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/yate/yate-2.0.0.ebuild?rev=1.1&content-type=text/plain |
94 |
|
95 |
Index: yate-2.0.0.ebuild |
96 |
=================================================================== |
97 |
# Copyright 1999-2009 Gentoo Foundation |
98 |
# Distributed under the terms of the GNU General Public License v2 |
99 |
# $Header: /var/cvsroot/gentoo-x86/net-voip/yate/yate-2.0.0.ebuild,v 1.1 2009/07/30 14:38:04 volkmar Exp $ |
100 |
|
101 |
EAPI="2" |
102 |
|
103 |
inherit autotools eutils multilib |
104 |
|
105 |
DESCRIPTION="Yet Another Telephony Engine" |
106 |
HOMEPAGE="http://yate.null.ro/" |
107 |
SRC_URI="http://yate.null.ro/tarballs/yate2/${P}-1.tar.gz" |
108 |
|
109 |
LICENSE="GPL-2" |
110 |
SLOT="0" |
111 |
KEYWORDS="~amd64 ~x86" |
112 |
IUSE="alsa amrnb debug doc gsm h323 ilbc mysql oss postgres qt4 sctp spandsp |
113 |
speex ssl zaptel" |
114 |
|
115 |
RDEPEND=" |
116 |
sys-libs/glibc |
117 |
alsa? ( media-libs/alsa-lib ) |
118 |
amrnb? ( media-libs/amrnb ) |
119 |
gsm? ( media-sound/gsm ) |
120 |
h323? ( dev-libs/pwlib |
121 |
net-libs/openh323 ) |
122 |
ilbc? ( dev-libs/ilbc-rfc3951 ) |
123 |
mysql? ( virtual/mysql ) |
124 |
oss? ( sys-kernel/linux-headers ) |
125 |
postgres? ( virtual/postgresql-base ) |
126 |
qt4? ( x11-libs/qt-core:4 |
127 |
x11-libs/qt-gui:4 ) |
128 |
spandsp? ( >=media-libs/spandsp-0.0.3 ) |
129 |
speex? ( media-libs/speex ) |
130 |
ssl? ( dev-libs/openssl ) |
131 |
zaptel? ( net-misc/zaptel )" |
132 |
DEPEND="${RDEPEND} |
133 |
dev-util/pkgconfig" |
134 |
|
135 |
S=${WORKDIR}/${PN} |
136 |
|
137 |
# NOTES: |
138 |
# doc is already built |
139 |
|
140 |
# TODO: |
141 |
# coredumper can't be used because not in the tree, bug 118716 |
142 |
# wanpipe can't be used because not in the tree (but voip overlay), bug 188939 |
143 |
# spandsp >= 0.0.6 fails in configure and >=0.0.5 fails in build |
144 |
# fix bug 199222 for this version |
145 |
|
146 |
src_prepare() { |
147 |
# add Icon in yate-qt4 desktop file |
148 |
sed -i -e '/^Exec=yate-qt4$/a Icon=null_team-32.png' \ |
149 |
clients/yate-qt4.desktop || die "sed failed" |
150 |
|
151 |
epatch "${FILESDIR}"/${P}-ilbc-alsa-oss.patch |
152 |
epatch "${FILESDIR}"/${P}-cxxflags.patch |
153 |
epatch "${FILESDIR}"/${P}-spandsp.patch |
154 |
epatch "${FILESDIR}"/${P}-as-needed.patch |
155 |
|
156 |
eautoreconf |
157 |
} |
158 |
|
159 |
src_configure() { |
160 |
# fdsize, inline, rtti: keep default values |
161 |
# internalregex: use system |
162 |
# coredumper: not in the tree, bug 118716 |
163 |
# wanpipe, wphwec: not in the tree, bug 188939 |
164 |
# doxygen, kdoc: no need to rebuild already built doc |
165 |
econf \ |
166 |
--disable-internalregex \ |
167 |
--without-coredumper \ |
168 |
--disable-wanpipe \ |
169 |
--without-wphwec \ |
170 |
--without-doxygen \ |
171 |
--without-kdoc \ |
172 |
--with-archlib=$(get_libdir) \ |
173 |
$(use_with amrnb amrnb /usr) \ |
174 |
$(use_enable alsa) \ |
175 |
$(use_with gsm libgsm) \ |
176 |
$(use_with h323 openh323 /usr) \ |
177 |
$(use_with h323 pwlib /usr) \ |
178 |
$(use_enable ilbc) \ |
179 |
$(use_with mysql mysql /usr) \ |
180 |
$(use_enable oss) \ |
181 |
$(use_with postgres libpq /usr) \ |
182 |
$(use_with qt4 libqt4) \ |
183 |
$(use_enable sctp) \ |
184 |
$(use_with spandsp) \ |
185 |
$(use_with speex libspeex) \ |
186 |
$(use_with ssl openssl) \ |
187 |
$(use_enable zaptel) |
188 |
} |
189 |
|
190 |
src_compile() { |
191 |
if use debug; then |
192 |
emake ddebug || die "emake ddebug failed" |
193 |
else |
194 |
default_src_compile |
195 |
fi |
196 |
} |
197 |
|
198 |
src_test() { |
199 |
# there is no real test suite |
200 |
# 'make test' tries to execute non-existing ./test |
201 |
# do not add RESTRICT="test" because it's not a failing test suite |
202 |
: |
203 |
} |
204 |
|
205 |
src_install() { |
206 |
emake DESTDIR="${D}" install-noapi || die "emake install-noapi failed" |
207 |
|
208 |
dodoc ChangeLog README || die "dodoc failed" |
209 |
|
210 |
insinto /etc/logrotate.d |
211 |
newins packing/${PN}.logrotate ${PN} || die "newins failed" |
212 |
|
213 |
newinitd "${FILESDIR}"/${PN}.initd ${PN} || die "newinitd failed" |
214 |
newconfd "${FILESDIR}"/${PN}.confd ${PN} || die "newconfd failed" |
215 |
|
216 |
if use doc; then |
217 |
emake DESTDIR="${D}" install-api || die "emake install-api failed" |
218 |
fi |
219 |
} |