From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-video/x264-encoder: ChangeLog x264-encoder-0.0.20080819.ebuild |
Date: | Fri, 22 Aug 2008 11:32:17 |
Message-Id: | E1KWUsJ-0006a2-3Q@stork.gentoo.org |
1 | yngwin 08/08/22 11:32:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-encoder-0.0.20080819.ebuild |
5 | Log: |
6 | New x264 snapshot |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.3 media-video/x264-encoder/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.3&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.3&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.2&r2=1.3 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v |
19 | retrieving revision 1.2 |
20 | retrieving revision 1.3 |
21 | diff -u -r1.2 -r1.3 |
22 | --- ChangeLog 9 Apr 2008 16:06:47 -0000 1.2 |
23 | +++ ChangeLog 22 Aug 2008 11:32:14 -0000 1.3 |
24 | @@ -1,6 +1,12 @@ |
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.2 2008/04/09 16:06:47 aballier Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.3 2008/08/22 11:32:14 yngwin Exp $ |
29 | + |
30 | +*x264-encoder-0.0.20080819 (22 Aug 2008) |
31 | + |
32 | + 22 Aug 2008; Ben de Groot <yngwin@g.o> |
33 | + +x264-encoder-0.0.20080819.ebuild: |
34 | + Version bump |
35 | |
36 | 09 Apr 2008; Alexis Ballier <aballier@g.o> |
37 | x264-encoder-0.0.20080406.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 media-video/x264-encoder/x264-encoder-0.0.20080819.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20080819.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20080819.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: x264-encoder-0.0.20080819.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.20080819.ebuild,v 1.1 2008/08/22 11:32:14 yngwin Exp $ |
51 | |
52 | EAPI="1" |
53 | inherit multilib eutils toolchain-funcs versionator |
54 | |
55 | MY_P="x264-snapshot-$(get_version_component_range 3)-2245" |
56 | |
57 | DESCRIPTION="A free library for encoding 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 | SLOT="0" |
61 | LICENSE="GPL-2" |
62 | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 | IUSE="debug gtk +mp4 +threads" |
64 | |
65 | RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 ) |
66 | gtk? ( >=x11-libs/gtk+-2.6.10 >=dev-libs/glib-2.10.3 ) |
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-20080406.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 | $(use_enable gtk) \ |
103 | || die "configure failed" |
104 | emake CC="$(tc-getCC)" || die "make failed" |
105 | } |
106 | |
107 | src_install() { |
108 | make DESTDIR="${D}" install || die |
109 | dodoc AUTHORS doc/*.txt |
110 | } |