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