summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-07-15 08:49:32 +0000
committerSamuli Suominen <drac@gentoo.org>2007-07-15 08:49:32 +0000
commit9af21ef8cb646381209a6f08151176a975329273 (patch)
treebdb2595550ad5fea14d04dd57dd121e62b1e6d69 /media-sound/glame
parentAssigning to m-needed, as beu is being retired (#66608). (diff)
downloadgentoo-2-9af21ef8cb646381209a6f08151176a975329273.tar.gz
gentoo-2-9af21ef8cb646381209a6f08151176a975329273.tar.bz2
gentoo-2-9af21ef8cb646381209a6f08151176a975329273.zip
old
(Portage version: 2.1.3_rc8)
Diffstat (limited to 'media-sound/glame')
-rw-r--r--media-sound/glame/files/digest-glame-1.0.23
-rw-r--r--media-sound/glame/files/gentoo.patch52
-rw-r--r--media-sound/glame/files/glame-1.0.2-cflags.patch30
-rw-r--r--media-sound/glame/glame-1.0.2.ebuild77
4 files changed, 0 insertions, 162 deletions
diff --git a/media-sound/glame/files/digest-glame-1.0.2 b/media-sound/glame/files/digest-glame-1.0.2
deleted file mode 100644
index 925c4bb47607..000000000000
--- a/media-sound/glame/files/digest-glame-1.0.2
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 6d4c76891257dab0d9cee18d21a5db9a glame-1.0.2.tar.gz 1587125
-RMD160 a57b2296c5b8df927ef37ee1f28dd071d0f6f2df glame-1.0.2.tar.gz 1587125
-SHA256 5bebb0a4e6ec499310f07d69592e1fb85738abadb2d68268072c2bfdcac0eb6e glame-1.0.2.tar.gz 1587125
diff --git a/media-sound/glame/files/gentoo.patch b/media-sound/glame/files/gentoo.patch
deleted file mode 100644
index 75a0424a26de..000000000000
--- a/media-sound/glame/files/gentoo.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-diff -urN glame-1.0.2/configure glame-1.0.2-new/configure
---- glame-1.0.2/configure 2004-01-13 13:56:21.000000000 -0600
-+++ glame-1.0.2-new/configure 2004-01-21 12:29:41.576998136 -0600
-@@ -28042,7 +28042,7 @@
- #include <stdlib.h>
- #include <stdio.h>
- #include <string.h>
--#include <xmlversion.h>
-+#include <libxml/xmlversion.h>
-
- int
- main()
-@@ -30609,15 +30609,16 @@
- main ()
- {
-
--#if SND_LIB_MAJOR != $alsa_min_major_version
--#error wrong major version
--#endif
--#if SND_LIB_MINOR < $alsa_min_minor_version
--#error wrong minor version
--#endif
--#if (SND_LIB_MINOR == $alsa_min_minor_version) && (SND_LIB_SUBMINOR < $alsa_min_subminor_version)
--#error wrong subminor version
--#endif
-+/* #if SND_LIB_MAJOR != $alsa_min_major_version */
-+/* #error wrong major version */
-+/* #endif */
-+/* #if SND_LIB_MINOR < $alsa_min_minor_version */
-+/* #error wrong minor version */
-+/* #endif */
-+/* #if (SND_LIB_MINOR == $alsa_min_minor_version) && (SND_LIB_SUBMINOR < */
-+/* $alsa_min_subminor_version) */
-+/* #error wrong subminor version */
-+/* #endif */
-
- ;
- return 0;
-diff -urN glame-1.0.2/src/glmid/gpsm.c glame-1.0.2-new/src/glmid/gpsm.c
---- glame-1.0.2/src/glmid/gpsm.c 2004-01-10 18:17:16.000000000 -0600
-+++ glame-1.0.2-new/src/glmid/gpsm.c 2004-01-21 12:32:35.530553176 -0600
-@@ -26,8 +26,8 @@
- #include <stdio.h>
- #include <errno.h>
- #include <string.h>
--#include <xmlmemory.h>
--#include <parser.h>
-+#include <libxml/xmlmemory.h>
-+#include <libxml/parser.h>
- #include "glame_types.h"
- #include "swapfile.h"
- #include "gpsm.h"
diff --git a/media-sound/glame/files/glame-1.0.2-cflags.patch b/media-sound/glame/files/glame-1.0.2-cflags.patch
deleted file mode 100644
index 488871d5573f..000000000000
--- a/media-sound/glame/files/glame-1.0.2-cflags.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff -Naur glame-1.0.2.orig/configure glame-1.0.2.cflags/configure
---- glame-1.0.2.orig/configure 2004-10-15 01:45:17.713874000 -0700
-+++ glame-1.0.2.cflags/configure 2004-10-15 01:52:33.089150474 -0700
-@@ -1994,7 +1994,10 @@
- #define NDEBUG
- _ACEOF
-
-- glame_debug_gcc_cflags="-O3 -ffast-math -funroll-loops"
-+ if test -z "$CFLAGS"; then
-+ CFLAGS="-O2 -ffast-math -funroll-loops"
-+ fi
-+ glame_debug_gcc_cflags="$CFLAGS"
- else
- if test -z "$CFLAGS"; then
- CFLAGS="-g -O2 -ffast-math"
-diff -Naur glame-1.0.2.orig/configure.ac glame-1.0.2.cflags/configure.ac
---- glame-1.0.2.orig/configure.ac 2004-01-13 11:54:26.000000000 -0800
-+++ glame-1.0.2.cflags/configure.ac 2004-10-15 01:51:48.394512522 -0700
-@@ -33,7 +33,10 @@
- glame_debug_gcc_cflags="-g3 -O"
- elif test "$glame_debug" = "no"; then
- AC_DEFINE(NDEBUG,, [disable debugging code])
-- glame_debug_gcc_cflags="-O3 -ffast-math -funroll-loops"
-+ if test -z "$CFLAGS"; then
-+ CFLAGS="-O2 -ffast-math"
-+ fi
-+ glame_debug_gcc_cflags="$CFLAGS"
- else
- if test -z "$CFLAGS"; then
- CFLAGS="-g -O2 -ffast-math"
diff --git a/media-sound/glame/glame-1.0.2.ebuild b/media-sound/glame/glame-1.0.2.ebuild
deleted file mode 100644
index 254f54107df7..000000000000
--- a/media-sound/glame/glame-1.0.2.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-1.0.2.ebuild,v 1.18 2007/07/02 15:14:34 peper Exp $
-
-IUSE="nls vorbis debug alsa"
-
-inherit eutils
-
-DESCRIPTION="an audio file editing utility"
-HOMEPAGE="http://glame.sourceforge.net/"
-SRC_URI="mirror://sourceforge/glame/${P}.tar.gz"
-RESTRICT="mirror"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 sparc amd64 ~ppc"
-
-RDEPEND=">=dev-scheme/guile-1.4-r3
- >=dev-libs/libxml-1.8.0
- >=dev-libs/libxml2-2.0.0
- >=media-sound/esound-0.2
- >=media-libs/audiofile-0.2.2
- =sci-libs/fftw-2*
- media-sound/madplay
- media-libs/ladspa-sdk
- vorbis? ( >=media-libs/libvorbis-1.0 )
- alsa? ( media-libs/alsa-lib )"
-
-DEPEND="${RDEPEND}
- >=sys-devel/autoconf-2.58
- nls? ( >=sys-devel/gettext-0.11.3 )"
-
-src_unpack() {
- unpack ${A}
-
- # fix NLS problem (bug #7587)
- if ! use nls
- then
- cd ${S}/src/gui
- mv swapfilegui.c swapfilegui.c.bad
- sed -e "s:#include <libintl.h>::" swapfilegui.c.bad > swapfilegui.c
- fi
-
- # fix makefile problem
- export WANT_AUTOCONF=2.5
- cd ${S}/libltdl
- autoconf -f
-
- cd ${S}
- epatch ${FILESDIR}/gentoo.patch
- epatch ${FILESDIR}/${P}-cflags.patch
-}
-
-src_compile() {
- local myconf="--enable-ladspa"
-
- use nls && myconf="--enable-nls" \
- || myconf="--disable-nls"
-
- myconf="${myconf} --disable-gui"
-
- use debug && myconf="${myconf} --enable-swapfiledebug --enable-debug" \
- || myconf="${myconf} --disable-swapfiledebug --disable-debug"
-
- use alsa || myconf="${myconf} --disable-alsatest"
-
- econf ${myconf} || die "Configuration failed"
-
- emake || die "Compilation failed"
-}
-
-src_install () {
- einstall || die "Installation failed"
-
- dodoc AUTHORS BUGS CREDITS ChangeLog MAINTAINERS \
- NEWS README TODO
-}