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