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/flac: ChangeLog flac-1.2.1-r2.ebuild
Date: Sun, 18 Nov 2007 19:22:21
Message-Id: E1Itpii-0004HZ-Ln@stork.gentoo.org
1 aballier 07/11/18 19:22:16
2
3 Modified: ChangeLog
4 Added: flac-1.2.1-r2.ebuild
5 Log:
6 Make FLAC++ optional, enabled by default thanks to EAPI=1
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.133 media-libs/flac/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.133&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.133&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?r1=1.132&r2=1.133
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v
19 retrieving revision 1.132
20 retrieving revision 1.133
21 diff -u -r1.132 -r1.133
22 --- ChangeLog 1 Nov 2007 19:07:17 -0000 1.132
23 +++ ChangeLog 18 Nov 2007 19:22:16 -0000 1.133
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-libs/flac
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.132 2007/11/01 19:07:17 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.133 2007/11/18 19:22:16 aballier Exp $
29 +
30 +*flac-1.2.1-r2 (18 Nov 2007)
31 +
32 + 18 Nov 2007; Alexis Ballier <aballier@g.o> +flac-1.2.1-r2.ebuild:
33 + Make FLAC++ optional, enabled by default thanks to EAPI=1
34
35 01 Nov 2007; Raúl Porcel <armin76@g.o> flac-1.2.1-r1.ebuild:
36 sparc stable, thanks to Alex Maclean for testing
37
38
39
40 1.1 media-libs/flac/flac-1.2.1-r2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: flac-1.2.1-r2.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r2.ebuild,v 1.1 2007/11/18 19:22:16 aballier Exp $
50
51 EAPI="1"
52
53 inherit autotools eutils
54
55 DESCRIPTION="free lossless audio encoder and decoder"
56 HOMEPAGE="http://flac.sourceforge.net"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
58
59 LICENSE="GPL-2 LGPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="3dnow altivec +cxx debug doc ogg sse"
63
64 RDEPEND="ogg? ( >=media-libs/libogg-1.1.3 )"
65 DEPEND="${RDEPEND}
66 x86? ( dev-lang/nasm )
67 sys-apps/gawk
68 sys-devel/gettext
69 dev-util/pkgconfig"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74
75 # Stop using upstream CFLAGS. Fix building with
76 # ldflag asneeded on non glibc systems. Fix
77 # broken asm causing text relocations.
78 epatch "${FILESDIR}"/${P}-asneeded.patch
79 epatch "${FILESDIR}"/${P}-cflags.patch
80 epatch "${FILESDIR}"/${P}-asm.patch
81
82 AT_M4DIR="m4" eautoreconf
83 }
84
85 src_compile() {
86 econf $(use_enable ogg) \
87 $(use_enable sse) \
88 $(use_enable 3dnow) \
89 $(use_enable altivec) \
90 $(use_enable debug) \
91 $(use_enable cxx cpplibs) \
92 --disable-doxygen-docs \
93 --disable-dependency-tracking \
94 --disable-xmms-plugin
95
96 emake || die "emake failed."
97 }
98
99 src_install() {
100 emake DESTDIR="${D}" install || die "emake install failed."
101
102 rm -rf "${D}"/usr/share/doc/flac-1.2.1
103 dodoc AUTHORS README
104 use doc && dohtml -r doc/html/*
105 }
106
107
108
109 --
110 gentoo-commits@g.o mailing list