summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-07-19 23:23:07 +0200
committerThomas Sachau <tommy@gentoo.org>2009-07-19 23:23:07 +0200
commitb70fc3f11873f673315acae3a53734adde4ee7c3 (patch)
tree1da7cd3a3f7c2555ee45085cdcec9de31abc69af /media-sound
parentDrop media-sound/gsm (diff)
downloadmultilib-portage-b70fc3f11873f673315acae3a53734adde4ee7c3.tar.gz
multilib-portage-b70fc3f11873f673315acae3a53734adde4ee7c3.tar.bz2
multilib-portage-b70fc3f11873f673315acae3a53734adde4ee7c3.zip
Drop media-sound/lame
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/lame/Manifest7
-rw-r--r--media-sound/lame/files/lame-3.96-ccc.patch16
-rw-r--r--media-sound/lame/files/lame-3.98-gtk-path.patch199
-rw-r--r--media-sound/lame/files/lame-3.98-shared-frontend.patch24
-rw-r--r--media-sound/lame/files/lame-3.98.2-ffmpeg-0.5.patch86
-rw-r--r--media-sound/lame/lame-3.98.2-r1.ebuild86
-rw-r--r--media-sound/lame/lame-3.98.2.ebuild83
7 files changed, 0 insertions, 501 deletions
diff --git a/media-sound/lame/Manifest b/media-sound/lame/Manifest
deleted file mode 100644
index e1d6c4700..000000000
--- a/media-sound/lame/Manifest
+++ /dev/null
@@ -1,7 +0,0 @@
-AUX lame-3.96-ccc.patch 658 RMD160 c598ad66543cc63897e0212e220a436da563ee71 SHA1 1e291ea8dbde132a22760a5279abe624e2835fae SHA256 60f0a60a72711827222cbb2d934a285199a62f9899e84097f851a53c61c4e6dd
-AUX lame-3.98-gtk-path.patch 8606 RMD160 8bca3b986edf75853bfaee6837f9eb4832b664fa SHA1 dc77fbe83f167eeb3f77b6677a90765395b17de9 SHA256 0728822c0eb05b6dc70c0ae8e064c9be3b2a3448d10a53764397c70b7489a3b8
-AUX lame-3.98-shared-frontend.patch 1008 RMD160 8e12e752a325926e1376e45ffd3b72cac61ebf4a SHA1 af371fe673e42c4ba2e6e07255d6196d76d8ef79 SHA256 fb40bfb00e47964acbe0de428cc7a3e4b3a0e0ade120bf547891bf78031f6916
-AUX lame-3.98.2-ffmpeg-0.5.patch 2950 RMD160 71628a5b2d9ac7365ccbac3dbf3de7cea6006b5d SHA1 1f7c0a6c90bdc133921f999f1ed0855e95d39a5a SHA256 f9de77da233d81485463cf6c51a3b7ff21be78b17f7d91741532f9a9f5577500
-DIST lame-398-2.tar.gz 1327643 RMD160 767dd94271eef221170469535db2bf388149715a SHA1 b2db41dbc9c0824caa102e8c932b820c79ccd5ec SHA256 a17a28569d8ed1e514915c1f12bdf4eedac506e5fbdf9a429ba97d5d42c9af32
-EBUILD lame-3.98.2-r1.ebuild 2726 RMD160 2fa91828924b7865f7c426360372b55aa36a079d SHA1 28125c7b838a52fa7e9219c2eb1b9a472f4eaa6f SHA256 c0660cf4f6ce27d0f9ecc1c7a2add22e32f94280b690d7fdbe7cf1a9da5f4b23
-EBUILD lame-3.98.2.ebuild 2636 RMD160 4612a529ad55e2eb66972a2d7aa0cb19b74d36d8 SHA1 71deb751279cadb26ebf649fbaf327877b63bd31 SHA256 5766fcae3fdedc9f4642ef28bf00049cd43725556a223738cebab2a53560f932
diff --git a/media-sound/lame/files/lame-3.96-ccc.patch b/media-sound/lame/files/lame-3.96-ccc.patch
deleted file mode 100644
index 684782aa0..000000000
--- a/media-sound/lame/files/lame-3.96-ccc.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- lame-3.96/configure.in.ccc 2004-04-11 10:45:19.000000000 -0400
-+++ lame-3.96/configure.in 2004-07-26 18:32:21.000000000 -0400
-@@ -915,11 +915,9 @@
- alpha*-*-linux*)
-
- ################################################################
--#### Check if 'ccc' is in our path
-+#### Check if we're using Compaq's C Compiler: 'ccc'
- ################################################################
--if test "`which ccc 2>/dev/null | grep -c ccc`" != "0" ; then
-- # Compaq's C Compiler
-- CC=ccc
-+if test "`echo $CC | sed 's/.*\///'`" = ccc; then
-
- ################################################################
- #### set 'OPTIMIZATION = -arch host -tune host'
diff --git a/media-sound/lame/files/lame-3.98-gtk-path.patch b/media-sound/lame/files/lame-3.98-gtk-path.patch
deleted file mode 100644
index dc9bf4ef5..000000000
--- a/media-sound/lame/files/lame-3.98-gtk-path.patch
+++ /dev/null
@@ -1,199 +0,0 @@
-Index: gtk.m4
-===================================================================
---- gtk.m4.orig
-+++ gtk.m4
-@@ -0,0 +1,194 @@
-+# Configure paths for GTK+
-+# Owen Taylor 97-11-3
-+
-+dnl AM_PATH_GTK([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND [, MODULES]]]])
-+dnl Test for GTK, and define GTK_CFLAGS and GTK_LIBS
-+dnl
-+AC_DEFUN(AM_PATH_GTK,
-+[dnl
-+dnl Get the cflags and libraries from the gtk-config script
-+dnl
-+AC_ARG_WITH(gtk-prefix,[ --with-gtk-prefix=PFX Prefix where GTK is installed (optional)],
-+ gtk_config_prefix="$withval", gtk_config_prefix="")
-+AC_ARG_WITH(gtk-exec-prefix,[ --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)],
-+ gtk_config_exec_prefix="$withval", gtk_config_exec_prefix="")
-+AC_ARG_ENABLE(gtktest, [ --disable-gtktest Do not try to compile and run a test GTK program],
-+ , enable_gtktest=yes)
-+
-+ for module in . $4
-+ do
-+ case "$module" in
-+ gthread)
-+ gtk_config_args="$gtk_config_args gthread"
-+ ;;
-+ esac
-+ done
-+
-+ if test x$gtk_config_exec_prefix != x ; then
-+ gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
-+ if test x${GTK_CONFIG+set} != xset ; then
-+ GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
-+ fi
-+ fi
-+ if test x$gtk_config_prefix != x ; then
-+ gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
-+ if test x${GTK_CONFIG+set} != xset ; then
-+ GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
-+ fi
-+ fi
-+
-+ AC_PATH_PROG(GTK_CONFIG, gtk-config, no)
-+ min_gtk_version=ifelse([$1], ,0.99.7,$1)
-+ AC_MSG_CHECKING(for GTK - version >= $min_gtk_version)
-+ no_gtk=""
-+ if test "$GTK_CONFIG" = "no" ; then
-+ no_gtk=yes
-+ else
-+ GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
-+ GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
-+ gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
-+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
-+ gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
-+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'`
-+ gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
-+ sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'`
-+ if test "x$enable_gtktest" = "xyes" ; then
-+ ac_save_CFLAGS="$CFLAGS"
-+ ac_save_LIBS="$LIBS"
-+ CFLAGS="$CFLAGS $GTK_CFLAGS"
-+ LIBS="$GTK_LIBS $LIBS"
-+dnl
-+dnl Now check if the installed GTK is sufficiently new. (Also sanity
-+dnl checks the results of gtk-config to some extent
-+dnl
-+ rm -f conf.gtktest
-+ AC_TRY_RUN([
-+#include <gtk/gtk.h>
-+#include <stdio.h>
-+#include <stdlib.h>
-+
-+int
-+main ()
-+{
-+ int major, minor, micro;
-+ char *tmp_version;
-+
-+ system ("touch conf.gtktest");
-+
-+ /* HP/UX 9 (%@#!) writes to sscanf strings */
-+ tmp_version = g_strdup("$min_gtk_version");
-+ if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
-+ printf("%s, bad version string\n", "$min_gtk_version");
-+ exit(1);
-+ }
-+
-+ if ((gtk_major_version != $gtk_config_major_version) ||
-+ (gtk_minor_version != $gtk_config_minor_version) ||
-+ (gtk_micro_version != $gtk_config_micro_version))
-+ {
-+ printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
-+ $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
-+ gtk_major_version, gtk_minor_version, gtk_micro_version);
-+ printf ("*** was found! If gtk-config was correct, then it is best\n");
-+ printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
-+ printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
-+ printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
-+ printf("*** required on your system.\n");
-+ printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
-+ printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
-+ printf("*** before re-running configure\n");
-+ }
-+#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
-+ else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
-+ (gtk_minor_version != GTK_MINOR_VERSION) ||
-+ (gtk_micro_version != GTK_MICRO_VERSION))
-+ {
-+ printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
-+ GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
-+ printf("*** library (version %d.%d.%d)\n",
-+ gtk_major_version, gtk_minor_version, gtk_micro_version);
-+ }
-+#endif /* defined (GTK_MAJOR_VERSION) ... */
-+ else
-+ {
-+ if ((gtk_major_version > major) ||
-+ ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
-+ ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
-+ {
-+ return 0;
-+ }
-+ else
-+ {
-+ printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
-+ gtk_major_version, gtk_minor_version, gtk_micro_version);
-+ printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
-+ major, minor, micro);
-+ printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
-+ printf("***\n");
-+ printf("*** If you have already installed a sufficiently new version, this error\n");
-+ printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
-+ printf("*** being found. The easiest way to fix this is to remove the old version\n");
-+ printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
-+ printf("*** correct copy of gtk-config. (In this case, you will have to\n");
-+ printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
-+ printf("*** so that the correct libraries are found at run-time))\n");
-+ }
-+ }
-+ return 1;
-+}
-+],, no_gtk=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"])
-+ CFLAGS="$ac_save_CFLAGS"
-+ LIBS="$ac_save_LIBS"
-+ fi
-+ fi
-+ if test "x$no_gtk" = x ; then
-+ AC_MSG_RESULT(yes)
-+ ifelse([$2], , :, [$2])
-+ else
-+ AC_MSG_RESULT(no)
-+ if test "$GTK_CONFIG" = "no" ; then
-+ echo "*** The gtk-config script installed by GTK could not be found"
-+ echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
-+ echo "*** your path, or set the GTK_CONFIG environment variable to the"
-+ echo "*** full path to gtk-config."
-+ else
-+ if test -f conf.gtktest ; then
-+ :
-+ else
-+ echo "*** Could not run GTK test program, checking why..."
-+ CFLAGS="$CFLAGS $GTK_CFLAGS"
-+ LIBS="$LIBS $GTK_LIBS"
-+ AC_TRY_LINK([
-+#include <gtk/gtk.h>
-+#include <stdio.h>
-+], [ return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version)); ],
-+ [ echo "*** The test program compiled, but did not run. This usually means"
-+ echo "*** that the run-time linker is not finding GTK or finding the wrong"
-+ echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
-+ echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
-+ echo "*** to the installed location Also, make sure you have run ldconfig if that"
-+ echo "*** is required on your system"
-+ echo "***"
-+ echo "*** If you have an old version installed, it is best to remove it, although"
-+ echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
-+ echo "***"
-+ echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
-+ echo "*** came with the system with the command"
-+ echo "***"
-+ echo "*** rpm --erase --nodeps gtk gtk-devel" ],
-+ [ echo "*** The test program failed to compile or link. See the file config.log for the"
-+ echo "*** exact error that occured. This usually means GTK was incorrectly installed"
-+ echo "*** or that you have moved GTK since it was installed. In the latter case, you"
-+ echo "*** may want to edit the gtk-config script: $GTK_CONFIG" ])
-+ CFLAGS="$ac_save_CFLAGS"
-+ LIBS="$ac_save_LIBS"
-+ fi
-+ fi
-+ GTK_CFLAGS=""
-+ GTK_LIBS=""
-+ ifelse([$3], , :, [$3])
-+ fi
-+ AC_SUBST(GTK_CFLAGS)
-+ AC_SUBST(GTK_LIBS)
-+ rm -f conf.gtktest
-+])
diff --git a/media-sound/lame/files/lame-3.98-shared-frontend.patch b/media-sound/lame/files/lame-3.98-shared-frontend.patch
deleted file mode 100644
index abe96a339..000000000
--- a/media-sound/lame/files/lame-3.98-shared-frontend.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -ur lame-398.old/frontend/Makefile.am lame-398.new/frontend/Makefile.am
---- lame-398.old/frontend/Makefile.am 2006-09-30 11:17:05.000000000 +0200
-+++ lame-398.new/frontend/Makefile.am 2008-07-06 12:36:25.000000000 +0200
-@@ -52,7 +52,7 @@
- endif
-
- CFLAGS = @CFLAGS@ @GTK_CFLAGS@ @FRONTEND_CFLAGS@ @SNDFILE_CFLAGS@
--LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@ -static
-+LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@
-
- INCLUDES = -I$(top_srcdir)/libmp3lame -I$(top_srcdir)/include -I$(top_builddir)
-
-diff -ur lame-398.old/frontend/Makefile.in lame-398.new/frontend/Makefile.in
---- lame-398.old/frontend/Makefile.in 2008-06-25 14:17:51.000000000 +0200
-+++ lame-398.new/frontend/Makefile.in 2008-07-06 12:36:39.000000000 +0200
-@@ -152,7 +152,7 @@
- $(top_builddir)/libmp3lame/libmp3lame.la \
- @FRONTEND_LDADD@
-
--LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@ -static
-+LDFLAGS = @LDFLAGS@ @FRONTEND_LDFLAGS@ @SNDFILE_LIBS@
- LIBOBJS = @LIBOBJS@
- LIBS = @LIBS@
- LIBTOOL = @LIBTOOL@
diff --git a/media-sound/lame/files/lame-3.98.2-ffmpeg-0.5.patch b/media-sound/lame/files/lame-3.98.2-ffmpeg-0.5.patch
deleted file mode 100644
index 30528c7db..000000000
--- a/media-sound/lame/files/lame-3.98.2-ffmpeg-0.5.patch
+++ /dev/null
@@ -1,86 +0,0 @@
-diff -NrU5 lame-398-2.orig/libmp3lame/lame.c lame-398-2/libmp3lame/lame.c
---- lame-398-2.orig/libmp3lame/lame.c 2009-05-03 15:16:40.000000000 +0200
-+++ lame-398-2/libmp3lame/lame.c 2009-05-03 15:24:49.000000000 +0200
-@@ -1600,10 +1600,17 @@
- in_buffer[1] += n_in;
-
- /* update mfbuf[] counters */
- gfc->mf_size += n_out;
- assert(gfc->mf_size <= MFSIZE);
-+
-+ /* lame_encode_flush may have set gfc->mf_sample_to_encode to 0
-+ * so we have to reinitialize it here when that happened.
-+ */
-+ if (gfc->mf_samples_to_encode < 1) {
-+ gfc->mf_samples_to_encode = ENCDELAY + POSTDELAY;
-+ }
- gfc->mf_samples_to_encode += n_out;
-
-
- if (gfc->mf_size >= mf_needed) {
- /* encode the frame. */
-@@ -1929,10 +1936,14 @@
- int end_padding = POSTDELAY;
- int pad_out_samples;
- int frames_left;
- int samples_to_encode = gfc->mf_samples_to_encode;
-
-+ /* Was flush already called? */
-+ if (gfc->mf_samples_to_encode < 1) {
-+ return 0;
-+ }
- memset(buffer, 0, sizeof(buffer));
- mp3count = 0;
-
- if (gfp->in_samplerate != gfp->out_samplerate) {
- /* delay due to resampling; needs to be fixed, if resampling code gets changed */
-@@ -1940,35 +1951,38 @@
- }
- pad_out_samples = gfp->framesize - (samples_to_encode % gfp->framesize);
- end_padding += pad_out_samples;
-
- frames_left = (samples_to_encode + pad_out_samples) / gfp->framesize;
-- while (frames_left > 0) {
-+
-+ /* send in a frame of 0 padding until all internal sample buffers are flushed */
-+ while (frames_left > 0 && imp3 >= 0) {
- int frame_num = gfp->frameNum;
-
- mp3buffer_size_remaining = mp3buffer_size - mp3count;
-
- /* if user specifed buffer size = 0, dont check size */
- if (mp3buffer_size == 0)
- mp3buffer_size_remaining = 0;
-
-- /* send in a frame of 0 padding until all internal sample buffers
-- * are flushed
-- */
- imp3 = lame_encode_buffer(gfp, buffer[0], buffer[1], 32,
- mp3buffer, mp3buffer_size_remaining);
-
-- if (frame_num != gfp->frameNum) {
-- --frames_left;
-- }
-- if (imp3 < 0) {
-- /* some type of fatal error */
-- return imp3;
-- }
- mp3buffer += imp3;
- mp3count += imp3;
-+ frames_left -= (frame_num != gfp->frameNum) ? 1 : 0;
- }
-+ /* Set gfc->mf_samples_to_encode to 0, so we may detect
-+ * and break loops calling it more than once in a row.
-+ */
-+ gfc->mf_samples_to_encode = 0;
-+
-+ if (imp3 < 0) {
-+ /* some type of fatal error */
-+ return imp3;
-+ }
-+
- mp3buffer_size_remaining = mp3buffer_size - mp3count;
- /* if user specifed buffer size = 0, dont check size */
- if (mp3buffer_size == 0)
- mp3buffer_size_remaining = 0;
-
diff --git a/media-sound/lame/lame-3.98.2-r1.ebuild b/media-sound/lame/lame-3.98.2-r1.ebuild
deleted file mode 100644
index 6fb875054..000000000
--- a/media-sound/lame/lame-3.98.2-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.2-r1.ebuild,v 1.8 2009/06/25 17:30:18 armin76 Exp $
-
-EAPI="2"
-
-inherit flag-o-matic toolchain-funcs eutils autotools versionator multilib-native
-
-DESCRIPTION="LAME Ain't an MP3 Encoder"
-HOMEPAGE="http://lame.sourceforge.net"
-
-MY_PV=$(replace_version_separator 1 '')
-[ ${MY_PV/.} = ${MY_PV} ] || MY_PV=$(replace_version_separator 1 '-' ${MY_PV})
-S=${WORKDIR}/${PN}-${MY_PV}
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="debug mmx mp3rtp sndfile gtk"
-
-RDEPEND=">=sys-libs/ncurses-5.2[lib32?]
- sndfile? ( >=media-libs/libsndfile-1.0.2[lib32?] )
- gtk? ( =x11-libs/gtk+-1.2*[lib32?] )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- mmx? ( dev-lang/nasm )"
-
-multilib-native_src_prepare_internal() {
- cd "${S}"
-
- # The frontened tries to link staticly, but we prefer shared libs
- epatch "${FILESDIR}"/${PN}-3.98-shared-frontend.patch
-
- # If ccc (alpha compiler) is installed on the system, the default
- # configure is broken, fix it to respect CC. This is only
- # directly broken for ARCH=alpha but would affect anybody with a
- # ccc binary in their PATH. Bug #41908 (26 Jul 2004 agriffis)
- epatch "${FILESDIR}"/${PN}-3.96-ccc.patch
-
- # Patch gtk stuff, otherwise eautoreconf dies
- epatch "${FILESDIR}"/${PN}-3.98-gtk-path.patch
-
- # Fix for ffmpeg-0.5, bug 265830
- epatch "${FILESDIR}"/${PN}-3.98.2-ffmpeg-0.5.patch
-
- # It fails parallel make otherwise when enabling nasm...
- mkdir "${S}/libmp3lame/i386/.libs" || die
-
- AT_M4DIR="${S}" eautoreconf
- epunt_cxx # embedded bug #74498
-}
-
-multilib-native_src_configure_internal() {
- use sndfile && myconf="--with-fileio=sndfile"
- # The user sets compiler optimizations... But if you'd like
- # lame to choose it's own... uncomment one of these (experiMENTAL)
- # myconf="${myconf} --enable-expopt=full \
- # myconf="${myconf} --enable-expopt=norm \
-
- econf \
- --enable-shared \
- $(use_enable debug debug norm) \
- --disable-mp3x \
- $(use_enable mmx nasm) \
- $(use_enable mp3rtp) \
- $(use_enable gtk gtktest) \
- ${myconf} || die "econf failed"
-}
-
-multilib-native_src_install_internal() {
- emake DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die
-
- dodoc API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die
- dohtml misc/lameGUI.html Dll/LameDLLInterface.htm || die
-
- dobin "${S}"/misc/mlame || die
-}
-
-pkg_postinst(){
- if use mp3rtp ; then
- ewarn "Warning, support for the encode-to-RTP program, 'mp3rtp'"
- ewarn "is broken as of August 2001."
- ewarn " "
- fi
-}
diff --git a/media-sound/lame/lame-3.98.2.ebuild b/media-sound/lame/lame-3.98.2.ebuild
deleted file mode 100644
index 0744f226e..000000000
--- a/media-sound/lame/lame-3.98.2.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/lame/lame-3.98.2.ebuild,v 1.6 2008/11/14 12:25:16 armin76 Exp $
-
-EAPI="2"
-
-inherit flag-o-matic toolchain-funcs eutils autotools versionator multilib-native
-
-DESCRIPTION="LAME Ain't an MP3 Encoder"
-HOMEPAGE="http://lame.sourceforge.net"
-
-MY_PV=$(replace_version_separator 1 '')
-[ ${MY_PV/.} = ${MY_PV} ] || MY_PV=$(replace_version_separator 1 '-' ${MY_PV})
-S=${WORKDIR}/${PN}-${MY_PV}
-SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
-IUSE="debug mmx mp3rtp sndfile gtk"
-
-RDEPEND=">=sys-libs/ncurses-5.2[lib32?]
- sndfile? ( >=media-libs/libsndfile-1.0.2[lib32?] )
- gtk? ( =x11-libs/gtk+-1.2*[lib32?] )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- mmx? ( dev-lang/nasm )"
-
-multilib-native_src_prepare_internal() {
- cd "${S}"
-
- # The frontened tries to link staticly, but we prefer shared libs
- epatch "${FILESDIR}"/${PN}-3.98-shared-frontend.patch
-
- # If ccc (alpha compiler) is installed on the system, the default
- # configure is broken, fix it to respect CC. This is only
- # directly broken for ARCH=alpha but would affect anybody with a
- # ccc binary in their PATH. Bug #41908 (26 Jul 2004 agriffis)
- epatch "${FILESDIR}"/${PN}-3.96-ccc.patch
-
- # Patch gtk stuff, otherwise eautoreconf dies
- epatch "${FILESDIR}"/${PN}-3.98-gtk-path.patch
-
- # It fails parallel make otherwise when enabling nasm...
- mkdir "${S}/libmp3lame/i386/.libs" || die
-
- AT_M4DIR="${S}" eautoreconf
- epunt_cxx # embedded bug #74498
-}
-
-multilib-native_src_configure_internal() {
- use sndfile && myconf="--with-fileio=sndfile"
- # The user sets compiler optimizations... But if you'd like
- # lame to choose it's own... uncomment one of these (experiMENTAL)
- # myconf="${myconf} --enable-expopt=full \
- # myconf="${myconf} --enable-expopt=norm \
-
- econf \
- --enable-shared \
- $(use_enable debug debug norm) \
- --disable-mp3x \
- $(use_enable mmx nasm) \
- $(use_enable mp3rtp) \
- $(use_enable gtk gtktest) \
- ${myconf} || die "econf failed"
-}
-
-multilib-native_src_install_internal() {
- emake DESTDIR="${D}" pkghtmldir="/usr/share/doc/${PF}/html" install || die
-
- dodoc API ChangeLog HACKING README* STYLEGUIDE TODO USAGE || die
- dohtml misc/lameGUI.html Dll/LameDLLInterface.htm || die
-
- dobin "${S}"/misc/mlame || die
-}
-
-pkg_postinst(){
- if use mp3rtp ; then
- ewarn "Warning, support for the encode-to-RTP program, 'mp3rtp'"
- ewarn "is broken as of August 2001."
- ewarn " "
- fi
-}