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.19.ebuild
Date: Tue, 27 Jul 2010 19:49:37
Message-Id: 20100727194933.0658E2CE14@corvid.gentoo.org
1 ssuominen 10/07/27 19:49:32
2
3 Modified: ChangeLog
4 Added: xine-lib-1.1.19.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.630 media-libs/xine-lib/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.630&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.630&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.629&r2=1.630
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v
19 retrieving revision 1.629
20 retrieving revision 1.630
21 diff -u -r1.629 -r1.630
22 --- ChangeLog 10 Jul 2010 19:04:35 -0000 1.629
23 +++ ChangeLog 27 Jul 2010 19:49:32 -0000 1.630
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.629 2010/07/10 19:04:35 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.630 2010/07/27 19:49:32 ssuominen Exp $
29 +
30 +*xine-lib-1.1.19 (27 Jul 2010)
31 +
32 + 27 Jul 2010; Samuli Suominen <ssuominen@g.o>
33 + +xine-lib-1.1.19.ebuild:
34 + Version bump.
35
36 10 Jul 2010; Raúl Porcel <armin76@g.o> xine-lib-1.1.18.1.ebuild:
37 alpha/arm/ia64/sparc stable wrt #317141
38
39
40
41 1.1 media-libs/xine-lib/xine-lib-1.1.19.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xine-lib-1.1.19.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.19.ebuild,v 1.1 2010/07/27 19:49:32 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}
67 mirror://gentoo/${PN}-1.1.15-textrel-fix.patch"
68
69 DESCRIPTION="Core libraries for Xine movie player"
70 HOMEPAGE="http://xine.sourceforge.net"
71
72 LICENSE="GPL-2"
73 SLOT="1"
74 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
75
76 IUSE="-aalib -libcaca esd win32codecs nls +css +X directfb +vorbis +alsa
77 gnome sdl speex +theora ipv6 altivec opengl aac -fbcon +xv xvmc
78 -samba dxr3 vidix mng -flac -oss +v4l xinerama vcd +a52 +mad -imagemagick +dts
79 +modplug -gtk pulseaudio -mmap -truetype wavpack +musepack +xcb -jack
80 -real +vis"
81
82 RDEPEND="X? ( x11-libs/libXext
83 x11-libs/libX11 )
84 xv? ( x11-libs/libXv )
85 xvmc? ( x11-libs/libXvMC )
86 xinerama? ( x11-libs/libXinerama )
87 win32codecs? ( >=media-libs/win32codecs-0.50 )
88 esd? ( media-sound/esound )
89 css? ( >=media-libs/libdvdcss-1.2.7 )
90 alsa? ( media-libs/alsa-lib )
91 aalib? ( media-libs/aalib )
92 directfb? ( >=dev-libs/DirectFB-0.9.9 )
93 gnome? ( >=gnome-base/gnome-vfs-2.0 )
94 flac? ( >=media-libs/flac-1.1.2 )
95 sdl? ( >=media-libs/libsdl-1.1.5 )
96 dxr3? ( >=media-libs/libfame-0.9.0 )
97 vorbis? ( media-libs/libogg media-libs/libvorbis )
98 theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 )
99 speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex )
100 libcaca? ( >=media-libs/libcaca-0.99_beta14 )
101 samba? ( net-fs/samba )
102 mng? ( media-libs/libmng )
103 vcd? ( media-video/vcdimager
104 dev-libs/libcdio[-minimal] )
105 a52? ( >=media-libs/a52dec-0.7.4-r5 )
106 mad? ( media-libs/libmad )
107 imagemagick? ( media-gfx/imagemagick )
108 dts? ( media-libs/libdca )
109 aac? ( >=media-libs/faad2-2.6.1 )
110 >=media-video/ffmpeg-0.4.9_p20070129
111 modplug? ( media-libs/libmodplug )
112 nls? ( virtual/libintl )
113 gtk? ( =x11-libs/gtk+-2* )
114 pulseaudio? ( media-sound/pulseaudio )
115 truetype? ( =media-libs/freetype-2* media-libs/fontconfig )
116 virtual/libiconv
117 wavpack? ( >=media-sound/wavpack-4.31 )
118 musepack? ( >=media-sound/musepack-tools-444 )
119 xcb? ( >=x11-libs/libxcb-1.0 )
120 jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
121 real? (
122 x86? ( media-libs/win32codecs )
123 x86-fbsd? ( media-libs/win32codecs )
124 amd64? ( media-libs/amd64codecs ) )
125 v4l? ( media-libs/libv4l )"
126 DEPEND="${RDEPEND}
127 app-arch/xz-utils
128 X? ( x11-libs/libXt
129 x11-proto/xproto
130 x11-proto/videoproto
131 x11-proto/xf86vidmodeproto
132 xinerama? ( x11-proto/xineramaproto ) )
133 v4l? ( virtual/os-headers )
134 dev-util/pkgconfig
135 sys-devel/libtool
136 nls? ( sys-devel/gettext )"
137
138 src_prepare() {
139 epatch "${DISTDIR}"/${PN}-1.1.15-textrel-fix.patch
140 }
141
142 src_configure() {
143 #prevent quicktime crashing
144 append-flags -frename-registers -ffunction-sections
145
146 # Specific workarounds for too-few-registers arch...
147 if [[ $(tc-arch) == "x86" ]]; then
148 filter-flags -fforce-addr
149 filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x
150 filter-flags -fno-omit-frame-pointer #breaks per bug #149704
151 is-flag -O? || append-flags -O2
152 fi
153
154 # Set the correct win32 dll path, bug #197236
155 local win32dir
156 if has_multilib_profile ; then
157 win32dir=/usr/$(ABI="x86" get_libdir)/win32
158 else
159 win32dir=/usr/$(get_libdir)/win32
160 fi
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 ECONF_SOURCE="${S}" econf \
167 $(use_enable gnome gnomevfs) \
168 $(use_enable nls) \
169 $(use_enable ipv6) \
170 $(use_enable samba) \
171 $(use_enable altivec) \
172 $(use_enable v4l) \
173 $(use_enable v4l libv4l) \
174 $(use_enable mng) \
175 $(use_with imagemagick) \
176 $(use_enable gtk gdkpixbuf) \
177 $(use_enable aac faad) --with-external-libfaad \
178 $(use_with flac libflac) \
179 $(use_with vorbis) \
180 $(use_with speex) \
181 $(use_with theora) \
182 $(use_with wavpack) \
183 $(use_enable modplug) \
184 $(use_enable a52 a52dec) --with-external-a52dec \
185 $(use_enable mad) --with-external-libmad \
186 $(use_enable dts) --with-external-libdts \
187 $(use_enable musepack) --with-external-libmpcdec \
188 $(use_with X x) \
189 $(use_enable xinerama) \
190 $(use_enable vidix) \
191 $(use_enable dxr3) \
192 $(use_enable directfb) \
193 $(use_enable fbcon fb) \
194 $(use_enable opengl) \
195 $(use_enable aalib) \
196 $(use_with libcaca caca) \
197 $(use_with sdl) \
198 $(use_enable xvmc) \
199 $(use_with xcb) \
200 $(use_enable oss) \
201 $(use_with alsa) \
202 --without-arts \
203 $(use_with esd esound) \
204 $(use_with pulseaudio) \
205 $(use_with jack) \
206 $(use_enable vcd) --without-internal-vcdlibs \
207 $(use_enable win32codecs w32dll) \
208 $(use_enable real real-codecs) \
209 $(use_enable mmap) \
210 $(use_with truetype freetype) $(use_with truetype fontconfig) \
211 $(use_enable vis) \
212 --enable-asf \
213 --with-external-ffmpeg \
214 --disable-optimizations \
215 --disable-syncfb \
216 --with-xv-path=/usr/$(get_libdir) \
217 --with-w32-path=${win32dir} \
218 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
219 --enable-fast-install \
220 --disable-dependency-tracking
221 }
222
223 src_install() {
224 emake DESTDIR="${D}" \
225 docdir="/usr/share/doc/${PF}" htmldir="/usr/share/doc/${PF}/html" \
226 install || die
227 dodoc ChangeLog
228 }