From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/x264: ChangeLog x264-0.0.20080819.ebuild |
Date: | Fri, 22 Aug 2008 11:27:34 |
Message-Id: | E1KWUnh-0006WK-II@stork.gentoo.org |
1 | yngwin 08/08/22 11:27:29 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-0.0.20080819.ebuild |
5 | Log: |
6 | New x264 snapshot |
7 | (Portage version: 2.2_rc8/cvs/Linux 2.6.26-hh1 i686) |
8 | |
9 | Revision Changes Path |
10 | 1.5 media-libs/x264/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/ChangeLog?r1=1.4&r2=1.5 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- ChangeLog 14 Apr 2008 22:24:52 -0000 1.4 |
23 | +++ ChangeLog 22 Aug 2008 11:27:29 -0000 1.5 |
24 | @@ -1,6 +1,11 @@ |
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.4 2008/04/14 22:24:52 yngwin Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264/ChangeLog,v 1.5 2008/08/22 11:27:29 yngwin Exp $ |
29 | + |
30 | +*x264-0.0.20080819 (22 Aug 2008) |
31 | + |
32 | + 22 Aug 2008; Ben de Groot <yngwin@g.o> +x264-0.0.20080819.ebuild: |
33 | + Version bump |
34 | |
35 | 14 Apr 2008; Ben de Groot <yngwin@g.o> x264-0.0.20080406.ebuild: |
36 | Fix typo |
37 | |
38 | |
39 | |
40 | 1.1 media-libs/x264/x264-0.0.20080819.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20080819.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264/x264-0.0.20080819.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: x264-0.0.20080819.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/media-libs/x264/x264-0.0.20080819.ebuild,v 1.1 2008/08/22 11:27:29 yngwin Exp $ |
50 | |
51 | EAPI="1" |
52 | inherit multilib eutils toolchain-funcs versionator |
53 | |
54 | MY_P="x264-snapshot-$(get_version_component_range 3)-2245" |
55 | |
56 | DESCRIPTION="A free library for encoding X264/AVC streams" |
57 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
58 | SRC_URI="ftp://ftp.videolan.org/pub/videolan/x264/snapshots/${MY_P}.tar.bz2" |
59 | SLOT="0" |
60 | LICENSE="GPL-2" |
61 | KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
62 | IUSE="debug +threads" |
63 | |
64 | RDEPEND="" |
65 | DEPEND="amd64? ( >=dev-lang/yasm-0.6.2 ) |
66 | x86? ( >=dev-lang/yasm-0.6.2 ) |
67 | x86-fbsd? ( >=dev-lang/yasm-0.6.2 )" |
68 | |
69 | S="${WORKDIR}/${MY_P}" |
70 | |
71 | src_unpack() { |
72 | unpack ${A} |
73 | cd "${S}" |
74 | epatch "${FILESDIR}/${PN}-nostrip.patch" |
75 | epatch "${FILESDIR}/${PN}-onlylib-20080406.patch" |
76 | } |
77 | |
78 | src_compile() { |
79 | local myconf="" |
80 | use debug && myconf="${myconf} --enable-debug" |
81 | ./configure --prefix=/usr \ |
82 | --libdir=/usr/$(get_libdir) \ |
83 | --enable-pic --enable-shared \ |
84 | "--extra-cflags=${CFLAGS}" \ |
85 | "--extra-ldflags=${LDFLAGS}" \ |
86 | "--extra-asflags=${ASFLAGS}" \ |
87 | $(use_enable threads pthread) \ |
88 | ${myconf} \ |
89 | --disable-mp4-output \ |
90 | || die "configure failed" |
91 | emake CC="$(tc-getCC)" || die "make failed" |
92 | } |
93 | |
94 | src_install() { |
95 | make DESTDIR="${D}" install || die |
96 | dodoc AUTHORS doc/*.txt |
97 | } |
98 | |
99 | pkg_postinst() { |
100 | elog "Please note that this package now only installs" |
101 | elog "${PN} libraries. In order to have the encoder," |
102 | elog "please emerge media-video/x264-encoder." |
103 | } |