Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/x264: ChangeLog x264-0.0.20090908.ebuild
Date: Wed, 09 Sep 2009 08:57:22
Message-Id: E1MlIzP-0001s5-Pr@stork.gentoo.org
1 ssuominen 09/09/09 08:57:19
2
3 Modified: ChangeLog
4 Added: x264-0.0.20090908.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.23 media-libs/x264/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.23&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.23&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?r1=1.22&r2=1.23
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v
19 retrieving revision 1.22
20 retrieving revision 1.23
21 diff -u -r1.22 -r1.23
22 --- ChangeLog 29 Jun 2009 21:37:28 -0000 1.22
23 +++ ChangeLog 9 Sep 2009 08:57:19 -0000 1.23
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/x264
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.22 2009/06/29 21:37:28 aballier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.23 2009/09/09 08:57:19 ssuominen Exp $
29 +
30 +*x264-0.0.20090908 (09 Sep 2009)
31 +
32 + 09 Sep 2009; Samuli Suominen <ssuominen@g.o>
33 + +x264-0.0.20090908.ebuild:
34 + Version bump.
35
36 *x264-0.0.20090629 (29 Jun 2009)
37
38
39
40
41 1.1 media-libs/x264/x264-0.0.20090908.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20090908.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20090908.ebuild?rev=1.1&content-type=text/plain
45
46 Index: x264-0.0.20090908.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-libs/x264/x264-0.0.20090908.ebuild,v 1.1 2009/09/09 08:57:19 ssuominen Exp $
51
52 EAPI=2
53 inherit eutils multilib 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
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
64 IUSE="debug +threads"
65 # pic
66
67 RDEPEND=""
68 DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 )
69 x86? ( >=dev-lang/yasm-0.6.2 )
70 x86-fbsd? ( >=dev-lang/yasm-0.6.2 )"
71
72 S=${WORKDIR}/${MY_P}
73
74 src_prepare() {
75 epatch "${FILESDIR}"/${PN}-nostrip.patch \
76 "${FILESDIR}"/${PN}-onlylib-20090408.patch
77 }
78
79 src_configure() {
80 tc-export CC
81
82 local myconf=""
83 use debug && myconf="${myconf} --enable-debug"
84
85 # if use x86 && use pic; then
86 # myconf="${myconf} --disable-asm"
87 # fi
88
89 ./configure \
90 --prefix=/usr \
91 --libdir=/usr/$(get_libdir) \
92 --disable-avis-input \
93 --disable-mp4-output \
94 $(use_enable threads pthread) \
95 --enable-pic \
96 --enable-shared \
97 --extra-asflags="${ASFLAGS}" \
98 --extra-cflags="${CFLAGS}" \
99 --extra-ldflags="${LDFLAGS}" \
100 --host="${CHOST}" \
101 ${myconf} \
102 || die
103 }
104
105 src_install() {
106 emake DESTDIR="${D}" install || die
107 dodoc AUTHORS doc/*.txt
108 }