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.20.ebuild
Date: Wed, 16 Nov 2011 20:10:53
Message-Id: 20111116201042.D43102004B@flycatcher.gentoo.org
1 ssuominen 11/11/16 20:10:42
2
3 Modified: ChangeLog
4 Added: xine-lib-1.1.20.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha73/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.648 media-libs/xine-lib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.648&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?rev=1.648&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/ChangeLog?r1=1.647&r2=1.648
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v
20 retrieving revision 1.647
21 retrieving revision 1.648
22 diff -u -r1.647 -r1.648
23 --- ChangeLog 30 Oct 2011 15:57:51 -0000 1.647
24 +++ ChangeLog 16 Nov 2011 20:10:42 -0000 1.648
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/xine-lib
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.647 2011/10/30 15:57:51 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/xine-lib/ChangeLog,v 1.648 2011/11/16 20:10:42 ssuominen Exp $
30 +
31 +*xine-lib-1.1.20 (16 Nov 2011)
32 +
33 + 16 Nov 2011; Samuli Suominen <ssuominen@g.o> +xine-lib-1.1.20.ebuild:
34 + Version bump.
35
36 30 Oct 2011; Samuli Suominen <ssuominen@g.o> xine-lib-1.2.9999.ebuild:
37 Rename obsolete USE="v4l2" to USE="v4l" wrt #385241
38
39
40
41 1.1 media-libs/xine-lib/xine-lib-1.1.20.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.20.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/xine-lib/xine-lib-1.1.20.ebuild?rev=1.1&content-type=text/plain
45
46 Index: xine-lib-1.1.20.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.20.ebuild,v 1.1 2011/11/16 20:10:42 ssuominen Exp $
51
52 EAPI=4
53 inherit 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 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 win32codecs nls +css +X directfb +vorbis +alsa sdl speex +theora ipv6 altivec opengl aac fbcon +xv xvmc samba dxr3 vidix mng flac oss +v4l xinerama vcd +a52 +mad imagemagick +dts +modplug gtk pulseaudio mmap truetype wavpack +musepack +xcb jack real +vis"
74
75 RDEPEND="X? ( x11-libs/libXext
76 x11-libs/libX11 )
77 xv? ( x11-libs/libXv )
78 xvmc? ( x11-libs/libXvMC )
79 xinerama? ( x11-libs/libXinerama )
80 win32codecs? ( >=media-libs/win32codecs-0.50 )
81 css? ( >=media-libs/libdvdcss-1.2.7 )
82 alsa? ( media-libs/alsa-lib )
83 aalib? ( media-libs/aalib )
84 directfb? ( >=dev-libs/DirectFB-0.9.9 )
85 flac? ( >=media-libs/flac-1.1.2 )
86 sdl? ( >=media-libs/libsdl-1.1.5 )
87 dxr3? ( >=media-libs/libfame-0.9.0 )
88 vorbis? ( media-libs/libogg media-libs/libvorbis )
89 theora? ( media-libs/libogg media-libs/libvorbis >=media-libs/libtheora-1.0_alpha6 )
90 speex? ( media-libs/libogg media-libs/libvorbis media-libs/speex )
91 libcaca? ( >=media-libs/libcaca-0.99_beta14 )
92 samba? ( net-fs/samba )
93 mng? ( media-libs/libmng )
94 vcd? ( media-video/vcdimager
95 dev-libs/libcdio[-minimal] )
96 a52? ( >=media-libs/a52dec-0.7.4-r5 )
97 mad? ( media-libs/libmad )
98 imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick ) )
99 dts? ( media-libs/libdca )
100 aac? ( >=media-libs/faad2-2.6.1 )
101 virtual/ffmpeg
102 modplug? ( >=media-libs/libmodplug-0.8.8.1 )
103 nls? ( virtual/libintl )
104 gtk? ( x11-libs/gtk+:2 )
105 pulseaudio? ( media-sound/pulseaudio )
106 truetype? ( media-libs/freetype:2 media-libs/fontconfig )
107 virtual/libiconv
108 wavpack? ( >=media-sound/wavpack-4.31 )
109 musepack? ( >=media-sound/musepack-tools-444 )
110 xcb? ( >=x11-libs/libxcb-1.0 )
111 jack? ( >=media-sound/jack-audio-connection-kit-0.100 )
112 real? (
113 x86? ( media-libs/win32codecs )
114 x86-fbsd? ( media-libs/win32codecs )
115 amd64? ( media-libs/amd64codecs ) )
116 v4l? ( media-libs/libv4l )"
117 DEPEND="${RDEPEND}
118 app-arch/xz-utils
119 X? ( x11-libs/libXt
120 x11-proto/xproto
121 x11-proto/videoproto
122 x11-proto/xf86vidmodeproto
123 xinerama? ( x11-proto/xineramaproto ) )
124 v4l? ( virtual/os-headers )
125 dev-util/pkgconfig
126 sys-devel/libtool
127 nls? ( sys-devel/gettext )"
128
129 src_configure() {
130 #prevent quicktime crashing
131 append-flags -frename-registers -ffunction-sections
132
133 # Specific workarounds for too-few-registers arch...
134 if [[ $(tc-arch) == "x86" ]]; then
135 filter-flags -fforce-addr
136 filter-flags -momit-leaf-frame-pointer # break on gcc 3.4/4.x
137 filter-flags -fno-omit-frame-pointer #breaks per bug #149704
138 is-flag -O? || append-flags -O2
139 fi
140
141 # Set the correct win32 dll path, bug #197236
142 local win32dir
143 if has_multilib_profile ; then
144 win32dir=/usr/$(ABI="x86" get_libdir)/win32
145 else
146 win32dir=/usr/$(get_libdir)/win32
147 fi
148
149 # Too many file names are the same (xine_decoder.c), change the builddir
150 # So that the relative path is used to identify them.
151 mkdir "${WORKDIR}"/build
152
153 ECONF_SOURCE=${S} econf \
154 --disable-gnomevfs \
155 $(use_enable nls) \
156 $(use_enable ipv6) \
157 $(use_enable samba) \
158 $(use_enable altivec) \
159 $(use_enable v4l) \
160 $(use_enable v4l libv4l) \
161 $(use_enable mng) \
162 $(use_with imagemagick) \
163 $(use_enable gtk gdkpixbuf) \
164 $(use_enable aac faad) --with-external-libfaad \
165 $(use_with flac libflac) \
166 $(use_with vorbis) \
167 $(use_with speex) \
168 $(use_with theora) \
169 $(use_with wavpack) \
170 $(use_enable modplug) \
171 $(use_enable a52 a52dec) --with-external-a52dec \
172 $(use_enable mad) --with-external-libmad \
173 $(use_enable dts) --with-external-libdts \
174 $(use_enable musepack) --with-external-libmpcdec \
175 $(use_with X x) \
176 $(use_enable xinerama) \
177 $(use_enable vidix) \
178 $(use_enable dxr3) \
179 $(use_enable directfb) \
180 $(use_enable fbcon fb) \
181 $(use_enable opengl) \
182 $(use_enable aalib) \
183 $(use_with libcaca caca) \
184 $(use_with sdl) \
185 $(use_enable xvmc) \
186 $(use_with xcb) \
187 $(use_enable oss) \
188 $(use_with alsa) \
189 --without-arts \
190 --without-esound \
191 $(use_with pulseaudio) \
192 $(use_with jack) \
193 $(use_enable vcd) --without-internal-vcdlibs \
194 $(use_enable win32codecs w32dll) \
195 $(use_enable real real-codecs) \
196 $(use_enable mmap) \
197 $(use_with truetype freetype) $(use_with truetype fontconfig) \
198 $(use_enable vis) \
199 --enable-asf \
200 --with-external-ffmpeg \
201 --disable-optimizations \
202 --disable-syncfb \
203 --with-xv-path=/usr/$(get_libdir) \
204 --with-w32-path=${win32dir} \
205 --with-real-codecs-path=/usr/$(get_libdir)/codecs \
206 --enable-fast-install
207 }
208
209 src_install() {
210 emake \
211 DESTDIR="${D}" \
212 docdir="/usr/share/doc/${PF}" \
213 htmldir="/usr/share/doc/${PF}/html" \
214 install
215
216 dodoc ChangeLog
217
218 rm -f "${D}"usr/lib*/libxine.la
219 }