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.20110223.ebuild |
Date: | Thu, 24 Feb 2011 13:26:39 |
Message-Id: | 20110224132629.A0E4D20054@flycatcher.gentoo.org |
1 | aballier 11/02/24 13:26:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-encoder-0.0.20110223.ebuild |
5 | Log: |
6 | bump a new snapshot |
7 | |
8 | (Portage version: 2.2.0_alpha25/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.47 media-video/x264-encoder/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.47&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.47&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.46&r2=1.47 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v |
20 | retrieving revision 1.46 |
21 | retrieving revision 1.47 |
22 | diff -u -r1.46 -r1.47 |
23 | --- ChangeLog 22 Dec 2010 02:10:03 -0000 1.46 |
24 | +++ ChangeLog 24 Feb 2011 13:26:29 -0000 1.47 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for media-video/x264-encoder |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.46 2010/12/22 02:10:03 aballier Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.47 2011/02/24 13:26:29 aballier Exp $ |
31 | + |
32 | +*x264-encoder-0.0.20110223 (24 Feb 2011) |
33 | + |
34 | + 24 Feb 2011; Alexis Ballier <aballier@g.o> |
35 | + +x264-encoder-0.0.20110223.ebuild, +files/x264-encoder-nolib-20110223.patch: |
36 | + bump a new snapshot |
37 | |
38 | 22 Dec 2010; Alexis Ballier <aballier@g.o> |
39 | -x264-encoder-0.0.20091021.ebuild, -files/x264-encoder-nolib-20090408.patch: |
40 | |
41 | |
42 | |
43 | 1.1 media-video/x264-encoder/x264-encoder-0.0.20110223.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110223.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110223.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: x264-encoder-0.0.20110223.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2011 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20110223.ebuild,v 1.1 2011/02/24 13:26:29 aballier Exp $ |
53 | |
54 | EAPI=2 |
55 | inherit eutils multilib toolchain-funcs versionator |
56 | |
57 | MY_P=x264-snapshot-$(get_version_component_range 3)-2245 |
58 | |
59 | DESCRIPTION="A free commandline encoder for X264/AVC streams" |
60 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
61 | SRC_URI="http://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
62 | |
63 | LICENSE="GPL-2" |
64 | SLOT="0" |
65 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
66 | IUSE="debug ffmpeg +mp4 +threads" |
67 | |
68 | RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) |
69 | ~media-libs/x264-${PV} |
70 | ffmpeg? ( media-video/ffmpeg )" |
71 | DEPEND="${RDEPEND} |
72 | amd64? ( >=dev-lang/yasm-0.6.2 ) |
73 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) |
74 | !<dev-lang/yasm-0.6.2 ) |
75 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 ) |
76 | dev-util/pkgconfig" |
77 | |
78 | S="${WORKDIR}/${MY_P}" |
79 | |
80 | src_prepare() { |
81 | epatch "${FILESDIR}"/${PN}-nostrip.patch \ |
82 | "${FILESDIR}"/${PN}-nolib-20110223.patch |
83 | } |
84 | |
85 | src_configure() { |
86 | tc-export CC |
87 | |
88 | local myconf="" |
89 | use debug && myconf="${myconf} --enable-debug" |
90 | |
91 | ./configure \ |
92 | --prefix=/usr \ |
93 | --libdir=/usr/$(get_libdir) \ |
94 | --disable-avs \ |
95 | $(use_enable ffmpeg lavf) \ |
96 | $(use_enable ffmpeg swscale) \ |
97 | $(use_enable mp4 gpac) \ |
98 | $(use_enable threads thread) \ |
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 | } |