Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/xine-lib: ChangeLog xine-lib-1.1.10.1-r1.ebuild
Date: Mon, 25 Feb 2008 23:08:47
Message-Id: E1JTmR9-0003mT-Ia@stork.gentoo.org
1 flameeyes 08/02/25 23:08:43
2
3 Modified: ChangeLog
4 Added: xine-lib-1.1.10.1-r1.ebuild
5 Log:
6 Fix FLAC playback after security fix.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.514 media-libs/xine-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.514&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.514&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.513&r2=1.514
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v
19 retrieving revision 1.513
20 retrieving revision 1.514
21 diff -u -r1.513 -r1.514
22 --- ChangeLog 19 Feb 2008 16:48:41 -0000 1.513
23 +++ ChangeLog 25 Feb 2008 23:08:42 -0000 1.514
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/xine-lib
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.513 2008/02/19 16:48:41 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.514 2008/02/25 23:08:42 flameeyes Exp $
29 +
30 +*xine-lib-1.1.10.1-r1 (25 Feb 2008)
31 +
32 + 25 Feb 2008; Diego Pettenò <flameeyes@g.o>
33 + +files/xine-lib-1.1.10.1-off-by-one.patch, +xine-lib-1.1.10.1-r1.ebuild:
34 + Fix FLAC playback after security fix.
35
36 19 Feb 2008; Raúl Porcel <armin76@g.o> xine-lib-1.1.10.1.ebuild:
37 alpha/ia64 stable wrt security #209106
38
39
40
41 1.1 media-libs/xine-lib/xine-lib-1.1.10.1-r1.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.10.1-r1.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.10.1-r1.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xine-lib-1.1.10.1-r1.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.10.1-r1.ebuild,v 1.1 2008/02/25 23:08:42 flameeyes Exp $
51
52 EAPI=1
53
54 inherit eutils flag-o-matic toolchain-funcs libtool
55
56 # This should normally be empty string, unless a release has a suffix.
57 if [[ "${P/_pre/}" != "${P}" ]]; then
58 SRC_URI="mirror://gentoo/${P}.tar.bz2"
59 else
60 MY_PKG_SUFFIX=""
61 MY_P="${PN}-${PV/_/-}${MY_PKG_SUFFIX}"
62 S="${WORKDIR}/${MY_P}"
63
64 SRC_URI="mirror://sourceforge/xine/${MY_P}.tar.bz2"
65 fi
66
67 DESCRIPTION="Core libraries for Xine movie player"
68 HOMEPAGE="http://xine.sourceforge.net"
69
70 LICENSE="GPL-2"
71 SLOT="1"
72 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
73
74 IUSE="-aalib -libcaca -arts esd win32codecs nls +dvd +X directfb +vorbis +alsa
75 gnome sdl speex +theora ipv6 altivec opengl aac -fbcon +xv xvmc
76 -samba dxr3 vidix mng -flac -oss +v4l xinerama vcd +a52 +mad -imagemagick +dts
77 -debug +modplug -gtk pulseaudio -mmap -truetype wavpack +musepack +xcb -jack
78 -real"
79
80 RDEPEND="X? ( x11-libs/libXext
81 x11-libs/libX11 )
82 xv? ( x11-libs/libXv )
83 xvmc? ( x11-libs/libXvMC )
84 xinerama? ( x11-libs/libXinerama )
85 win32codecs? ( >=media-libs/win32codecs-0.50 )
86 esd? ( media-sound/esound )
87 dvd? ( >=media-libs/libdvdcss-1.2.7 )
88 arts? ( kde-base/arts )
89 alsa? ( media-libs/alsa-lib )
90 aalib? ( media-libs/aalib )
91 directfb? ( >=dev-libs/DirectFB-0.9.9 )
92 gnome? ( >=gnome-base/gnome-vfs-2.0 )
93 flac? ( >=media-libs/flac-1.1.2 )
94 sdl? ( >=media-libs/libsdl-1.1.5 )
95 dxr3? ( >=media-libs/libfame-0.9.0 )
96 vorbis? ( media-libs/libogg media-libs/libvorbis )
97 theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 )
98 speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex )
99 libcaca? ( >=media-libs/libcaca-0.99_beta1 )
100 samba? ( net-fs/samba )
101 mng? ( media-libs/libmng )
102 vcd? ( media-video/vcdimager )
103 a52? ( >=media-libs/a52dec-0.7.4-r5 )
104 mad? ( media-libs/libmad )
105 imagemagick? ( media-gfx/imagemagick )
106 dts? ( media-libs/libdca )
107 >=media-video/ffmpeg-0.4.9_p20070129
108 modplug? ( media-libs/libmodplug )
109 nls? ( virtual/libintl )
110 gtk? ( =x11-libs/gtk+-2* )
111 pulseaudio? ( media-sound/pulseaudio )
112 truetype? ( =media-libs/freetype-2* media-libs/fontconfig )
113 virtual/libiconv
114 wavpack? ( >=media-sound/wavpack-4.31 )
115 musepack? ( media-libs/libmpcdec )
116 xcb? ( >=x11-libs/libxcb-1.0 )
117 jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
118 real? (
119 x86? ( media-libs/win32codecs )
120 x86-fbsd? ( media-libs/win32codecs )
121 amd64? ( media-libs/amd64codecs ) )"
122
123 DEPEND="${RDEPEND}
124 X? ( x11-libs/libXt
125 x11-proto/xproto
126 x11-proto/videoproto
127 x11-proto/xf86vidmodeproto
128 xinerama? ( x11-proto/xineramaproto ) )
129 v4l? ( virtual/os-headers )
130 dev-util/pkgconfig
131 sys-devel/libtool
132 nls? ( sys-devel/gettext )"
133
134 src_unpack() {
135 unpack ${A}
136
137 cd "${S}"
138 epatch "${FILESDIR}"/${P}-off-by-one.patch
139 }
140
141 src_compile() {
142 #prevent quicktime crashing
143 append-flags -frename-registers -ffunction-sections
144
145 # Specific workarounds for too-few-registers arch...
146 if [[ $(tc-arch) == "x86" ]]; then
147 filter-flags -fforce-addr
148 filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x
149 filter-flags -fno-omit-frame-pointer #breaks per bug #149704
150 is-flag -O? || append-flags -O2
151 fi
152
153 local myconf
154
155 # enable/disable appropiate optimizations on sparc
156 [[ "${PROFILE_ARCH}" == "sparc64" ]] && myconf="${myconf} --enable-vis"
157 [[ "${PROFILE_ARCH}" == "sparc" ]] && myconf="${myconf} --disable-vis"
158
159 # The default CFLAGS (-O) is the only thing working on hppa.
160 use hppa && unset CFLAGS
161
162 # Too many file names are the same (xine_decoder.c), change the builddir
163 # So that the relative path is used to identify them.
164 mkdir "${WORKDIR}/build"
165
166 elibtoolize
167 ECONF_SOURCE="${S}" econf \
168 $(use_enable gnome gnomevfs) \
169 $(use_enable nls) \
170 $(use_enable ipv6) \
171 $(use_enable samba) \
172 $(use_enable altivec) \
173 $(use_enable v4l) \
174 \
175 $(use_enable mng) \
176 $(use_with imagemagick) \
177 $(use_enable gtk gdkpixbuf) \
178 \
179 $(use_enable aac faad) \
180 $(use_with flac libflac) \
181 $(use_with vorbis) \
182 $(use_with speex) \
183 $(use_with theora) \
184 $(use_with wavpack) \
185 $(use_enable modplug) \
186 $(use_enable a52 a52dec) --with-external-a52dec \
187 $(use_enable mad) --with-external-libmad \
188 $(use_enable dts) --with-external-libdts \
189 $(use_enable musepack) --with-external-libmpcdec \
190 \
191 $(use_with X x) \
192 $(use_enable xinerama) \
193 $(use_enable vidix) \
194 $(use_enable dxr3) \
195 $(use_enable directfb) \
196 $(use_enable fbcon fb) \
197 $(use_enable opengl) \
198 $(use_enable aalib) \
199 $(use_with libcaca caca) \
200 $(use_with sdl) \
201 $(use_enable xvmc) \
202 $(use_with xcb) \
203 \
204 $(use_enable oss) \
205 $(use_with alsa) \
206 $(use_with arts) \
207 $(use_with esd esound) \
208 $(use_with pulseaudio) \
209 $(use_with jack) \
210 \
211 $(use_enable vcd) --without-internal-vcdlibs \
212 \
213 $(use_enable win32codecs w32dll) \
214 $(use_enable real real-codecs) \
215 \
216 $(use_enable mmap) \
217 $(use_with truetype freetype) $(use_with truetype fontconfig) \
218 \
219 $(use_enable debug) \
220 --enable-asf \
221 --with-external-ffmpeg \
222 --disable-optimizations \
223 --disable-syncfb \
224 ${myconf} \
225 --with-xv-path=/usr/$(get_libdir) \
226 --with-w32-path=/usr/$(ABI=x86 get_libdir)/win32 \
227 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
228 --enable-fast-install \
229 --disable-dependency-tracking || die "econf failed."
230
231 emake || die "emake failed."
232 }
233
234 src_install() {
235 emake DESTDIR="${D}" \
236 docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \
237 install || die "emake install failed."
238
239 dodoc ChangeLog
240 }
241
242
243
244 --
245 gentoo-commits@l.g.o mailing list