1 |
ssuominen 12/01/30 20:47:46 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: xine-lib-1.2.0-r2.ebuild |
5 |
Log: |
6 |
Fix compability with sys-libs/zlib >= 1.2.5.2 wrt #401449 by Ulrich Müller |
7 |
|
8 |
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.663 media-libs/xine-lib/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.663&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.663&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.662&r2=1.663 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v |
20 |
retrieving revision 1.662 |
21 |
retrieving revision 1.663 |
22 |
diff -u -r1.662 -r1.663 |
23 |
--- ChangeLog 28 Jan 2012 04:39:43 -0000 1.662 |
24 |
+++ ChangeLog 30 Jan 2012 20:47:46 -0000 1.663 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for media-libs/xine-lib |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.662 2012/01/28 04:39:43 ssuominen Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.663 2012/01/30 20:47:46 ssuominen Exp $ |
30 |
+ |
31 |
+*xine-lib-1.2.0-r2 (30 Jan 2012) |
32 |
+ |
33 |
+ 30 Jan 2012; Samuli Suominen <ssuominen@g.o> |
34 |
+ +xine-lib-1.2.0-r2.ebuild, +files/xine-lib-1.2.0-zlib-1.2.5.2.patch: |
35 |
+ Fix compability with sys-libs/zlib >= 1.2.5.2 wrt #401449 by Ulrich Müller |
36 |
|
37 |
28 Jan 2012; Samuli Suominen <ssuominen@g.o> xine-lib-1.2.0-r1.ebuild: |
38 |
Rekeyword ~ppc/~ppc64 wrt #397531 |
39 |
|
40 |
|
41 |
|
42 |
1.1 media-libs/xine-lib/xine-lib-1.2.0-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.0-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.0-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: xine-lib-1.2.0-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/xine-lib-1.2.0-r2.ebuild,v 1.1 2012/01/30 20:47:46 ssuominen Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
unset _live_inherits |
56 |
|
57 |
if [[ ${PV} == *9999* ]]; then |
58 |
EHG_REPO_URI="http://hg.debian.org/hg/xine-lib/xine-lib-1.2" |
59 |
_live_inherits="autotools mercurial" |
60 |
else |
61 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd" |
62 |
SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" |
63 |
fi |
64 |
|
65 |
inherit eutils libtool multilib ${_live_inherits} |
66 |
|
67 |
DESCRIPTION="Core libraries for Xine movie player" |
68 |
HOMEPAGE="http://xine.sourceforge.net/" |
69 |
|
70 |
LICENSE="GPL-2" |
71 |
SLOT="1" |
72 |
IUSE="a52 aac aalib +alsa altivec bluray +css directfb dts dvb dxr3 fbcon flac fusion gtk imagemagick ipv6 jack libcaca mad +mmap mng modplug musepack nls opengl oss pulseaudio real samba sdl speex theora truetype v4l vcd vdpau vdr vidix +vis vorbis wavpack win32codecs +X +xcb xinerama +xv xvmc" |
73 |
|
74 |
RDEPEND="dev-libs/libxdg-basedir |
75 |
media-libs/libdvdnav |
76 |
>=sys-libs/zlib-1.2.5.2 |
77 |
virtual/ffmpeg |
78 |
virtual/libiconv |
79 |
a52? ( media-libs/a52dec ) |
80 |
aac? ( media-libs/faad2 ) |
81 |
aalib? ( media-libs/aalib ) |
82 |
alsa? ( media-libs/alsa-lib ) |
83 |
bluray? ( >=media-libs/libbluray-0.2.1 ) |
84 |
css? ( >=media-libs/libdvdcss-1.2.10 ) |
85 |
directfb? ( dev-libs/DirectFB ) |
86 |
dts? ( media-libs/libdca ) |
87 |
dxr3? ( media-libs/libfame ) |
88 |
flac? ( media-libs/flac ) |
89 |
fusion? ( media-libs/FusionSound ) |
90 |
gtk? ( x11-libs/gdk-pixbuf:2 ) |
91 |
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) ) |
92 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
93 |
libcaca? ( media-libs/libcaca ) |
94 |
mad? ( media-libs/libmad ) |
95 |
mng? ( media-libs/libmng ) |
96 |
modplug? ( >=media-libs/libmodplug-0.8.8.1 ) |
97 |
musepack? ( >=media-sound/musepack-tools-444 ) |
98 |
nls? ( virtual/libintl ) |
99 |
opengl? ( |
100 |
virtual/glu |
101 |
virtual/opengl |
102 |
) |
103 |
pulseaudio? ( media-sound/pulseaudio ) |
104 |
real? ( |
105 |
amd64? ( media-libs/amd64codecs ) |
106 |
x86? ( media-libs/win32codecs ) |
107 |
x86-fbsd? ( media-libs/win32codecs ) |
108 |
) |
109 |
samba? ( net-fs/samba ) |
110 |
sdl? ( media-libs/libsdl ) |
111 |
speex? ( |
112 |
media-libs/libogg |
113 |
media-libs/speex |
114 |
) |
115 |
theora? ( |
116 |
media-libs/libogg |
117 |
media-libs/libtheora |
118 |
) |
119 |
truetype? ( |
120 |
media-libs/fontconfig |
121 |
media-libs/freetype:2 |
122 |
) |
123 |
v4l? ( media-libs/libv4l ) |
124 |
vcd? ( |
125 |
>=media-video/vcdimager-0.7.23 |
126 |
dev-libs/libcdio[-minimal] |
127 |
) |
128 |
vdpau? ( x11-libs/libvdpau ) |
129 |
vorbis? ( |
130 |
media-libs/libogg |
131 |
media-libs/libvorbis |
132 |
) |
133 |
wavpack? ( media-sound/wavpack ) |
134 |
win32codecs? ( media-libs/win32codecs ) |
135 |
X? ( |
136 |
x11-libs/libX11 |
137 |
x11-libs/libXext |
138 |
) |
139 |
xcb? ( x11-libs/libxcb ) |
140 |
xinerama? ( x11-libs/libXinerama ) |
141 |
xv? ( x11-libs/libXv ) |
142 |
xvmc? ( x11-libs/libXvMC )" |
143 |
DEPEND="${RDEPEND} |
144 |
app-arch/xz-utils |
145 |
dev-util/pkgconfig |
146 |
>=sys-devel/libtool-2.2.6b |
147 |
bluray? ( !media-libs/libbluray-xine ) |
148 |
nls? ( sys-devel/gettext ) |
149 |
oss? ( virtual/os-headers ) |
150 |
v4l? ( virtual/os-headers ) |
151 |
X? ( |
152 |
x11-libs/libXt |
153 |
x11-proto/xf86vidmodeproto |
154 |
x11-proto/xproto |
155 |
) |
156 |
xv? ( x11-proto/videoproto ) |
157 |
xvmc? ( x11-proto/videoproto ) |
158 |
xinerama? ( x11-proto/xineramaproto )" |
159 |
REQUIRED_USE="vidix? ( || ( X fbcon ) ) |
160 |
xv? ( X ) |
161 |
xinerama? ( X )" |
162 |
|
163 |
src_prepare() { |
164 |
epatch "${FILESDIR}"/${P}-zlib-1.2.5.2.patch |
165 |
|
166 |
sed -i -e '/define VDR_ABS_FIFO_DIR/s|".*"|"/var/vdr/xine"|' src/vdr/input_vdr.c || die |
167 |
|
168 |
if [[ ${PV} == *9999* ]]; then |
169 |
eautopoint |
170 |
eautoreconf |
171 |
else |
172 |
elibtoolize |
173 |
fi |
174 |
} |
175 |
|
176 |
src_configure() { |
177 |
local win32dir #197236 |
178 |
if has_multilib_profile; then |
179 |
win32dir=/usr/$(ABI="x86" get_libdir)/win32 |
180 |
else |
181 |
win32dir=/usr/$(get_libdir)/win32 |
182 |
fi |
183 |
|
184 |
econf \ |
185 |
$(use_enable ipv6) \ |
186 |
$(use_enable nls) \ |
187 |
$(use_enable altivec) \ |
188 |
$(use_enable vis) \ |
189 |
--disable-optimizations \ |
190 |
$(use_enable mmap) \ |
191 |
$(use_enable oss) \ |
192 |
$(use_enable aalib) \ |
193 |
$(use_enable directfb) \ |
194 |
$(use_enable dxr3) \ |
195 |
$(use_enable fbcon fb) \ |
196 |
$(use_enable opengl) $(use_enable opengl glu) \ |
197 |
$(use_enable vidix) \ |
198 |
$(use_enable xinerama) \ |
199 |
$(use_enable xvmc) \ |
200 |
$(use_enable vdpau) \ |
201 |
$(use_enable dvb) \ |
202 |
--disable-gnomevfs \ |
203 |
$(use_enable samba) \ |
204 |
--disable-v4l $(use_enable v4l v4l2) $(use_enable v4l libv4l) \ |
205 |
$(use_enable vcd) \ |
206 |
$(use_enable vdr) \ |
207 |
$(use_enable bluray) \ |
208 |
$(use_enable a52 a52dec) \ |
209 |
$(use_enable aac faad) \ |
210 |
$(use_enable gtk gdkpixbuf) \ |
211 |
$(use_enable dts) \ |
212 |
$(use_enable mad) \ |
213 |
$(use_enable modplug) \ |
214 |
$(use_enable musepack) \ |
215 |
$(use_enable mng) \ |
216 |
$(use_enable real real-codecs) \ |
217 |
$(use_enable win32codecs w32dll) \ |
218 |
$(use_with truetype freetype) $(use_with truetype fontconfig) \ |
219 |
$(use_with X x) \ |
220 |
$(use_with alsa) \ |
221 |
--without-esound \ |
222 |
$(use_with fusion fusionsound) \ |
223 |
$(use_with jack) \ |
224 |
$(use_with pulseaudio) \ |
225 |
$(use_with libcaca caca) \ |
226 |
$(use_with sdl) \ |
227 |
$(use_with xcb) \ |
228 |
--with-xv-path=/usr/$(get_libdir) \ |
229 |
$(use_with imagemagick) \ |
230 |
--with-external-dvdnav \ |
231 |
$(use_with flac libflac) \ |
232 |
$(use_with speex) \ |
233 |
$(use_with theora) \ |
234 |
$(use_with vorbis) \ |
235 |
--with-real-codecs-path=/usr/$(get_libdir)/codecs \ |
236 |
--with-w32-path=${win32dir} \ |
237 |
$(use_with wavpack) |
238 |
} |
239 |
|
240 |
src_install() { |
241 |
emake \ |
242 |
DESTDIR="${D}" \ |
243 |
docdir="/usr/share/doc/${PF}" \ |
244 |
htmldir="/usr/share/doc/${PF}/html" \ |
245 |
install |
246 |
|
247 |
rm -f \ |
248 |
"${ED}"usr/lib*/libxine*.la \ |
249 |
"${ED}"usr/share/doc/${PF}/COPYING |
250 |
} |