Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/flac: ChangeLog flac-1.2.1-r1.ebuild
Date: Fri, 28 Sep 2007 13:12:40
Message-Id: E1IbFVb-0005Rc-U0@stork.gentoo.org
1 drac 07/09/28 13:03:55
2
3 Modified: ChangeLog
4 Added: flac-1.2.1-r1.ebuild
5 Log:
6 Fix TEXTRELs using patch from PaX Team from bug 193222 and while at it, attempt to clean up ebuild a bit. Revert last commit restoring elibtoolize for fbsd since eautoreconf allready does libtoolize.
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.122 media-libs/flac/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.122&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?rev=1.122&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/ChangeLog?r1=1.121&r2=1.122
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v
19 retrieving revision 1.121
20 retrieving revision 1.122
21 diff -u -r1.121 -r1.122
22 --- ChangeLog 26 Sep 2007 16:30:59 -0000 1.121
23 +++ ChangeLog 28 Sep 2007 13:03:55 -0000 1.122
24 @@ -1,6 +1,14 @@
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.121 2007/09/26 16:30:59 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/flac/ChangeLog,v 1.122 2007/09/28 13:03:55 drac Exp $
29 +
30 +*flac-1.2.1-r1 (28 Sep 2007)
31 +
32 + 28 Sep 2007; Samuli Suominen <drac@g.o>
33 + +files/flac-1.2.1-asm.patch, +flac-1.2.1-r1.ebuild:
34 + Fix TEXTRELs using patch from PaX Team from bug 193222 and while at it,
35 + attempt to clean up ebuild a bit. Revert last commit restoring elibtoolize
36 + for fbsd since eautoreconf allready does libtoolize.
37
38 26 Sep 2007; Raúl Porcel <armin76@g.o> flac-1.1.4.ebuild:
39 alpha/ia64 stable wrt #191280
40
41
42
43 1.1 media-libs/flac/flac-1.2.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/flac/flac-1.2.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: flac-1.2.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/flac/flac-1.2.1-r1.ebuild,v 1.1 2007/09/28 13:03:55 drac Exp $
53
54 inherit autotools eutils
55
56 DESCRIPTION="free lossless audio encoder and decoder"
57 HOMEPAGE="http://flac.sourceforge.net"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2 LGPL-2"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
63 IUSE="3dnow altivec debug doc ogg sse"
64
65 RDEPEND="ogg? ( >=media-libs/libogg-1.1.3 )"
66 DEPEND="${RDEPEND}
67 x86? ( dev-lang/nasm )
68 sys-apps/gawk
69 sys-devel/gettext
70 dev-util/pkgconfig"
71
72 src_unpack() {
73 unpack ${A}
74 cd "${S}"
75
76 # Stop using upstream CFLAGS. Fix building with
77 # ldflag asneeded on non glibc systems. Fix
78 # broken asm causing text relocations.
79 epatch "${FILESDIR}"/${P}-asneeded.patch
80 epatch "${FILESDIR}"/${P}-cflags.patch
81 epatch "${FILESDIR}"/${P}-asm.patch
82
83 AT_M4DIR="m4" eautoreconf
84 }
85
86 src_compile() {
87 econf $(use_enable ogg) \
88 $(use_enable sse) \
89 $(use_enable 3dnow) \
90 $(use_enable altivec) \
91 $(use_enable debug) \
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