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.20081006.ebuild |
Date: | Tue, 07 Oct 2008 06:00:35 |
Message-Id: | E1Kn5cX-0005pF-I7@stork.gentoo.org |
1 | aballier 08/10/07 06:00:33 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-encoder-0.0.20081006.ebuild |
5 | Log: |
6 | Add a new snapshot |
7 | (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.4 media-video/x264-encoder/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.4&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.4&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.3&r2=1.4 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v |
19 | retrieving revision 1.3 |
20 | retrieving revision 1.4 |
21 | diff -u -r1.3 -r1.4 |
22 | --- ChangeLog 22 Aug 2008 11:32:14 -0000 1.3 |
23 | +++ ChangeLog 7 Oct 2008 06:00:33 -0000 1.4 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for media-video/x264-encoder |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.3 2008/08/22 11:32:14 yngwin Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.4 2008/10/07 06:00:33 aballier Exp $ |
29 | + |
30 | +*x264-encoder-0.0.20081006 (07 Oct 2008) |
31 | + |
32 | + 07 Oct 2008; Alexis Ballier <aballier@g.o> |
33 | + +files/x264-encoder-nolib-20081006.patch, |
34 | + +x264-encoder-0.0.20081006.ebuild: |
35 | + Add a new snapshot |
36 | |
37 | *x264-encoder-0.0.20080819 (22 Aug 2008) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 media-video/x264-encoder/x264-encoder-0.0.20081006.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20081006.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20081006.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: x264-encoder-0.0.20081006.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2008 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20081006.ebuild,v 1.1 2008/10/07 06:00:33 aballier Exp $ |
52 | |
53 | EAPI="1" |
54 | inherit multilib eutils 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="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
61 | SLOT="0" |
62 | LICENSE="GPL-2" |
63 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
64 | IUSE="debug +mp4 +threads" |
65 | |
66 | RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) |
67 | ~media-libs/x264-${PV}" |
68 | |
69 | DEPEND="${RDEPEND} |
70 | amd64? ( >=dev-lang/yasm-0.6.0 ) |
71 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) ) |
72 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
73 | dev-util/pkgconfig" |
74 | |
75 | # Block older than 0.6.2 versions of yasm |
76 | # It generates incorect pic code and will cause segfaults |
77 | # See http://www.tortall.net/projects/yasm/ticket/114 |
78 | DEPEND="${DEPEND} |
79 | x86? ( !<dev-lang/yasm-0.6.2 )" |
80 | |
81 | S="${WORKDIR}/${MY_P}" |
82 | |
83 | src_unpack() { |
84 | unpack ${A} |
85 | cd "${S}" |
86 | epatch "${FILESDIR}/${PN}-nostrip.patch" |
87 | epatch "${FILESDIR}/${PN}-nolib-20081006.patch" |
88 | } |
89 | |
90 | src_compile() { |
91 | local myconf="" |
92 | use debug && myconf="${myconf} --enable-debug" |
93 | ./configure --prefix=/usr \ |
94 | --libdir=/usr/$(get_libdir) \ |
95 | --enable-pic --enable-shared \ |
96 | "--extra-cflags=${CFLAGS}" \ |
97 | "--extra-ldflags=${LDFLAGS}" \ |
98 | "--extra-asflags=${ASFLAGS}" \ |
99 | ${myconf} \ |
100 | $(use_enable threads pthread) \ |
101 | $(use_enable mp4 mp4-output) \ |
102 | || die "configure failed" |
103 | emake CC="$(tc-getCC)" || die "make failed" |
104 | } |
105 | |
106 | src_install() { |
107 | make DESTDIR="${D}" install || die |
108 | dodoc AUTHORS doc/*.txt |
109 | } |