Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-voip/linphone: linphone-3.2.1.ebuild ChangeLog
Date: Thu, 18 Feb 2010 18:57:44
Message-Id: E1NiBZD-0007ba-9c@stork.gentoo.org
1 pva 10/02/18 18:57:39
2
3 Modified: ChangeLog
4 Added: linphone-3.2.1.ebuild
5 Log:
6 Version bump, fixes bug #285478.
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.41 net-voip/linphone/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 24 Aug 2009 09:13:15 -0000 1.40
23 +++ ChangeLog 18 Feb 2010 18:57:38 -0000 1.41
24 @@ -1,6 +1,14 @@
25 # ChangeLog for net-voip/linphone
26 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.40 2009/08/24 09:13:15 vapier Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.41 2010/02/18 18:57:38 pva Exp $
30 +
31 +*linphone-3.2.1 (18 Feb 2010)
32 +
33 + 18 Feb 2010; Peter Volkov <pva@g.o> +linphone-3.2.1.ebuild,
34 + +files/linphone-3.2.1-external-mediastreamer.patch,
35 + +files/linphone-3.2.1-log-window-crash.patch,
36 + +files/linphone-3.2.1-nls.patch:
37 + Version bump, fixes bug #285478.
38
39 24 Aug 2009; Mike Frysinger <vapier@g.o> linphone-3.1.2.ebuild:
40 Fix libtool mismatch troubles #282268 by rainer and drop pointless LINGUAS
41
42
43
44 1.1 net-voip/linphone/linphone-3.2.1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/linphone-3.2.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/linphone-3.2.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: linphone-3.2.1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.2.1.ebuild,v 1.1 2010/02/18 18:57:38 pva Exp $
54
55 EAPI="2"
56
57 inherit eutils autotools multilib
58
59 DESCRIPTION="Video softphone based on the SIP protocol"
60 HOMEPAGE="http://www.linphone.org/"
61 SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/stable/sources/${P}.tar.gz"
62
63 LICENSE="GPL-2"
64 SLOT="0"
65 KEYWORDS="~amd64 ~ppc ~x86"
66 IUSE="doc gtk ipv6 ncurses nls video"
67
68 RDEPEND=">=media-libs/mediastreamer-2.3.0[video?]
69 >=net-libs/libeXosip-3.0.2
70 >=net-libs/libosip-3.0.0
71 >=net-libs/ortp-0.16.1
72 gtk? ( dev-libs/glib:2
73 >=gnome-base/libglade-2.4.0:2.0
74 >=x11-libs/gtk+-2.4.0:2 )
75 ncurses? ( sys-libs/readline
76 sys-libs/ncurses )"
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig
79 doc? ( app-text/sgmltools-lite )
80 nls? ( dev-util/intltool
81 sys-devel/gettext )"
82
83 IUSE_LINGUAS=" fr it de ja es pl cs nl sv pt_BR hu ru zh_CN"
84 IUSE="${IUSE} ${IUSE_LINGUAS// / linguas_}"
85
86 # TODO:
87 # update ortp ?
88 # update mediastreamer ?
89
90 # TODO:
91 # run-time test for ipv6 : does it need mediastreamer[ipv6] ?
92
93 pkg_setup() {
94 if ! use gtk && ! use ncurses ; then
95 ewarn "gtk and ncurses are disabled."
96 ewarn "At least one of these use flags are needed to get a front-end."
97 ewarn "Only liblinphone is going to be installed."
98 fi
99
100 strip-linguas ${IUSE_LINGUAS}
101 }
102
103 src_prepare() {
104 epatch "${FILESDIR}"/${P}-external-mediastreamer.patch
105 epatch "${FILESDIR}"/${P}-nls.patch
106 epatch "${FILESDIR}"/${P}-log-window-crash.patch
107
108 # remove speex check, avoid bug when mediastreamer[-speex]
109 sed -i -e '/SPEEX/d' configure.in || die "patching configure.in failed"
110
111 # fix path to use lib64
112 sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.in \
113 || die "patching configure.in failed"
114
115 # removing bundled libs dir prevent them to be reconf
116 rm -rf mediastreamer2 oRTP || die "should not die"
117 # and references in Makefile.am
118 sed -i -e "s:oRTP::" -e "s:mediastreamer2::" Makefile.am \
119 || die "patching Makefile.am failed"
120
121 # make sure to use host libtool version
122 rm -f m4/libtool.m4 m4/lt*.m4 #282268
123 eautoreconf
124 }
125
126 src_configure() {
127 # strict: we don't want -Werror
128 # external-ortp,external-mediastreamer: prefer external libs
129 # truespeech: seems not used, TODO: ask in ml
130 # rsvp: breaking the build (not maintained anymore) --disable = --enable
131 # alsa, artsc and portaudio are used for bundled mediastreamer
132 econf \
133 --libdir=/usr/$(get_libdir) \
134 --disable-strict \
135 --enable-external-ortp \
136 --enable-external-mediastreamer \
137 --disable-truespeech \
138 --disable-dependency-tracking \
139 $(use_enable doc manual) \
140 $(use_enable gtk gtk_ui) \
141 $(use_enable ipv6) \
142 $(use_enable ncurses console_ui) \
143 $(use_enable nls) \
144 $(use_enable video)
145 }
146
147 src_install() {
148 emake DESTDIR="${D}" install || die "emake install failed"
149 dosym linphone-3 /usr/bin/linphone || die
150 dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO
151 }