Gentoo Archives: gentoo-commits

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