Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libmad: ChangeLog libmad-0.15.1b-r5.ebuild
Date: Fri, 18 Apr 2008 21:14:53
Message-Id: E1Jmxv1-00012V-6Q@stork.gentoo.org
1 flameeyes 08/04/18 21:14:51
2
3 Modified: ChangeLog
4 Added: libmad-0.15.1b-r5.ebuild
5 Log:
6 Revision bump to drop libtool .la files.
7 (Portage version: 2.1.5_rc4)
8
9 Revision Changes Path
10 1.54 media-libs/libmad/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmad/ChangeLog?rev=1.54&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmad/ChangeLog?rev=1.54&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmad/ChangeLog?r1=1.53&r2=1.54
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v
19 retrieving revision 1.53
20 retrieving revision 1.54
21 diff -u -r1.53 -r1.54
22 --- ChangeLog 6 Aug 2007 20:26:40 -0000 1.53
23 +++ ChangeLog 18 Apr 2008 21:14:50 -0000 1.54
24 @@ -1,6 +1,12 @@
25 # ChangeLog for media-libs/libmad
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.53 2007/08/06 20:26:40 dirtyepic Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.54 2008/04/18 21:14:50 flameeyes Exp $
30 +
31 +*libmad-0.15.1b-r5 (18 Apr 2008)
32 +
33 + 18 Apr 2008; Diego Pettenò <flameeyes@g.o>
34 + +libmad-0.15.1b-r5.ebuild:
35 + Revision bump to drop libtool .la files.
36
37 *libmad-0.15.1b-r4 (06 Aug 2007)
38
39
40
41
42 1.1 media-libs/libmad/libmad-0.15.1b-r5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libmad-0.15.1b-r5.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r5.ebuild,v 1.1 2008/04/18 21:14:50 flameeyes Exp $
52
53 inherit eutils autotools libtool flag-o-matic
54
55 DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
56 HOMEPAGE="http://mad.sourceforge.net"
57 SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="debug"
63
64 DEPEND=""
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69
70 epatch "${FILESDIR}/libmad-0.15.1b-cflags.patch"
71 epatch "${FILESDIR}/libmad-0.15.1b-cflags-O2.patch"
72
73 eautoreconf
74
75 elibtoolize
76 epunt_cxx #74490
77 }
78
79 src_compile() {
80 local myconf="--enable-accuracy"
81 # --enable-speed optimize for speed over accuracy
82 # --enable-accuracy optimize for accuracy over speed
83 # --enable-experimental enable code using the EXPERIMENTAL
84 # preprocessor define
85
86 # Fix for b0rked sound on sparc64 (maybe also sparc32?)
87 # default/approx is also possible, uses less cpu but sounds worse
88 use sparc && myconf="${myconf} --enable-fpm=64bit"
89
90 [[ $(tc-arch) == "amd64" ]] && myconf="${myconf} --enable-fpm=64bit"
91 [[ $(tc-arch) == "x86" ]] && myconf="${myconf} --enable-fpm=intel"
92 [[ $(tc-arch) == "ppc" ]] && myconf="${myconf} --enable-fpm=ppc"
93 [[ $(tc-arch) == "ppc64" ]] && myconf="${myconf} --enable-fpm=64bit"
94
95 econf \
96 $(use_enable debug debugging) \
97 ${myconf} || die "configure failed"
98 emake || die "make failed"
99 }
100
101 src_install() {
102 emake install DESTDIR="${D}" || die "make install failed"
103
104 dodoc CHANGES CREDITS README TODO VERSION
105
106 # This file must be updated with each version update
107 insinto /usr/$(get_libdir)/pkgconfig
108 doins "${FILESDIR}"/mad.pc
109
110 # Use correct libdir in pkgconfig file
111 dosed "s:^libdir.*:libdir=/usr/$(get_libdir):" \
112 /usr/$(get_libdir)/pkgconfig/mad.pc
113
114 find "${D}" -name '*.la' -delete
115 }
116
117
118
119 --
120 gentoo-commits@l.g.o mailing list