From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/x264-encoder: ChangeLog x264-encoder-0.0.20100423.ebuild |
Date: | Sat, 24 Apr 2010 15:47:30 |
Message-Id: | 20100424154725.F3B662C04C@corvid.gentoo.org |
1 | aballier 10/04/24 15:47:25 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-encoder-0.0.20100423.ebuild |
5 | Log: |
6 | push a new snapshot |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.34 media-video/x264-encoder/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.34&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.34&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.33&r2=1.34 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v |
19 | retrieving revision 1.33 |
20 | retrieving revision 1.34 |
21 | diff -u -r1.33 -r1.34 |
22 | --- ChangeLog 24 Feb 2010 12:33:00 -0000 1.33 |
23 | +++ ChangeLog 24 Apr 2010 15:47:25 -0000 1.34 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-video/x264-encoder |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.33 2010/02/24 12:33:00 aballier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.34 2010/04/24 15:47:25 aballier Exp $ |
29 | + |
30 | +*x264-encoder-0.0.20100423 (24 Apr 2010) |
31 | + |
32 | + 24 Apr 2010; Alexis Ballier <aballier@g.o> |
33 | + +x264-encoder-0.0.20100423.ebuild: |
34 | + push a new snapshot |
35 | |
36 | 24 Feb 2010; Alexis Ballier <aballier@g.o> |
37 | -x264-encoder-0.0.20081006.ebuild, -x264-encoder-0.0.20090502.ebuild, |
38 | |
39 | |
40 | |
41 | 1.1 media-video/x264-encoder/x264-encoder-0.0.20100423.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20100423.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20100423.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: x264-encoder-0.0.20100423.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20100423.ebuild,v 1.1 2010/04/24 15:47:25 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 commandline encoder for X264/AVC streams" |
58 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
59 | SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="debug ffmpeg +mp4 +threads" |
65 | |
66 | RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) |
67 | ~media-libs/x264-${PV} |
68 | ffmpeg? ( media-video/ffmpeg )" |
69 | DEPEND="${RDEPEND} |
70 | amd64? ( >=dev-lang/yasm-0.6.2 ) |
71 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) |
72 | !<dev-lang/yasm-0.6.2 ) |
73 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
74 | dev-util/pkgconfig" |
75 | |
76 | S="${WORKDIR}/${MY_P}" |
77 | |
78 | src_prepare() { |
79 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |
80 | "${FILESDIR}"/${PN}-nolib-20100118.patch |
81 | } |
82 | |
83 | src_configure() { |
84 | tc-export CC |
85 | |
86 | local myconf="" |
87 | use debug && myconf="${myconf} --enable-debug" |
88 | |
89 | ./configure \ |
90 | --prefix=/usr \ |
91 | --libdir=/usr/$(get_libdir) \ |
92 | --disable-avs-input \ |
93 | $(use_enable ffmpeg lavf-input) \ |
94 | $(use_enable mp4 mp4-output) \ |
95 | $(use_enable threads pthread) \ |
96 | --extra-asflags="${ASFLAGS}" \ |
97 | --extra-cflags="${CFLAGS}" \ |
98 | --extra-ldflags="${LDFLAGS}" \ |
99 | --host="${CHOST}" \ |
100 | ${myconf} \ |
101 | || die |
102 | } |
103 | |
104 | src_install() { |
105 | emake DESTDIR="${D}" install || die |
106 | } |