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.20081006.ebuild
Date: Tue, 07 Oct 2008 05:58:42
Message-Id: E1Kn5ai-0005md-4n@stork.gentoo.org
1 aballier 08/10/07 05:58:40
2
3 Modified: ChangeLog
4 Added: x264-0.0.20081006.ebuild
5 Log:
6 Add new snapshot
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26.5 x86_64)
8
9 Revision Changes Path
10 1.6 media-libs/x264/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.6&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.6&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?r1=1.5&r2=1.6
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v
19 retrieving revision 1.5
20 retrieving revision 1.6
21 diff -u -r1.5 -r1.6
22 --- ChangeLog 22 Aug 2008 11:27:29 -0000 1.5
23 +++ ChangeLog 7 Oct 2008 05:58:39 -0000 1.6
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.5 2008/08/22 11:27:29 yngwin Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.6 2008/10/07 05:58:39 aballier Exp $
29 +
30 +*x264-0.0.20081006 (07 Oct 2008)
31 +
32 + 07 Oct 2008; Alexis Ballier <aballier@g.o>
33 + +x264-0.0.20081006.ebuild:
34 + Add new snapshot
35
36 *x264-0.0.20080819 (22 Aug 2008)
37
38
39
40
41 1.1 media-libs/x264/x264-0.0.20081006.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20081006.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20081006.ebuild?rev=1.1&content-type=text/plain
45
46 Index: x264-0.0.20081006.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-libs/x264/x264-0.0.20081006.ebuild,v 1.1 2008/10/07 05:58:39 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 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="debug +threads"
64
65 RDEPEND=""
66 DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 )
67 x86? ( >=dev-lang/yasm-0.6.2 )
68 x86-fbsd? ( >=dev-lang/yasm-0.6.2 )"
69
70 S="${WORKDIR}/${MY_P}"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75 epatch "${FILESDIR}/${PN}-nostrip.patch"
76 epatch "${FILESDIR}/${PN}-onlylib-20080406.patch"
77 }
78
79 src_compile() {
80 local myconf=""
81 use debug && myconf="${myconf} --enable-debug"
82 ./configure --prefix=/usr \
83 --libdir=/usr/$(get_libdir) \
84 --enable-pic --enable-shared \
85 "--extra-cflags=${CFLAGS}" \
86 "--extra-ldflags=${LDFLAGS}" \
87 "--extra-asflags=${ASFLAGS}" \
88 $(use_enable threads pthread) \
89 ${myconf} \
90 --disable-mp4-output \
91 || die "configure failed"
92 emake CC="$(tc-getCC)" || die "make failed"
93 }
94
95 src_install() {
96 make DESTDIR="${D}" install || die
97 dodoc AUTHORS doc/*.txt
98 }
99
100 pkg_postinst() {
101 elog "Please note that this package now only installs"
102 elog "${PN} libraries. In order to have the encoder,"
103 elog "please emerge media-video/x264-encoder."
104 }