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.20110426.ebuild |
Date: | Wed, 27 Apr 2011 17:24:51 |
Message-Id: | 20110427172043.3DE8B20054@flycatcher.gentoo.org |
1 | aballier 11/04/27 17:20:43 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-encoder-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-video/x264-encoder/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.49&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.49&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.48&r2=1.49 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v |
20 | retrieving revision 1.48 |
21 | retrieving revision 1.49 |
22 | diff -u -r1.48 -r1.49 |
23 | --- ChangeLog 3 Apr 2011 18:18:48 -0000 1.48 |
24 | +++ ChangeLog 27 Apr 2011 17:20:43 -0000 1.49 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-video/x264-encoder |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.48 2011/04/03 18:18:48 scarabeus Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.49 2011/04/27 17:20:43 aballier Exp $ |
30 | + |
31 | +*x264-encoder-0.0.20110426 (27 Apr 2011) |
32 | + |
33 | + 27 Apr 2011; Alexis Ballier <aballier@g.o> |
34 | + +x264-encoder-0.0.20110426.ebuild, +files/x264-encoder-nolib-20110425.patch: |
35 | + new snapshot |
36 | |
37 | 03 Apr 2011; Tomáš Chvátal <scarabeus@g.o> |
38 | x264-encoder-0.0.20100605.ebuild, x264-encoder-0.0.20101029.ebuild, |
39 | |
40 | |
41 | |
42 | 1.1 media-video/x264-encoder/x264-encoder-0.0.20110426.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110426.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110426.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: x264-encoder-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-video/x264-encoder/x264-encoder-0.0.20110426.ebuild,v 1.1 2011/04/27 17:20:43 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 commandline encoder for 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 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
65 | IUSE="debug ffmpeg +mp4 +threads" |
66 | |
67 | RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) |
68 | ~media-libs/x264-${PV} |
69 | ffmpeg? ( virtual/ffmpeg )" |
70 | DEPEND="${RDEPEND} |
71 | amd64? ( >=dev-lang/yasm-0.6.2 ) |
72 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) |
73 | !<dev-lang/yasm-0.6.2 ) |
74 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
75 | dev-util/pkgconfig" |
76 | |
77 | S="${WORKDIR}/${MY_P}" |
78 | |
79 | src_prepare() { |
80 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |
81 | "${FILESDIR}"/${PN}-nolib-20110425.patch |
82 | } |
83 | |
84 | src_configure() { |
85 | tc-export CC |
86 | |
87 | local myconf="" |
88 | use debug && myconf="${myconf} --enable-debug" |
89 | |
90 | ./configure \ |
91 | --prefix=/usr \ |
92 | --libdir=/usr/$(get_libdir) \ |
93 | --disable-avs \ |
94 | $(use_enable ffmpeg lavf) \ |
95 | $(use_enable ffmpeg swscale) \ |
96 | $(use_enable mp4 gpac) \ |
97 | $(use_enable threads thread) \ |
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 | } |