1 |
volkmar 09/04/27 18:05:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: linphone-3.1.1.ebuild |
5 |
Log: |
6 |
version bump to 3.1.1, bug 263420 |
7 |
(Portage version: 2.1.6.7/cvs/Linux ppc) |
8 |
|
9 |
Revision Changes Path |
10 |
1.27 net-voip/linphone/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?rev=1.27&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?rev=1.27&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/ChangeLog?r1=1.26&r2=1.27 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v |
19 |
retrieving revision 1.26 |
20 |
retrieving revision 1.27 |
21 |
diff -u -r1.26 -r1.27 |
22 |
--- ChangeLog 26 Apr 2009 03:21:22 -0000 1.26 |
23 |
+++ ChangeLog 27 Apr 2009 18:05:17 -0000 1.27 |
24 |
@@ -1,6 +1,12 @@ |
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.26 2009/04/26 03:21:22 volkmar Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.27 2009/04/27 18:05:17 volkmar Exp $ |
29 |
+ |
30 |
+*linphone-3.1.1 (27 Apr 2009) |
31 |
+ |
32 |
+ 27 Apr 2009; Mounir Lamouri <volkmar@g.o> |
33 |
+ +files/linphone-3.1.1-external-mstreamer.patch, +linphone-3.1.1.ebuild: |
34 |
+ Version bump to 3.1.1. See bug 263420. |
35 |
|
36 |
26 Apr 2009; Mounir Lamouri <volkmar@g.o> metadata.xml: |
37 |
Taking maintainership. |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-voip/linphone/linphone-3.1.1.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/linphone-3.1.1.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-voip/linphone/linphone-3.1.1.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: linphone-3.1.1.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.1.1.ebuild,v 1.1 2009/04/27 18:05:17 volkmar Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils autotools multilib |
55 |
|
56 |
DESCRIPTION="Video softphone based on the SIP protocol" |
57 |
HOMEPAGE="http://www.linphone.org/" |
58 |
SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/stable/sources/${P}.tar.gz" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~ppc" |
63 |
IUSE="doc gtk ipv6 ncurses nls video" |
64 |
|
65 |
RDEPEND=">=media-libs/mediastreamer-2.2.3_p1[video?] |
66 |
>=net-libs/libeXosip-3.0.2 |
67 |
>=net-libs/libosip-3.0.0 |
68 |
>=net-libs/ortp-0.15.0_p1 |
69 |
gtk? ( dev-libs/glib:2 |
70 |
>=gnome-base/libglade-2.4.0:2.0 |
71 |
>=x11-libs/gtk+-2.4.0:2 ) |
72 |
ncurses? ( sys-libs/readline |
73 |
sys-libs/ncurses )" |
74 |
DEPEND="${RDEPEND} |
75 |
sys-devel/gettext |
76 |
doc? ( app-text/sgmltools-lite ) |
77 |
nls? ( dev-util/intltool |
78 |
dev-util/pkgconfig )" |
79 |
|
80 |
IUSE_LINGUAS="fr it de ja es pl cs nl sv pt_BR hu ru" |
81 |
|
82 |
for l in ${IUSE_LINGUAS}; do |
83 |
IUSE="${IUSE} linguas_${l}" |
84 |
done |
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 |
if [[ -z "${LINGUAS}" ]]; then |
103 |
# no linguas set, using the default one |
104 |
LINGUAS=" " |
105 |
fi |
106 |
} |
107 |
|
108 |
src_prepare() { |
109 |
epatch "${FILESDIR}"/${P}-external-mstreamer.patch |
110 |
|
111 |
# this patch removes need to gettext and intltool |
112 |
# but intltool was needed for eautoreconf so I add m4_pattern_allow |
113 |
# which is probably not the best way but it's working |
114 |
epatch "${FILESDIR}"/${PN}-3.1.0-nls.patch |
115 |
|
116 |
# remove speex check, avoid bug when mediastreamer[-speex] |
117 |
sed -i -e '/SPEEX/d' configure.in || die "patching configure.in failed" |
118 |
|
119 |
# fix path to use lib64 |
120 |
sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.in \ |
121 |
|| die "patching configure.in failed" |
122 |
|
123 |
# removing bundled libs dir prevent them to be reconf |
124 |
rm -rf mediastreamer2 oRTP || die "should not die" |
125 |
# and references in Makefile.am |
126 |
sed -i -e "s:oRTP::" -e "s:mediastreamer2::" Makefile.am \ |
127 |
|| die "patching Makefile.am failed" |
128 |
|
129 |
eautoreconf |
130 |
} |
131 |
|
132 |
src_configure() { |
133 |
# strict: we don't want -Werror |
134 |
# external-ortp,external-mediastreamer: prefer external libs |
135 |
# truespeech: seems not used, TODO: ask in ml |
136 |
# rsvp: breaking the build (not maintained anymore) --disable = --enable |
137 |
# alsa, artsc and portaudio are used for bundled mediastreamer |
138 |
econf \ |
139 |
--libdir=/usr/$(get_libdir) \ |
140 |
--disable-strict \ |
141 |
--enable-external-ortp \ |
142 |
--enable-external-mediastreamer \ |
143 |
--disable-truespeech \ |
144 |
--disable-dependency-tracking \ |
145 |
$(use_enable doc manual) \ |
146 |
$(use_enable gtk gtk_ui) \ |
147 |
$(use_enable ipv6) \ |
148 |
$(use_enable ncurses console_ui) \ |
149 |
$(use_enable nls) \ |
150 |
$(use_enable video) |
151 |
} |
152 |
|
153 |
src_install() { |
154 |
emake DESTDIR="${D}" install || die "emake install failed" |
155 |
|
156 |
dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO \ |
157 |
|| die "dodoc failed" |
158 |
} |