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