summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-07-11 18:51:28 -0400
committerMatt Turner <mattst88@gmail.com>2011-07-11 18:51:28 -0400
commit96018e1d234e73fbfa45375e266616af46491fbf (patch)
treef733a6337ae2a7871877e08486f708bc335602cc
parentremove sys-devel/gcc symlink (diff)
downloadloongson-96018e1d234e73fbfa45375e266616af46491fbf.tar.gz
loongson-96018e1d234e73fbfa45375e266616af46491fbf.tar.bz2
loongson-96018e1d234e73fbfa45375e266616af46491fbf.zip
remove media-libs/libmad
Changes are available in portage, although libmad still doesn't work properly, even with them. See bug 346521 Signed-off-by: Matt Turner <mattst88@gmail.com>
-rw-r--r--media-libs/libmad/ChangeLog206
-rw-r--r--media-libs/libmad/Manifest8
-rw-r--r--media-libs/libmad/files/libmad-0.15.1b-cflags-O2.patch12
-rw-r--r--media-libs/libmad/files/libmad-0.15.1b-cflags.patch146
-rw-r--r--media-libs/libmad/files/libmad-gcc4.4.patch18
-rw-r--r--media-libs/libmad/files/mad.pc11
-rw-r--r--media-libs/libmad/libmad-0.15.1b-r5.ebuild68
-rw-r--r--media-libs/libmad/metadata.xml9
8 files changed, 0 insertions, 478 deletions
diff --git a/media-libs/libmad/ChangeLog b/media-libs/libmad/ChangeLog
deleted file mode 100644
index 99be863..0000000
--- a/media-libs/libmad/ChangeLog
+++ /dev/null
@@ -1,206 +0,0 @@
-# ChangeLog for media-libs/libmad
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmad/ChangeLog,v 1.54 2008/04/18 21:14:50 flameeyes Exp $
-
-*libmad-0.15.1b-r5 (18 Apr 2008)
-
- 18 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
- +libmad-0.15.1b-r5.ebuild:
- Revision bump to drop libtool .la files.
-
-*libmad-0.15.1b-r4 (06 Aug 2007)
-
- 06 Aug 2007; Ryan Hill <dirtyepic@gentoo.org> libmad-0.15.1b-r3.ebuild,
- +libmad-0.15.1b-r4.ebuild:
- Revision bump. Use 64bit fixed-point math routines on ppc64 to prevent
- high-pitched noise during playback. Remove fstrict-aliasing conditional.
- Drop ppc64 keyword from -r3. Thanks to Chainsaw for reporting and testing.
-
- 01 Jul 2007; Ryan Hill <dirtyepic@gentoo.org>
- files/libmad-0.15.1b-cflags.patch, +files/libmad-0.15.1b-cflags-O2.patch,
- libmad-0.15.1b-r3.ebuild:
- Restore CFLAGS patch for -r2 and add new patch for -r3.
-
-*libmad-0.15.1b-r3 (01 Jul 2007)
-
- 01 Jul 2007; Ryan Hill <dirtyepic@gentoo.org>
- files/libmad-0.15.1b-cflags.patch, +libmad-0.15.1b-r3.ebuild:
- Fix CFLAGS patch to cover a case that was missed. Thanks to Sebastian in bug
- #123215.
-
- 14 Jun 2007; Raúl Porcel <armin76@gentoo.org> libmad-0.15.1b-r2.ebuild:
- alpha stable wrt #163113
-
- 26 Mar 2007; Raúl Porcel <armin76@gentoo.org> libmad-0.15.1b-r2.ebuild:
- ia64 stable wrt bug 163113
-
- 23 Jan 2007; nixnut <nixnut@gentoo.org> libmad-0.15.1b-r2.ebuild:
- Stable on ppc wrt bug 163113
-
- 23 Jan 2007; Steve Dibb <beandog@gentoo.org> libmad-0.15.1b-r2.ebuild:
- amd64 stable, bug 163113
-
- 23 Jan 2007; Jeroen Roovers <jer@gentoo.org> libmad-0.15.1b-r2.ebuild:
- Stable for HPPA (bug #163113).
-
- 22 Jan 2007; Markus Rothe <corsair@gentoo.org> libmad-0.15.1b-r2.ebuild:
- Stable on ppc64; bug #163113
-
- 22 Jan 2007; Gustavo Zacarias <gustavoz@gentoo.org>
- libmad-0.15.1b-r2.ebuild:
- Stable on sparc wrt #163113
-
- 22 Jan 2007; Christian Faulhammer <opfer@gentoo.org>
- libmad-0.15.1b-r2.ebuild:
- stable x86, bug #163113
-
- 21 Jan 2007; Diego Pettenò <flameeyes@gentoo.org>
- -libmad-0.15.1b-r1.ebuild:
- Remove old version.
-
-*libmad-0.15.1b-r2 (05 Oct 2006)
-
- 05 Oct 2006; Diego Pettenò <flameeyes@gentoo.org>
- +libmad-0.15.1b-r2.ebuild:
- Use fixed point math depending on arch. Thanks to scott for suggestion in
- bug #141544.
-
- 04 Oct 2006; Fabian Groffen <grobian@gentoo.org> libmad-0.15.1b.ebuild,
- libmad-0.15.1b-r1.ebuild:
- Dropped ~ppc-macos, see you in prefix.
-
- 05 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> libmad-0.15.1b.ebuild,
- libmad-0.15.1b-r1.ebuild:
- Append -fno-strict-aliasing on PPC. Thanks to Andy Botting for reporting,
- and for Andreas Arens and Joe Jezak for testing in bug #140422.
-
- 24 Sep 2006; Diego Pettenò <flameeyes@gentoo.org>
- libmad-0.15.1b-r1.ebuild:
- Force latest version of autotools, thanks to Seemant for reporting.
-
- 28 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
- -libmad-0.15.0b-r1.ebuild:
- Remove old version.
-
- 16 Jul 2006; <psi29a@gentoo.org> libmad-0.15.1b.ebuild:
- stable on mips
-
- 06 May 2006; Diego Pettenò <flameeyes@gentoo.org>
- libmad-0.15.1b-r1.ebuild:
- Add ~x86-fbsd keyword and move epunt_cxx after eautoreconf.
-
-*libmad-0.15.1b-r1 (10 Mar 2006)
-
- 10 Mar 2006; Patrick McLean <chutzpah@gentoo.org>
- +files/libmad-0.15.1b-cflags.patch, +libmad-0.15.1b-r1.ebuild:
- Revision bump. Add patch to make libmad use the system CFLAGS rather than
- adding it's own optimization flags. Based on the patch by Ryan Hill in
- bug #123215.
-
- 06 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
- libmad-0.15.0b-r1.ebuild:
- Drop virtual/libc dependency.
-
- 02 Oct 2005; Hardave Riar <hardave@gentoo.org> libmad-0.15.1b.ebuild:
- Keyworded ~mips
-
- 01 Jun 2005; Herbie Hopkins <herbs@gentoo.org> libmad-0.15.1b.ebuild:
- Use correct libdir in pkgconfig file.
-
- 14 Apr 2005; Stephen P. Becker <geoman@gentoo.org>
- libmad-0.15.0b-r1.ebuild, libmad-0.15.1b.ebuild:
- changed to -mips keywords
-
- 05 Feb 2005; Michael Hanselmann <hansmi@gentoo.org> libmad-0.15.1b.ebuild:
- Stable on ppc.
-
- 11 Jan 2005; Mike Frysinger <vapier@gentoo.org> libmad-0.15.1b.ebuild:
- Disable C++ checks #74490.
-
- 31 Dec 2004; Jeremy Huddleston <eradicator@gentoo.org>
- libmad-0.15.1b.ebuild:
- Changed to 'use sparc' over the PROFILE_ARCH sparc64 for borked audio
- workaround on sparc.
-
- 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
- Change encoding to UTF-8 for GLEP 31 compliance
-
- 17 Nov 2004; Jeremy Huddleston <eradicator@gentoo.org>
- libmad-0.15.0b-r1.ebuild, libmad-0.15.1b.ebuild:
- Readded debug to IUSE.
-
- 06 Oct 2004; Jeremy Huddleston <eradicator@gentoo.org>
- libmad-0.15.1b.ebuild:
- get_libdir fixes.
-
- 22 Jul 2004; Mamoru KOMACHI <usata@gentoo.org> libmad-0.15.1b.ebuild:
- Added to macos. See bug #57448
-
- 14 Jul 2004; Bryan Østergaard <kloeri@gentoo.org> libmad-0.15.1b.ebuild:
- Stable on alpha.
-
- 01 Jul 2004; Jeremy Huddleston <eradicator@gentoo.org>
- libmad-0.15.0b-r1.ebuild, libmad-0.15.1b.ebuild:
- virtual/glibc -> virtual/libc
-
- 20 Jun 2004; Tom Gall <tgall@gentoo.org> libmad-0.15.1b.ebuild:
- stable on ppc64
-
- 26 Apr 2004; Stephen P. Becker <geoman@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Marked stable on mips.
-
- 21 Apr 2004; Guy Martin <gmsoft@gentoo.org> libmad-0.15.1b.ebuild:
- Marked stable on hppa.
-
- 29 Mar 2004; Jason Wever <weeve@gentoo.org> libmad-0.15.1b.ebuild:
- Stable on sparc.
-
- 29 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> libmad-0.15.1b.ebuild:
- fix for b0rked sound on sparc
-
- 26 Mar 2004; Jeremy Huddleston <eradicator@gentoo.org>
- libmad-0.15.0b-r1.ebuild, libmad-0.15.1b.ebuild:
- Bump to stable. remove cruft.
-
-*libmad-0.15.1b (18 Feb 2004)
-
- 18 Feb 2004; Martin Holzer <mholzer@gentoo.org> libmad-0.15.1b.ebuild:
- Version bumped.
-
- 16 Jan 2004; Martin Guy <gmsoft@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Marked stable on hppa.
-
- 10 Jan 2004; Aron Griffis <agriffis@gentoo.org> libmad-0.15.0b-r1.ebuild:
- stable on alpha and ia64
-
- 20 Nov 2003; Luca Barbato <lu_zero@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Marked ppc
-
-*libmad-0.15.0b-r1 (03 Sep 2003)
-
- 04 Nov 2003; Joshua Kinard <kumba@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Added ~mips to KEYWORDS
-
- 16 Sep 2003; Jason Wever <weeve@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Marked stable for sparc.
-
- 07 Sep 2003; Caleb Tennis <caleb@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Marked as x86 stable as KDE (arts) depends on it.
-
- 03 Sep 2003; Brandon Low <lostlogic@gentoo.org> libmad-0.15.0b-r1.ebuild:
- Add a speedup patgch this is experimental, see how it goes for you
-
- 19 Jul 2003; Nick Hadaway <raker@gentoo.org> libmad-0.15.0b.ebuild:
- Added lotsa arch's, changed so mad is not conflicting and some other
- cleanup and beautification.
-
- 18 Jul 2003; Luca Barbato <lu_zero@gentoo.org> libmad-0.15.0b.ebuild:
- Added keyword ~ppc
-
-*libmad-0.15.0b (17 Jul 2003)
-
- 17 Jul 2003; Nick Hadaway <raker@gentoo.org> libmad-0.15.0b.ebuild:
- New ebuild. Conflicts with media-sound/mad as this does not contain
- any userland binaries but just a library. libmad will most likely
- replace mad in the near future as this is the newer code base. Also
- added and updated /usr/lib/pkgconfig/mad.pc
diff --git a/media-libs/libmad/Manifest b/media-libs/libmad/Manifest
deleted file mode 100644
index b7cacc2..0000000
--- a/media-libs/libmad/Manifest
+++ /dev/null
@@ -1,8 +0,0 @@
-AUX libmad-0.15.1b-cflags-O2.patch 347 RMD160 a2a0059dc8fb2c8f526a09fc250b5c16907e687a SHA1 334c2e88e180d8d4757934973f32f3ac270744bf SHA256 197bd69c064ba2957b23d83509c9fdc63c5315076fdf8c98dbc9eccd3ff236ca
-AUX libmad-0.15.1b-cflags.patch 4867 RMD160 9103cec98f6dc746fd05e385159484098c6347b3 SHA1 e6e8c0de26ed6ef6ccfb6d1ea6e8b682695e1144 SHA256 0d92977b30b599be8d423e9bec39c0f76b9dbc0f38dbc98a397394c30e28243e
-AUX libmad-gcc4.4.patch 518 RMD160 17e968d4c8a6998a948be891ac3194733b295537 SHA1 a9fce08566baafa65a2cc42cbca16492b4802ca7 SHA256 3080559e0b703f81c43f1126942afa8f704c600ddc694e1809f60473a9f15f28
-AUX mad.pc 211 RMD160 fd821f10ff5e1f43a4f166229bebebd9f78a2a4c SHA1 c119a0ac710c4a3255fc643ca60c9107a31e3e7c SHA256 821918a6be761d7b8a697af951e4a9a5d2e48920cd80c9b6b9fa19d78afcf3b3
-DIST libmad-0.15.1b.tar.gz 502379 RMD160 0f3415ee10b188681e282ca69dec74c46ca73b0f SHA1 cac19cd00e1a907f3150cc040ccc077783496d76 SHA256 bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690
-EBUILD libmad-0.15.1b-r5.ebuild 2004 RMD160 dad9f2efb1bec3699bf4ad40c7d11757b1945c40 SHA1 4fddd2ccd2cfa5fbbacdffddd5a8c2bfc1074537 SHA256 fff3d024b2c396702f077dfed90a2218c6f76f15d6da29629df0de680112e6a0
-MISC ChangeLog 7208 RMD160 70bd57537fbcf6df4681251d451a7caf8d9422d7 SHA1 6b28d1faf786be4b8eb7ac2d0e235126d10117c7 SHA256 cb2d44c49fb2b640f3195a7e4e5d986c40ab8856b2508030d5f2fdf807ad8d55
-MISC metadata.xml 252 RMD160 68406e733c1a9f26b7ab37e79ab53b3f59305b3a SHA1 6e5cc1551616801a2f257d688e6fc286044c3499 SHA256 5ab00710d822d203a1a38e1b6a9754137de4fe2cf5c4e79470419ed3f3927450
diff --git a/media-libs/libmad/files/libmad-0.15.1b-cflags-O2.patch b/media-libs/libmad/files/libmad-0.15.1b-cflags-O2.patch
deleted file mode 100644
index 61b4b13..0000000
--- a/media-libs/libmad/files/libmad-0.15.1b-cflags-O2.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur libmad-0.15.1b-orig/configure.ac libmad-0.15.1b/configure.ac
---- libmad-0.15.1b-orig/configure.ac 2007-07-01 12:58:13.000000000 -0600
-+++ libmad-0.15.1b/configure.ac 2007-07-01 12:59:13.000000000 -0600
-@@ -105,7 +105,7 @@
- shift
- ;;
- -O2)
-- optimize="-O"
-+ optimize="-O2"
- shift
- ;;
- -fomit-frame-pointer)
diff --git a/media-libs/libmad/files/libmad-0.15.1b-cflags.patch b/media-libs/libmad/files/libmad-0.15.1b-cflags.patch
deleted file mode 100644
index 2ec44e3..0000000
--- a/media-libs/libmad/files/libmad-0.15.1b-cflags.patch
+++ /dev/null
@@ -1,146 +0,0 @@
-diff -Naur libmad-0.15.1b-orig/configure.ac libmad-0.15.1b/configure.ac
---- libmad-0.15.1b-orig/configure.ac 2007-06-30 20:22:31.000000000 -0600
-+++ libmad-0.15.1b/configure.ac 2007-06-30 20:25:31.000000000 -0600
-@@ -122,74 +122,74 @@
- esac
- done
-
--if test "$GCC" = yes
--then
-- if test -z "$arch"
-- then
-- case "$host" in
-- i386-*) ;;
-- i?86-*) arch="-march=i486" ;;
-- arm*-empeg-*) arch="-march=armv4 -mtune=strongarm1100" ;;
-- armv4*-*) arch="-march=armv4 -mtune=strongarm" ;;
-- powerpc-*) ;;
-- mips*-agenda-*) arch="-mcpu=vr4100" ;;
-- mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
-- esac
-- fi
--
-- case "$optimize" in
-- -O|"-O "*)
-- optimize="-O"
-- optimize="$optimize -fforce-mem"
-- optimize="$optimize -fforce-addr"
-- : #x optimize="$optimize -finline-functions"
-- : #- optimize="$optimize -fstrength-reduce"
-- optimize="$optimize -fthread-jumps"
-- optimize="$optimize -fcse-follow-jumps"
-- optimize="$optimize -fcse-skip-blocks"
-- : #x optimize="$optimize -frerun-cse-after-loop"
-- : #x optimize="$optimize -frerun-loop-opt"
-- : #x optimize="$optimize -fgcse"
-- optimize="$optimize -fexpensive-optimizations"
-- optimize="$optimize -fregmove"
-- : #* optimize="$optimize -fdelayed-branch"
-- : #x optimize="$optimize -fschedule-insns"
-- optimize="$optimize -fschedule-insns2"
-- : #? optimize="$optimize -ffunction-sections"
-- : #? optimize="$optimize -fcaller-saves"
-- : #> optimize="$optimize -funroll-loops"
-- : #> optimize="$optimize -funroll-all-loops"
-- : #x optimize="$optimize -fmove-all-movables"
-- : #x optimize="$optimize -freduce-all-givs"
-- : #? optimize="$optimize -fstrict-aliasing"
-- : #* optimize="$optimize -fstructure-noalias"
--
-- case "$host" in
-- arm*-*)
-- optimize="$optimize -fstrength-reduce"
-- ;;
-- mips*-*)
-- optimize="$optimize -fstrength-reduce"
-- optimize="$optimize -finline-functions"
-- ;;
-- i?86-*)
-- optimize="$optimize -fstrength-reduce"
-- ;;
-- powerpc-apple-*)
-- # this triggers an internal compiler error with gcc2
-- : #optimize="$optimize -fstrength-reduce"
--
-- # this is really only beneficial with gcc3
-- : #optimize="$optimize -finline-functions"
-- ;;
-- *)
-- # this sometimes provokes bugs in gcc 2.95.2
-- : #optimize="$optimize -fstrength-reduce"
-- ;;
-- esac
-- ;;
-- esac
--fi
-+#if test "$GCC" = yes
-+#then
-+# if test -z "$arch"
-+# then
-+# case "$host" in
-+# i386-*) ;;
-+# i?86-*) arch="-march=i486" ;;
-+# arm*-empeg-*) arch="-march=armv4 -mtune=strongarm1100" ;;
-+# armv4*-*) arch="-march=armv4 -mtune=strongarm" ;;
-+# powerpc-*) ;;
-+# mips*-agenda-*) arch="-mcpu=vr4100" ;;
-+# mips*-luxsonor-*) arch="-mips1 -mcpu=r3000 -Wa,-m4010" ;;
-+# esac
-+# fi
-+#
-+# case "$optimize" in
-+# -O|"-O "*)
-+# optimize="-O"
-+# optimize="$optimize -fforce-mem"
-+# optimize="$optimize -fforce-addr"
-+# : #x optimize="$optimize -finline-functions"
-+# : #- optimize="$optimize -fstrength-reduce"
-+# optimize="$optimize -fthread-jumps"
-+# optimize="$optimize -fcse-follow-jumps"
-+# optimize="$optimize -fcse-skip-blocks"
-+# : #x optimize="$optimize -frerun-cse-after-loop"
-+# : #x optimize="$optimize -frerun-loop-opt"
-+# : #x optimize="$optimize -fgcse"
-+# optimize="$optimize -fexpensive-optimizations"
-+# optimize="$optimize -fregmove"
-+# : #* optimize="$optimize -fdelayed-branch"
-+# : #x optimize="$optimize -fschedule-insns"
-+# optimize="$optimize -fschedule-insns2"
-+# : #? optimize="$optimize -ffunction-sections"
-+# : #? optimize="$optimize -fcaller-saves"
-+# : #> optimize="$optimize -funroll-loops"
-+# : #> optimize="$optimize -funroll-all-loops"
-+# : #x optimize="$optimize -fmove-all-movables"
-+# : #x optimize="$optimize -freduce-all-givs"
-+# : #? optimize="$optimize -fstrict-aliasing"
-+# : #* optimize="$optimize -fstructure-noalias"
-+#
-+# case "$host" in
-+# arm*-*)
-+# optimize="$optimize -fstrength-reduce"
-+# ;;
-+# mips*-*)
-+# optimize="$optimize -fstrength-reduce"
-+# optimize="$optimize -finline-functions"
-+# ;;
-+# i?86-*)
-+# optimize="$optimize -fstrength-reduce"
-+# ;;
-+# powerpc-apple-*)
-+# # this triggers an internal compiler error with gcc2
-+# : #optimize="$optimize -fstrength-reduce"
-+#
-+# # this is really only beneficial with gcc3
-+# : #optimize="$optimize -finline-functions"
-+# ;;
-+# *)
-+# # this sometimes provokes bugs in gcc 2.95.2
-+# : #optimize="$optimize -fstrength-reduce"
-+# ;;
-+# esac
-+# ;;
-+# esac
-+#fi
-
- case "$host" in
- mips*-agenda-*)
diff --git a/media-libs/libmad/files/libmad-gcc4.4.patch b/media-libs/libmad/files/libmad-gcc4.4.patch
deleted file mode 100644
index b768218..0000000
--- a/media-libs/libmad/files/libmad-gcc4.4.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-diff --git a/fixed.h b/fixed.h
-index 4b58abf..1764290 100644
---- a/fixed.h
-+++ b/fixed.h
-@@ -304,9 +304,10 @@ mad_fixed_t mad_f_mul_inline(mad_fixed_t x, mad_fixed_t y)
- * significant bit depends on OPT_ACCURACY via mad_f_scale64().
- */
- # define MAD_F_MLX(hi, lo, x, y) \
-- asm ("mult %2,%3" \
-- : "=l" (lo), "=h" (hi) \
-- : "%r" (x), "r" (y))
-+ do { \
-+ hi = ((long long) x * y) >> 32; \
-+ lo = x * y; \
-+ } while (0)
-
- # if defined(HAVE_MADD_ASM)
- # define MAD_F_MLA(hi, lo, x, y) \
diff --git a/media-libs/libmad/files/mad.pc b/media-libs/libmad/files/mad.pc
deleted file mode 100644
index 14a66f5..0000000
--- a/media-libs/libmad/files/mad.pc
+++ /dev/null
@@ -1,11 +0,0 @@
-prefix=/usr
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
-includedir=${prefix}/include
-
-Name: mad
-Description: MPEG Audio Decoder
-Requires:
-Version: 0.15.0b
-Libs: -L${libdir} -lmad -lm
-Cflags: -I${includedir}
diff --git a/media-libs/libmad/libmad-0.15.1b-r5.ebuild b/media-libs/libmad/libmad-0.15.1b-r5.ebuild
deleted file mode 100644
index f4121d4..0000000
--- a/media-libs/libmad/libmad-0.15.1b-r5.ebuild
+++ /dev/null
@@ -1,68 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $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 $
-
-inherit eutils autotools libtool flag-o-matic
-
-DESCRIPTION="\"M\"peg \"A\"udio \"D\"ecoder library"
-HOMEPAGE="http://mad.sourceforge.net"
-SRC_URI="mirror://sourceforge/mad/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="debug"
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/libmad-gcc4.4.patch"
- epatch "${FILESDIR}/libmad-0.15.1b-cflags.patch"
- epatch "${FILESDIR}/libmad-0.15.1b-cflags-O2.patch"
-
- eautoreconf
-
- elibtoolize
- epunt_cxx #74490
-}
-
-src_compile() {
- local myconf="--enable-accuracy"
- # --enable-speed optimize for speed over accuracy
- # --enable-accuracy optimize for accuracy over speed
- # --enable-experimental enable code using the EXPERIMENTAL
- # preprocessor define
-
- # Fix for b0rked sound on sparc64 (maybe also sparc32?)
- # default/approx is also possible, uses less cpu but sounds worse
- use sparc && myconf="${myconf} --enable-fpm=64bit"
-
- [[ $(tc-arch) == "amd64" ]] && myconf="${myconf} --enable-fpm=64bit"
- [[ $(tc-arch) == "x86" ]] && myconf="${myconf} --enable-fpm=intel"
- [[ $(tc-arch) == "ppc" ]] && myconf="${myconf} --enable-fpm=ppc"
- [[ $(tc-arch) == "ppc64" ]] && myconf="${myconf} --enable-fpm=64bit"
-
- econf \
- $(use_enable debug debugging) \
- ${myconf} || die "configure failed"
- emake || die "make failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" || die "make install failed"
-
- dodoc CHANGES CREDITS README TODO VERSION
-
- # This file must be updated with each version update
- insinto /usr/$(get_libdir)/pkgconfig
- doins "${FILESDIR}"/mad.pc
-
- # Use correct libdir in pkgconfig file
- dosed "s:^libdir.*:libdir=/usr/$(get_libdir):" \
- /usr/$(get_libdir)/pkgconfig/mad.pc
-
- find "${D}" -name '*.la' -delete
-}
diff --git a/media-libs/libmad/metadata.xml b/media-libs/libmad/metadata.xml
deleted file mode 100644
index 78ec7f6..0000000
--- a/media-libs/libmad/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sound</herd>
-<maintainer>
- <email>sound@gentoo.org</email>
- <name>Gentoo Sound Team</name>
-</maintainer>
-</pkgmetadata>