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.20110426.ebuild |
Date: | Wed, 27 Apr 2011 17:22:48 |
Message-Id: | 20110427172007.22C7820054@flycatcher.gentoo.org |
1 | aballier 11/04/27 17:20:07 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-0.0.20110426.ebuild |
5 | Log: |
6 | new snapshot |
7 | |
8 | (Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.49 media-libs/x264/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.49&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?rev=1.49&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/ChangeLog?r1=1.48&r2=1.49 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v |
20 | retrieving revision 1.48 |
21 | retrieving revision 1.49 |
22 | diff -u -r1.48 -r1.49 |
23 | --- ChangeLog 24 Feb 2011 13:25:45 -0000 1.48 |
24 | +++ ChangeLog 27 Apr 2011 17:20:07 -0000 1.49 |
25 | @@ -1,6 +1,12 @@ |
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.48 2011/02/24 13:25:45 aballier Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.49 2011/04/27 17:20:07 aballier Exp $ |
30 | + |
31 | +*x264-0.0.20110426 (27 Apr 2011) |
32 | + |
33 | + 27 Apr 2011; Alexis Ballier <aballier@g.o> +x264-0.0.20110426.ebuild, |
34 | + +files/x264-onlylib-20110425.patch: |
35 | + new snapshot |
36 | |
37 | *x264-0.0.20110223 (24 Feb 2011) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 media-libs/x264/x264-0.0.20110426.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110426.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/x264/x264-0.0.20110426.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: x264-0.0.20110426.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 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.20110426.ebuild,v 1.1 2011/04/27 17:20:07 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-20110425.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 threads || echo "--disable-thread") \ |
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 | } |