1 |
jer 10/11/09 17:01:53 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: libmad-0.15.1b-r7.ebuild |
5 |
Log: |
6 |
Fix white noise output for PPC (bug #288708). |
7 |
|
8 |
(Portage version: 2.1.9.24/cvs/Linux i686, RepoMan options: --force) |
9 |
|
10 |
Revision Changes Path |
11 |
1.62 media-libs/libmad/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmad/ChangeLog?rev=1.62&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmad/ChangeLog?rev=1.62&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmad/ChangeLog?r1=1.61&r2=1.62 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v |
20 |
retrieving revision 1.61 |
21 |
retrieving revision 1.62 |
22 |
diff -u -r1.61 -r1.62 |
23 |
--- ChangeLog 26 Oct 2010 09:12:43 -0000 1.61 |
24 |
+++ ChangeLog 9 Nov 2010 17:01:52 -0000 1.62 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-libs/libmad |
27 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.61 2010/10/26 09:12:43 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.62 2010/11/09 17:01:52 jer Exp $ |
30 |
+ |
31 |
+*libmad-0.15.1b-r7 (09 Nov 2010) |
32 |
+ |
33 |
+ 09 Nov 2010; Jeroen Roovers <jer@g.o> +libmad-0.15.1b-r7.ebuild: |
34 |
+ Fix white noise output for PPC (bug #288708). |
35 |
|
36 |
26 Oct 2010; Jeroen Roovers <jer@g.o> libmad-0.15.1b-r6.ebuild: |
37 |
Stable for HPPA (bug #338665). |
38 |
|
39 |
|
40 |
|
41 |
1.1 media-libs/libmad/libmad-0.15.1b-r7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: libmad-0.15.1b-r7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2010 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/libmad-0.15.1b-r7.ebuild,v 1.1 2010/11/09 17:01:52 jer Exp $ |
51 |
|
52 |
inherit eutils autotools libtool flag-o-matic |
53 |
|
54 |
DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library" |
55 |
HOMEPAGE="http://mad.sourceforge.net" |
56 |
SRC_URI="mirror://sourceforge/mad/${P}.tar.gz" |
57 |
|
58 |
LICENSE="GPL-2" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="debug" |
62 |
|
63 |
DEPEND="" |
64 |
|
65 |
src_unpack() { |
66 |
unpack ${A} |
67 |
cd "${S}" |
68 |
|
69 |
epatch "${FILESDIR}"/libmad-0.15.1b-cflags.patch |
70 |
epatch "${FILESDIR}"/libmad-0.15.1b-cflags-O2.patch |
71 |
epatch "${FILESDIR}"/libmad-0.15.1b-gcc44-mips-h-constraint-removal.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=default" |
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 |
} |