From: | "Patrick McLean (chutzpah)" <chutzpah@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/x264: ChangeLog x264-0.0.20110825.ebuild |
Date: | Wed, 07 Sep 2011 02:24:40 |
Message-Id: | 20110907022428.A9FDF20051@flycatcher.gentoo.org |
1 | chutzpah 11/09/07 02:24:28 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-0.0.20110825.ebuild |
5 | Log: |
6 | Version bump, pull a lot of fixes by Nikoli <nikoli@×××××××.com> from the live ebuild. Add custom-cflags USE flag with workaround for bug #376925. Also contains fix for bug #378303. |
7 | |
8 | (Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.58 media-libs/x264/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.58&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.58&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?r1=1.57&r2=1.58 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v |
20 | retrieving revision 1.57 |
21 | retrieving revision 1.58 |
22 | diff -u -r1.57 -r1.58 |
23 | --- ChangeLog 3 Sep 2011 18:39:24 -0000 1.57 |
24 | +++ ChangeLog 7 Sep 2011 02:24:28 -0000 1.58 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for media-libs/x264 |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.57 2011/09/03 18:39:24 maksbotan Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.58 2011/09/07 02:24:28 chutzpah Exp $ |
30 | + |
31 | +*x264-0.0.20110825 (07 Sep 2011) |
32 | + |
33 | + 07 Sep 2011; Patrick McLean <chutzpah@g.o> +x264-0.0.20110825.ebuild: |
34 | + Version bump, pull a lot of fixes by Nikoli <nikoli@×××××××.com> from the |
35 | + live ebuild. Add custom-cflags USE flag with workaround for bug #376925. Also |
36 | + contains fix for bug #378303. |
37 | |
38 | 03 Sep 2011; Maxim Koltsov <maksbotan@g.o> x264-9999.ebuild: |
39 | Fix SRC_URI & some cosmetic change. Thanks to Nikoli <nikoli@×××××××.com> |
40 | |
41 | |
42 | |
43 | 1.1 media-libs/x264/x264-0.0.20110825.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110825.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110825.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: x264-0.0.20110825.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20110825.ebuild,v 1.1 2011/09/07 02:24:28 chutzpah Exp $ |
53 | |
54 | EAPI=4 |
55 | inherit eutils flag-o-matic multilib toolchain-funcs versionator |
56 | |
57 | MY_P=x264-snapshot-$(get_version_component_range 3)-2245 |
58 | |
59 | DESCRIPTION="A free library for encoding X264/AVC streams" |
60 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
61 | SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 | IUSE="custom-cflags debug +threads pic static-libs" |
67 | |
68 | RDEPEND="" |
69 | DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) |
70 | x86? ( >=dev-lang/yasm-0.6.2 ) |
71 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" |
72 | |
73 | S=${WORKDIR}/${MY_P} |
74 | |
75 | DOCS="AUTHORS doc/*.txt" |
76 | |
77 | src_configure() { |
78 | tc-export CC |
79 | |
80 | local myconf="" |
81 | use debug && myconf+=" --enable-debug" |
82 | use static-libs && myconf+=" --enable-static" |
83 | use threads || myconf+=" --disable-thread" |
84 | |
85 | # let upstream pick the optimization level by default |
86 | use custom-cflags || filter-flags -O? |
87 | |
88 | if use x86 && use pic; then |
89 | myconf+=" --disable-asm" |
90 | fi |
91 | |
92 | ./configure \ |
93 | --prefix="${EPREFIX}"/usr \ |
94 | --libdir="${EPREFIX}"/usr/$(get_libdir) \ |
95 | --disable-cli \ |
96 | --disable-avs \ |
97 | --disable-lavf \ |
98 | --disable-swscale \ |
99 | --disable-ffms \ |
100 | --disable-gpac \ |
101 | --enable-pic \ |
102 | --enable-shared \ |
103 | --host="${CHOST}" \ |
104 | ${myconf} \ |
105 | || die |
106 | |
107 | # this is a nasty workaround for bug #376925 as upstream doesn't like us |
108 | # fiddling with their CFLAGS |
109 | if use custom-cflags; then |
110 | local cflags |
111 | cflags="$(grep "^CFLAGS=" config.mak | sed 's/CFLAGS=//')" |
112 | cflags="${cflags//$(get-flag O)/}" |
113 | cflags="${cflags//-O?/$(get-flag O)}" |
114 | cflags="${cflags//-g/}" |
115 | sed -i "s:^CFLAGS=.*:CFLAGS=${cflags//:/\\:}:" config.mak |
116 | fi |
117 | } |