From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/x264: x264-0.0.20110223.ebuild ChangeLog |
Date: | Thu, 24 Feb 2011 13:26:10 |
Message-Id: | 20110224132545.4EF1020054@flycatcher.gentoo.org |
1 | aballier 11/02/24 13:25:45 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-0.0.20110223.ebuild |
5 | Log: |
6 | bump a new snapshot |
7 | |
8 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.48 media-libs/x264/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.48&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.48&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?r1=1.47&r2=1.48 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v |
20 | retrieving revision 1.47 |
21 | retrieving revision 1.48 |
22 | diff -u -r1.47 -r1.48 |
23 | --- ChangeLog 24 Feb 2011 12:33:41 -0000 1.47 |
24 | +++ ChangeLog 24 Feb 2011 13:25:45 -0000 1.48 |
25 | @@ -1,6 +1,11 @@ |
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.47 2011/02/24 12:33:41 aballier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.48 2011/02/24 13:25:45 aballier Exp $ |
30 | + |
31 | +*x264-0.0.20110223 (24 Feb 2011) |
32 | + |
33 | + 24 Feb 2011; Alexis Ballier <aballier@g.o> +x264-0.0.20110223.ebuild: |
34 | + bump a new snapshot |
35 | |
36 | 24 Feb 2011; Alexis Ballier <aballier@g.o> x264-0.0.20101029.ebuild: |
37 | Do not feed configure script with an unknown --enable-pthread option, bug |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/x264/x264-0.0.20110223.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110223.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110223.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: x264-0.0.20110223.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/x264/x264-0.0.20110223.ebuild,v 1.1 2011/02/24 13:25:45 aballier Exp $ |
51 | |
52 | EAPI=2 |
53 | inherit eutils multilib toolchain-funcs versionator |
54 | |
55 | MY_P=x264-snapshot-$(get_version_component_range 3)-2245 |
56 | |
57 | DESCRIPTION="A free library for encoding X264/AVC streams" |
58 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
59 | SRC_URI="http://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="debug +threads pic" |
65 | |
66 | RDEPEND="" |
67 | DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) |
68 | x86? ( >=dev-lang/yasm-0.6.2 ) |
69 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" |
70 | |
71 | S=${WORKDIR}/${MY_P} |
72 | |
73 | src_prepare() { |
74 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |
75 | "${FILESDIR}"/${PN}-onlylib-20100605.patch |
76 | } |
77 | |
78 | src_configure() { |
79 | tc-export CC |
80 | |
81 | local myconf="" |
82 | use debug && myconf="${myconf} --enable-debug" |
83 | |
84 | if use x86 && use pic; then |
85 | myconf="${myconf} --disable-asm" |
86 | fi |
87 | |
88 | ./configure \ |
89 | --prefix=/usr \ |
90 | --libdir=/usr/$(get_libdir) \ |
91 | --disable-avs \ |
92 | --disable-lavf \ |
93 | --disable-swscale \ |
94 | --disable-gpac \ |
95 | $(use threads || echo "--disable-thread") \ |
96 | --enable-pic \ |
97 | --enable-shared \ |
98 | --extra-asflags="${ASFLAGS}" \ |
99 | --extra-cflags="${CFLAGS}" \ |
100 | --extra-ldflags="${LDFLAGS}" \ |
101 | --host="${CHOST}" \ |
102 | ${myconf} \ |
103 | || die |
104 | } |
105 | |
106 | src_install() { |
107 | emake DESTDIR="${D}" install || die |
108 | dodoc AUTHORS doc/*.txt |
109 | } |