1 |
alexxy 10/02/08 22:09:47 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mediastreamer-2.3.0.ebuild |
5 |
Log: |
6 |
[media-libs/mediastreamer] Version bump |
7 |
(Portage version: 2.2_rc62/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.21 media-libs/mediastreamer/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/ChangeLog?rev=1.21&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/ChangeLog?rev=1.21&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/ChangeLog?r1=1.20&r2=1.21 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/ChangeLog,v |
19 |
retrieving revision 1.20 |
20 |
retrieving revision 1.21 |
21 |
diff -u -r1.20 -r1.21 |
22 |
--- ChangeLog 15 Nov 2009 13:56:03 -0000 1.20 |
23 |
+++ ChangeLog 8 Feb 2010 22:09:46 -0000 1.21 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for media-libs/mediastreamer |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/ChangeLog,v 1.20 2009/11/15 13:56:03 volkmar Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/ChangeLog,v 1.21 2010/02/08 22:09:46 alexxy Exp $ |
30 |
+ |
31 |
+*mediastreamer-2.3.0 (08 Feb 2010) |
32 |
+ |
33 |
+ 08 Feb 2010; Alexey Shvetsov <alexxy@g.o> |
34 |
+ +mediastreamer-2.3.0.ebuild: |
35 |
+ Version bump |
36 |
|
37 |
15 Nov 2009; Mounir Lamouri <volkmar@g.o> |
38 |
mediastreamer-2.2.3_p1-r1.ebuild, |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/mediastreamer/mediastreamer-2.3.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.3.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.3.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: mediastreamer-2.3.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/mediastreamer/mediastreamer-2.3.0.ebuild,v 1.1 2010/02/08 22:09:46 alexxy Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils autotools multilib |
56 |
|
57 |
DESCRIPTION="Mediastreaming library for telephony application" |
58 |
HOMEPAGE="http://www.linphone.org/index.php/eng/code_review/mediastreamer2" |
59 |
SRC_URI="http://download.savannah.nongnu.org/releases/linphone/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86" |
64 |
IUSE="+alsa debug examples gsm ilbc ipv6 jack oss portaudio +speex theora video x264 X" |
65 |
|
66 |
RDEPEND=">=net-libs/ortp-0.15.0_p1 |
67 |
alsa? ( media-libs/alsa-lib ) |
68 |
gsm? ( media-sound/gsm ) |
69 |
jack? ( media-libs/libsamplerate |
70 |
media-sound/jack-audio-connection-kit ) |
71 |
portaudio? ( media-libs/portaudio ) |
72 |
speex? ( >=media-libs/speex-1.2_beta3 ) |
73 |
video? ( media-libs/libsdl[video,X] |
74 |
media-video/ffmpeg |
75 |
theora? ( media-libs/libtheora ) |
76 |
X? ( x11-libs/libX11 ) )" |
77 |
DEPEND="${RDEPEND} |
78 |
dev-util/pkgconfig" |
79 |
|
80 |
PDEPEND="ilbc? ( media-plugins/mediastreamer-ilbc ) |
81 |
video? ( x264? ( media-plugins/mediastreamer-x264 ) )" |
82 |
|
83 |
# TODO: |
84 |
# run-time test for ipv6 : does it need ortp[ipv6] ? |
85 |
|
86 |
# NOTES: |
87 |
# in some way, v4l support is auto-magic but keeping it like that atm |
88 |
|
89 |
pkg_setup() { |
90 |
if ! use oss && ! use alsa && ! use jack && ! use portaudio; |
91 |
then |
92 |
eerror "You must enable at least oss, alsa, jack or portaudio" |
93 |
eerror "Please, re-emerge ${PN} with one of this USE flag enabled" |
94 |
die |
95 |
fi |
96 |
|
97 |
if ! use video && ( use theora || use X ); then |
98 |
ewarn "X and theora support are enabled if video USE flag is enabled" |
99 |
ewarn "If you want X or theora support, consider re-emerge with USE=\"video\"" |
100 |
fi |
101 |
} |
102 |
|
103 |
src_prepare() { |
104 |
# too hard to have a flexible lib dir in a clean way |
105 |
sed -i -e "s:\(/usr/kde/3.5/\)lib:\1$(get_libdir):" configure.ac \ |
106 |
|| die "patching configure.ac failed" |
107 |
|
108 |
# respect user's CFLAGS |
109 |
sed -i -e "s:-O2::" configure.ac || die "patching configure.ac failed" |
110 |
|
111 |
# change default paths |
112 |
sed -i -e "s:\(\${prefix}/\)lib:\1$(get_libdir):" \ |
113 |
-e "s:\(prefix/share\):\1/${PN}:" configure.ac \ |
114 |
|| die "patching configure.ac failed" |
115 |
|
116 |
# fix html doc installation dir |
117 |
# sed -i -e "s:\$(pkgdocdir):\$(docdir):" help/Makefile.am \ |
118 |
# || die "patching help/Makefile.am failed" |
119 |
sed -i -e "s:\(doc_htmldir=\).*:\1\$(htmldir):" help/Makefile.am \ |
120 |
|| die "patching help/Makefile.am failed" |
121 |
|
122 |
eautoreconf |
123 |
|
124 |
# don't build examples in tests/ |
125 |
sed -i -e "s:\(SUBDIRS = .*\) tests \(.*\):\1 \2:" Makefile.in \ |
126 |
|| die "patching Makefile.in failed" |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
# strict: don't want -Werror |
131 |
# macsnd and macaqsnd: macosx related |
132 |
# external-ortp: don't use bundled libs |
133 |
# arts: arts is deprecated |
134 |
econf \ |
135 |
--htmldir=/usr/share/doc/${PF}/html \ |
136 |
--datadir=/usr/share/${PN} \ |
137 |
--libdir=/usr/$(get_libdir) \ |
138 |
--disable-strict \ |
139 |
--disable-macsnd \ |
140 |
--disable-macaqsnd \ |
141 |
--enable-external-ortp \ |
142 |
--disable-dependency-tracking \ |
143 |
--disable-artsc \ |
144 |
$(use_enable alsa) \ |
145 |
$(use_enable debug) \ |
146 |
$(use_enable gsm) \ |
147 |
$(use_enable ipv6) \ |
148 |
$(use_enable jack) \ |
149 |
$(use_enable oss) \ |
150 |
$(use_enable portaudio) \ |
151 |
$(use_enable speex) \ |
152 |
$(use_enable theora) \ |
153 |
$(use_enable video) \ |
154 |
$(use_enable X x11) |
155 |
} |
156 |
|
157 |
src_install() { |
158 |
emake DESTDIR="${D}" install || die "emake install failed" |
159 |
|
160 |
dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed" |
161 |
|
162 |
if use examples; then |
163 |
insinto /usr/share/doc/${PF}/examples |
164 |
doins tests/*.c || die "doins failed" |
165 |
fi |
166 |
} |