From: | "Alexis Ballier (aballier)" <aballier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-libs/x264-svn: ChangeLog x264-svn-20080301.ebuild |
Date: | Sat, 01 Mar 2008 22:51:34 |
Message-Id: | E1JVaYF-0005pZ-9e@stork.gentoo.org |
1 | aballier 08/03/01 22:51:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: x264-svn-20080301.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.4.4) |
8 | |
9 | Revision Changes Path |
10 | 1.61 media-libs/x264-svn/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264-svn/ChangeLog?rev=1.61&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264-svn/ChangeLog?rev=1.61&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264-svn/ChangeLog?r1=1.60&r2=1.61 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v |
19 | retrieving revision 1.60 |
20 | retrieving revision 1.61 |
21 | diff -u -r1.60 -r1.61 |
22 | --- ChangeLog 5 Jan 2008 16:04:11 -0000 1.60 |
23 | +++ ChangeLog 1 Mar 2008 22:51:30 -0000 1.61 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for media-libs/x264-svn |
26 | # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.60 2008/01/05 16:04:11 ranger Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/media-libs/x264-svn/ChangeLog,v 1.61 2008/03/01 22:51:30 aballier Exp $ |
29 | + |
30 | +*x264-svn-20080301 (01 Mar 2008) |
31 | + |
32 | + 01 Mar 2008; Alexis Ballier <aballier@g.o> |
33 | + +x264-svn-20080301.ebuild: |
34 | + version bump |
35 | |
36 | 05 Jan 2008; Brent Baude <ranger@g.o> x264-svn-20070924.ebuild: |
37 | Marking x264-svn-20070924 ppc64 for bug 203443 |
38 | |
39 | |
40 | |
41 | 1.1 media-libs/x264-svn/x264-svn-20080301.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264-svn/x264-svn-20080301.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/x264-svn/x264-svn-20080301.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: x264-svn-20080301.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-svn/x264-svn-20080301.ebuild,v 1.1 2008/03/01 22:51:30 aballier Exp $ |
51 | |
52 | inherit multilib eutils toolchain-funcs |
53 | |
54 | IUSE="debug threads" |
55 | |
56 | DESCRIPTION="A free library for encoding X264/AVC streams." |
57 | HOMEPAGE="http://www.videolan.org/developers/x264.html" |
58 | SRC_URI="mirror://gentoo/${P}.tar.bz2" |
59 | |
60 | SLOT="0" |
61 | LICENSE="GPL-2" |
62 | KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
63 | |
64 | RDEPEND="" |
65 | |
66 | DEPEND="${RDEPEND} |
67 | amd64? ( >=dev-lang/yasm-0.6.0 ) |
68 | x86? ( || ( >=dev-lang/yasm-0.6.2 dev-lang/nasm ) ) |
69 | x86-fbsd? ( dev-lang/nasm )" |
70 | |
71 | # Block older than 0.6.2 versions of yasm |
72 | # It generates incorect pic code and will cause segfaults |
73 | # See http://www.tortall.net/projects/yasm/ticket/114 |
74 | DEPEND="${DEPEND} |
75 | x86? ( !<dev-lang/yasm-0.6.2 )" |
76 | |
77 | S="${WORKDIR}/${PN}" |
78 | |
79 | src_unpack() { |
80 | unpack ${A} |
81 | cd "${S}" |
82 | epatch "${FILESDIR}/${PN}-nostrip.patch" |
83 | epatch "${FILESDIR}/${PN}-onlylib.patch" |
84 | } |
85 | |
86 | src_compile() { |
87 | local myconf="" |
88 | use debug && myconf="${myconf} --enable-debug" |
89 | ./configure --prefix=/usr \ |
90 | --libdir=/usr/$(get_libdir) \ |
91 | --enable-pic --enable-shared \ |
92 | "--extra-cflags=${CFLAGS}" \ |
93 | "--extra-ldflags=${LDFLAGS}" \ |
94 | "--extra-asflags=${ASFLAGS}" \ |
95 | $(use_enable threads pthread) \ |
96 | ${myconf} \ |
97 | --disable-mp4-output \ |
98 | || die "configure failed" |
99 | emake CC="$(tc-getCC)" || die "make failed" |
100 | } |
101 | |
102 | src_install() { |
103 | make DESTDIR="${D}" install || die |
104 | dodoc AUTHORS |
105 | } |
106 | |
107 | pkg_postinst() { |
108 | elog "Please note that this package now only installs" |
109 | elog "${PN} libraries. In order to have the encoder," |
110 | elog "please emerge media-video/x264-svn-encoder" |
111 | } |
112 | |
113 | |
114 | |
115 | -- |
116 | gentoo-commits@l.g.o mailing list |