Gentoo Archives: gentoo-commits

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.20090502.ebuild
Date: Sun, 03 May 2009 20:09:17
Message-Id: E1M0hzv-0006vx-MQ@stork.gentoo.org
1 aballier 09/05/03 20:09:15
2
3 Modified: ChangeLog
4 Added: x264-encoder-0.0.20090502.ebuild
5 Log:
6 bump a new snapshot
7 (Portage version: 2.2_rc32/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.19 media-video/x264-encoder/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.19&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.19&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.18&r2=1.19
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v
19 retrieving revision 1.18
20 retrieving revision 1.19
21 diff -u -r1.18 -r1.19
22 --- ChangeLog 27 Apr 2009 23:58:54 -0000 1.18
23 +++ ChangeLog 3 May 2009 20:09:15 -0000 1.19
24 @@ -1,6 +1,13 @@
25 # ChangeLog for media-video/x264-encoder
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.18 2009/04/27 23:58:54 patrick Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.19 2009/05/03 20:09:15 aballier Exp $
29 +
30 +*x264-encoder-0.0.20090502 (03 May 2009)
31 +
32 + 03 May 2009; Alexis Ballier <aballier@g.o>
33 + +x264-encoder-0.0.20090502.ebuild,
34 + +files/x264-encoder-nolib-20090408.patch:
35 + bump a new snapshot
36
37 27 Apr 2009; Patrick Lauer <patrick@g.o> x264-encoder-0.0.20081218:
38 Bumping yasm dep to >=0.6.1, closes #267711
39
40
41
42 1.1 media-video/x264-encoder/x264-encoder-0.0.20090502.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20090502.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20090502.ebuild?rev=1.1&content-type=text/plain
46
47 Index: x264-encoder-0.0.20090502.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.20090502.ebuild,v 1.1 2009/05/03 20:09:15 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 commandline encoder for 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.1 )
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-20090408.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 "--host=${CHOST}" \
100 ${myconf} \
101 $(use_enable threads pthread) \
102 $(use_enable mp4 mp4-output) \
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 }