Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/xine-lib: ChangeLog xine-lib-1.1.18.ebuild
Date: Wed, 24 Feb 2010 13:35:10
Message-Id: E1NkHOL-0007Go-Go@stork.gentoo.org
1 ssuominen 10/02/24 13:35:05
2
3 Modified: ChangeLog
4 Added: xine-lib-1.1.18.ebuild
5 Log:
6 Version bump wrt #306643, thanks to Arseny Solokha for reporting.
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.619 media-libs/xine-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.619&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.619&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.618&r2=1.619
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v
19 retrieving revision 1.618
20 retrieving revision 1.619
21 diff -u -r1.618 -r1.619
22 --- ChangeLog 17 Jan 2010 19:17:27 -0000 1.618
23 +++ ChangeLog 24 Feb 2010 13:35:04 -0000 1.619
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/xine-lib
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.618 2010/01/17 19:17:27 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.619 2010/02/24 13:35:04 ssuominen Exp $
29 +
30 +*xine-lib-1.1.18 (24 Feb 2010)
31 +
32 + 24 Feb 2010; Samuli Suominen <ssuominen@g.o>
33 + +xine-lib-1.1.18.ebuild:
34 + Version bump wrt #306643, thanks to Arseny Solokha for reporting.
35
36 17 Jan 2010; Raúl Porcel <armin76@g.o> xine-lib-1.1.17.ebuild:
37 alpha/arm/ia64/sparc stable wrt #297903
38
39
40
41 1.1 media-libs/xine-lib/xine-lib-1.1.18.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.18.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.18.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xine-lib-1.1.18.ebuild
47 ===================================================================
48 # Copyright 1999-2010 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.18.ebuild,v 1.1 2010/02/24 13:35:04 ssuominen Exp $
51
52 EAPI=3
53 inherit eutils flag-o-matic toolchain-funcs multilib
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.xz"
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.xz"
64 fi
65
66 SRC_URI="${SRC_URI} mirror://gentoo/${PN}-1.1.15-textrel-fix.patch"
67
68 DESCRIPTION="Core libraries for Xine movie player"
69 HOMEPAGE="http://xine.sourceforge.net"
70
71 LICENSE="GPL-2"
72 SLOT="1"
73 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
74
75 IUSE="-aalib -libcaca esd win32codecs nls +css +X directfb +vorbis +alsa
76 gnome sdl speex +theora ipv6 altivec opengl aac -fbcon +xv xvmc
77 -samba dxr3 vidix mng -flac -oss +v4l xinerama vcd +a52 +mad -imagemagick +dts
78 +modplug -gtk pulseaudio -mmap -truetype wavpack +musepack +xcb -jack
79 -real +vis"
80
81 RDEPEND="X? ( x11-libs/libXext
82 x11-libs/libX11 )
83 xv? ( x11-libs/libXv )
84 xvmc? ( x11-libs/libXvMC )
85 xinerama? ( x11-libs/libXinerama )
86 win32codecs? ( >=media-libs/win32codecs-0.50 )
87 esd? ( media-sound/esound )
88 css? ( >=media-libs/libdvdcss-1.2.7 )
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_beta14 )
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 aac? ( >=media-libs/faad2-2.6.1 )
108 >=media-video/ffmpeg-0.4.9_p20070129
109 modplug? ( media-libs/libmodplug )
110 nls? ( virtual/libintl )
111 gtk? ( =x11-libs/gtk+-2* )
112 pulseaudio? ( media-sound/pulseaudio )
113 truetype? ( =media-libs/freetype-2* media-libs/fontconfig )
114 virtual/libiconv
115 wavpack? ( >=media-sound/wavpack-4.31 )
116 musepack? ( >=media-sound/musepack-tools-444 )
117 xcb? ( >=x11-libs/libxcb-1.0 )
118 jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
119 real? (
120 x86? ( media-libs/win32codecs )
121 x86-fbsd? ( media-libs/win32codecs )
122 amd64? ( media-libs/amd64codecs ) )
123 v4l? ( media-libs/libv4l )"
124 DEPEND="${RDEPEND}
125 X? ( x11-libs/libXt
126 x11-proto/xproto
127 x11-proto/videoproto
128 x11-proto/xf86vidmodeproto
129 xinerama? ( x11-proto/xineramaproto ) )
130 v4l? ( virtual/os-headers )
131 dev-util/pkgconfig
132 sys-devel/libtool
133 nls? ( sys-devel/gettext )"
134
135 src_prepare() {
136 epatch "${DISTDIR}"/${PN}-1.1.15-textrel-fix.patch
137 }
138
139 src_configure() {
140 #prevent quicktime crashing
141 append-flags -frename-registers -ffunction-sections
142
143 # Specific workarounds for too-few-registers arch...
144 if [[ $(tc-arch) == "x86" ]]; then
145 filter-flags -fforce-addr
146 filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x
147 filter-flags -fno-omit-frame-pointer #breaks per bug #149704
148 is-flag -O? || append-flags -O2
149 fi
150
151 # Set the correct win32 dll path, bug #197236
152 local win32dir
153 if has_multilib_profile ; then
154 win32dir=/usr/$(ABI="x86" get_libdir)/win32
155 else
156 win32dir=/usr/$(get_libdir)/win32
157 fi
158
159 # Too many file names are the same (xine_decoder.c), change the builddir
160 # So that the relative path is used to identify them.
161 mkdir "${WORKDIR}/build"
162
163 ECONF_SOURCE="${S}" econf \
164 $(use_enable gnome gnomevfs) \
165 $(use_enable nls) \
166 $(use_enable ipv6) \
167 $(use_enable samba) \
168 $(use_enable altivec) \
169 $(use_enable v4l) \
170 $(use_enable v4l libv4l) \
171 $(use_enable mng) \
172 $(use_with imagemagick) \
173 $(use_enable gtk gdkpixbuf) \
174 $(use_enable aac faad) --with-external-libfaad \
175 $(use_with flac libflac) \
176 $(use_with vorbis) \
177 $(use_with speex) \
178 $(use_with theora) \
179 $(use_with wavpack) \
180 $(use_enable modplug) \
181 $(use_enable a52 a52dec) --with-external-a52dec \
182 $(use_enable mad) --with-external-libmad \
183 $(use_enable dts) --with-external-libdts \
184 $(use_enable musepack) --with-external-libmpcdec \
185 $(use_with X x) \
186 $(use_enable xinerama) \
187 $(use_enable vidix) \
188 $(use_enable dxr3) \
189 $(use_enable directfb) \
190 $(use_enable fbcon fb) \
191 $(use_enable opengl) \
192 $(use_enable aalib) \
193 $(use_with libcaca caca) \
194 $(use_with sdl) \
195 $(use_enable xvmc) \
196 $(use_with xcb) \
197 $(use_enable oss) \
198 $(use_with alsa) \
199 --without-arts \
200 $(use_with esd esound) \
201 $(use_with pulseaudio) \
202 $(use_with jack) \
203 $(use_enable vcd) --without-internal-vcdlibs \
204 $(use_enable win32codecs w32dll) \
205 $(use_enable real real-codecs) \
206 $(use_enable mmap) \
207 $(use_with truetype freetype) $(use_with truetype fontconfig) \
208 $(use_enable vis) \
209 --enable-asf \
210 --with-external-ffmpeg \
211 --disable-optimizations \
212 --disable-syncfb \
213 --with-xv-path=/usr/$(get_libdir) \
214 --with-w32-path=${win32dir} \
215 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
216 --enable-fast-install \
217 --disable-dependency-tracking
218 }
219
220 src_install() {
221 emake DESTDIR="${D}" \
222 docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \
223 install || die
224 dodoc ChangeLog
225 }