Gentoo Archives: gentoo-commits

From: "Jean-Noel Rivasseau (elvanor)" <elvanor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-voip/sflphone: metadata.xml ChangeLog sflphone-1.0.1.ebuild sflphone-0.9.12.ebuild
Date: Sat, 26 Nov 2011 16:19:53
Message-Id: 20111126161938.ECD5D2004B@flycatcher.gentoo.org
1 elvanor 11/11/26 16:19:38
2
3 Modified: metadata.xml ChangeLog
4 Added: sflphone-1.0.1.ebuild
5 Removed: sflphone-0.9.12.ebuild
6 Log:
7 Bump to 1.0.1.
8
9 (Portage version: 2.1.10.11/cvs/Linux i686)
10
11 Revision Changes Path
12 1.3 net-voip/sflphone/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/metadata.xml?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/metadata.xml?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/metadata.xml?r1=1.2&r2=1.3
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-voip/sflphone/metadata.xml,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- metadata.xml 24 Sep 2011 10:16:59 -0000 1.2
25 +++ metadata.xml 26 Nov 2011 16:19:38 -0000 1.3
26 @@ -9,6 +9,7 @@
27 SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems. It is designed to handle several hundreds of calls a day. SFLphone is available under the GNU GPL license, version 3.
28 </longdescription>
29 <use>
30 + <flag name="doxygen">Support for building documentation with doxygen</flag>
31 <flag name="iax">Support for IAX (Inter Asterisk eXchange)</flag>
32 </use>
33 </pkgmetadata>
34
35
36
37 1.10 net-voip/sflphone/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/ChangeLog?rev=1.10&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/ChangeLog?rev=1.10&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/ChangeLog?r1=1.9&r2=1.10
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v
46 retrieving revision 1.9
47 retrieving revision 1.10
48 diff -u -r1.9 -r1.10
49 --- ChangeLog 21 Mar 2011 23:20:39 -0000 1.9
50 +++ ChangeLog 26 Nov 2011 16:19:38 -0000 1.10
51 @@ -1,6 +1,11 @@
52 # ChangeLog for net-voip/sflphone
53 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v 1.9 2011/03/21 23:20:39 nirbheek Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v 1.10 2011/11/26 16:19:38 elvanor Exp $
56 +
57 +*sflphone-1.0.1 (26 Nov 2011)
58 +
59 + 26 Nov 2011; <elvanor@g.o> +sflphone-1.0.1.ebuild:
60 + Version bump to 1.0.1 along with various fixes.
61
62 21 Mar 2011; Nirbheek Chauhan <nirbheek@g.o>
63 sflphone-0.9.8.4.ebuild, sflphone-0.9.12.ebuild:
64
65
66
67 1.1 net-voip/sflphone/sflphone-1.0.1.ebuild
68
69 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/sflphone-1.0.1.ebuild?rev=1.1&view=markup
70 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/sflphone/sflphone-1.0.1.ebuild?rev=1.1&content-type=text/plain
71
72 Index: sflphone-1.0.1.ebuild
73 ===================================================================
74 # Copyright 1999-2011 Gentoo Foundation
75 # Distributed under the terms of the GNU General Public License v2
76 # $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/sflphone-1.0.1.ebuild,v 1.1 2011/11/26 16:19:38 elvanor Exp $
77
78 EAPI="3"
79
80 inherit autotools eutils gnome2
81
82 DESCRIPTION="SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems."
83 HOMEPAGE="http://www.sflphone.org/"
84 SRC_URI="http://www.elvanor.net/files/gentoo/${P}.tar.gz"
85
86 LICENSE="GPL-3"
87 SLOT="0"
88 KEYWORDS="~amd64 ~x86"
89 IUSE="debug doxygen gnome gsm networkmanager speex static-libs"
90
91 # USE="-iax" does not work. Upstream problem.
92
93 CDEPEND="dev-cpp/commoncpp2
94 dev-libs/expat
95 dev-libs/openssl
96 dev-libs/libpcre
97 dev-libs/libyaml
98 media-libs/alsa-lib
99 media-libs/celt
100 media-libs/libsamplerate
101 media-sound/pulseaudio
102 net-libs/ccrtp
103 net-libs/iax
104 net-libs/libzrtpcpp
105 >=net-libs/pjsip-1.8.10
106 sys-apps/dbus
107 gsm? ( media-sound/gsm )
108 speex? ( media-libs/speex )
109 networkmanager? ( net-misc/networkmanager )
110 gnome? ( dev-libs/atk
111 dev-libs/check
112 dev-libs/log4c
113 gnome-base/libgnomeui
114 gnome-base/orbit:2
115 gnome-extra/evolution-data-server
116 media-libs/fontconfig
117 media-libs/freetype
118 media-libs/libart_lgpl
119 net-libs/libsoup:2.4
120 net-libs/webkit-gtk:3
121 x11-libs/cairo
122 x11-libs/libICE
123 x11-libs/libnotify
124 x11-libs/libSM )"
125
126 DEPEND="${CDEPEND}
127 >=dev-util/astyle-1.24
128 gnome? ( app-text/gnome-doc-utils )"
129
130 RDEPEND="${CDEPEND}"
131
132 src_prepare() {
133 if ! use gnome; then
134 ewarn
135 ewarn "No clients selected. Use USE=gnome to get the gnome client."
136 ewarn "See"
137 ewarn "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone"
138 ewarn "for a python command line client."
139 ewarn
140 fi
141
142 sed -i -e 's/unpad=paren/unpad-paren/' astylerc || die "sed failed."
143 cd daemon
144 #remove "target" from lib-names, remove dep to shipped pjsip
145 sed -i -e 's/-$(target)//' \
146 -e '/^\t\t\t-L/ d' \
147 -e 's!-I$(src)/libs/pjproject!-I/usr/include!' \
148 globals.mak || die "sed failed."
149 #respect CXXFLAGS
150 sed -i -e 's/CXXFLAGS="-g/CXXFLAGS="-g $CXXFLAGS /' \
151 configure.ac || die "sed failed."
152 rm -r libs/pjproject
153 eautoreconf
154
155 #TODO: remove shipped utilspp (from curlpp), use system one, see #55185
156
157 if use gnome; then
158 cd ../gnome
159 #fix as-needed
160 sed -i -e "s/X11_LIBS)/X11_LIBS) -lebook-1.2/" src/Makefile.am || die "sed failed."
161 eautoreconf
162 fi
163 }
164
165 src_configure() {
166 cd daemon
167 # $(use_with iax iax2) won't work (compilation failure)
168 econf --disable-dependency-tracking $(use_with debug) \
169 $(use_with gsm) $(use_with networkmanager) $(use_with speex) $(use_enable static-libs static) $(use_enable doxygen)
170
171 if use gnome; then
172 cd ../gnome
173 econf $(use_enable static-libs static)
174 fi
175 }
176
177 src_compile() {
178 cd daemon
179 emake || die "emake failed."
180
181 if use gnome; then
182 cd ../gnome
183 emake || die "emake failed."
184 fi
185 }
186
187 src_install() {
188 cd daemon
189 emake -j1 DESTDIR="${D}" install || die "emake install failed"
190 dodoc test/sflphonedrc-sample
191
192 if use gnome; then
193 cd ../gnome
194 gnome2_src_install
195 fi
196 }
197
198 pkg_postinst() {
199 elog
200 elog "You need to restart dbus, if you want to access"
201 elog "sflphoned through dbus."
202 elog
203 elog
204 elog "If you use the command line client"
205 elog "(https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone)"
206 elog "extract /usr/share/doc/${PF}/${PN}drc-sample to"
207 elog "~/.config/${PN}/${PN}drc for example config."
208 elog
209 elog
210 elog "For calls out of your browser have a look in sflphone-callto"
211 elog "and sflphone-handler. You should consider to install"
212 elog "the \"Telify\" Firefox addon. See"
213 elog "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools"
214 elog
215 if use gnome; then
216 gnome2_pkg_postinst
217 elog
218 elog "sflphone-client-gnome: To manage your contacts you need"
219 elog "mail-client/evolution or access to an evolution-data-server"
220 elog "connected backend."
221 elog
222 fi
223 }