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.20090629.ebuild
Date: Mon, 29 Jun 2009 21:37:53
Message-Id: E1MLOXu-00070A-H1@stork.gentoo.org
1 aballier 09/06/29 21:37:50
2
3 Modified: ChangeLog
4 Added: x264-encoder-0.0.20090629.ebuild
5 Log:
6 bump a new snapshot
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.21 media-video/x264-encoder/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.21&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?rev=1.21&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/ChangeLog?r1=1.20&r2=1.21
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v
19 retrieving revision 1.20
20 retrieving revision 1.21
21 diff -u -r1.20 -r1.21
22 --- ChangeLog 29 Jun 2009 21:21:50 -0000 1.20
23 +++ ChangeLog 29 Jun 2009 21:37:50 -0000 1.21
24 @@ -1,6 +1,12 @@
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.20 2009/06/29 21:21:50 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-video/x264-encoder/ChangeLog,v 1.21 2009/06/29 21:37:50 aballier Exp $
29 +
30 +*x264-encoder-0.0.20090629 (29 Jun 2009)
31 +
32 + 29 Jun 2009; Alexis Ballier <aballier@g.o>
33 + +x264-encoder-0.0.20090629.ebuild:
34 + bump a new snapshot
35
36 29 Jun 2009; Alexis Ballier <aballier@g.o>
37 -x264-encoder-0.0.20081218.ebuild:
38
39
40
41 1.1 media-video/x264-encoder/x264-encoder-0.0.20090629.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20090629.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/x264-encoder/x264-encoder-0.0.20090629.ebuild?rev=1.1&content-type=text/plain
45
46 Index: x264-encoder-0.0.20090629.ebuild
47 ===================================================================
48 # Copyright 1999-2009 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.20090629.ebuild,v 1.1 2009/06/29 21:37:50 aballier 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 commandline encoder for 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 +mp4 +threads"
64
65 RDEPEND="mp4? ( >=media-video/gpac-0.4.1_pre20060122 )
66 ~media-libs/x264-${PV}"
67
68 DEPEND="${RDEPEND}
69 amd64? ( >=dev-lang/yasm-0.6.1 )
70 x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) )
71 x86-fbsd? ( >=dev-lang/yasm-0.6.2 )
72 dev-util/pkgconfig"
73
74 # Block older than 0.6.2 versions of yasm
75 # It generates incorect pic code and will cause segfaults
76 # See http://www.tortall.net/projects/yasm/ticket/114
77 DEPEND="${DEPEND}
78 x86? ( !<dev-lang/yasm-0.6.2 )"
79
80 S="${WORKDIR}/${MY_P}"
81
82 src_unpack() {
83 unpack ${A}
84 cd "${S}"
85 epatch "${FILESDIR}/${PN}-nostrip.patch"
86 epatch "${FILESDIR}/${PN}-nolib-20090408.patch"
87 }
88
89 src_compile() {
90 local myconf=""
91 use debug && myconf="${myconf} --enable-debug"
92 ./configure --prefix=/usr \
93 --libdir=/usr/$(get_libdir) \
94 --enable-pic --enable-shared \
95 "--extra-cflags=${CFLAGS}" \
96 "--extra-ldflags=${LDFLAGS}" \
97 "--extra-asflags=${ASFLAGS}" \
98 "--host=${CHOST}" \
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 }