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-libs/x264: ChangeLog x264-0.0.20090502.ebuild
Date: Sun, 03 May 2009 20:08:49
Message-Id: E1M0hzT-0006u2-8o@stork.gentoo.org
1 aballier 09/05/03 20:08:47
2
3 Modified: ChangeLog
4 Added: x264-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.20 media-libs/x264/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.20&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.20&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?r1=1.19&r2=1.20
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v
19 retrieving revision 1.19
20 retrieving revision 1.20
21 diff -u -r1.19 -r1.20
22 --- ChangeLog 20 Dec 2008 22:47:24 -0000 1.19
23 +++ ChangeLog 3 May 2009 20:08:47 -0000 1.20
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/x264
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.19 2008/12/20 22:47:24 fmccor Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.20 2009/05/03 20:08:47 aballier Exp $
30 +
31 +*x264-0.0.20090502 (03 May 2009)
32 +
33 + 03 May 2009; Alexis Ballier <aballier@g.o>
34 + +x264-0.0.20090502.ebuild, +files/x264-onlylib-20090408.patch:
35 + bump a new snapshot
36
37 20 Dec 2008; Ferris McCormick <fmccor@g.o>
38 x264-0.0.20081006.ebuild:
39
40
41
42 1.1 media-libs/x264/x264-0.0.20090502.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20090502.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20090502.ebuild?rev=1.1&content-type=text/plain
46
47 Index: x264-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-libs/x264/x264-0.0.20090502.ebuild,v 1.1 2009/05/03 20:08:47 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 library for encoding 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug +threads"
65
66 RDEPEND=""
67 DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 )
68 x86? ( >=dev-lang/yasm-0.6.2 )
69 x86-fbsd? ( >=dev-lang/yasm-0.6.2 )"
70
71 S="${WORKDIR}/${MY_P}"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76 epatch "${FILESDIR}/${PN}-nostrip.patch"
77 epatch "${FILESDIR}/${PN}-onlylib-20090408.patch"
78 }
79
80 src_compile() {
81 local myconf=""
82 use debug && myconf="${myconf} --enable-debug"
83 ./configure --prefix=/usr \
84 --libdir=/usr/$(get_libdir) \
85 --enable-pic --enable-shared \
86 "--extra-cflags=${CFLAGS}" \
87 "--extra-ldflags=${LDFLAGS}" \
88 "--extra-asflags=${ASFLAGS}" \
89 "--host=${CHOST}" \
90 $(use_enable threads pthread) \
91 ${myconf} \
92 --disable-mp4-output \
93 || die "configure failed"
94 emake CC="$(tc-getCC)" || die "make failed"
95 }
96
97 src_install() {
98 make DESTDIR="${D}" install || die
99 dodoc AUTHORS doc/*.txt
100 }
101
102 pkg_postinst() {
103 elog "Please note that this package now only installs"
104 elog "${PN} libraries. In order to have the encoder,"
105 elog "please emerge media-video/x264-encoder."
106 }