diff options
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/glame/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/glame/Manifest | 9 | ||||
-rw-r--r-- | media-sound/glame/files/digest-glame-2.0.1 | 1 | ||||
-rw-r--r-- | media-sound/glame/files/glame-2.0.1-cflags.patch | 15 | ||||
-rw-r--r-- | media-sound/glame/glame-2.0.1.ebuild | 78 |
5 files changed, 107 insertions, 4 deletions
diff --git a/media-sound/glame/ChangeLog b/media-sound/glame/ChangeLog index 1f6fd9c772ee..47bf98656bff 100644 --- a/media-sound/glame/ChangeLog +++ b/media-sound/glame/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-sound/glame # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/ChangeLog,v 1.24 2005/05/10 15:34:13 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/ChangeLog,v 1.25 2005/05/14 10:40:25 luckyduck Exp $ + +*glame-2.0.1 (14 May 2005) + + 14 May 2005; Jan Brinkmann <luckyduck@gentoo.org> + +files/glame-2.0.1-cflags.patch, +glame-2.0.1.ebuild: + new upstream version, fixes #90707 10 May 2005; David Holm <dholm@gentoo.org> glame-1.0.2.ebuild: Added to ~ppc. diff --git a/media-sound/glame/Manifest b/media-sound/glame/Manifest index eadf2e5dccd4..2fe5888ad4e6 100644 --- a/media-sound/glame/Manifest +++ b/media-sound/glame/Manifest @@ -1,6 +1,9 @@ -MD5 cc88fe1bfe480eada368c0aea360a493 ChangeLog 3508 +MD5 5e5a8059fe908c9cefb4297b607922b0 glame-2.0.1.ebuild 1855 MD5 37f573b0015e373500912290e78c7a26 glame-1.0.2.ebuild 2284 +MD5 eefdf524c5eed1dcfa2f2fdee2b66344 ChangeLog 3682 MD5 552d4fdf9e391a7631494186974bdb80 metadata.xml 266 -MD5 f96064bc6c40df179eea7502e0999af8 files/digest-glame-1.0.2 64 -MD5 1414bd1790705dfed4d11d93033cbda8 files/gentoo.patch 1532 MD5 992f68dfecc733f0bbb14079e1a70f3a files/glame-1.0.2-cflags.patch 1063 +MD5 1414bd1790705dfed4d11d93033cbda8 files/gentoo.patch 1532 +MD5 54ea3169510093db3d31eb388e8e8a0c files/glame-2.0.1-cflags.patch 612 +MD5 f96064bc6c40df179eea7502e0999af8 files/digest-glame-1.0.2 64 +MD5 140e5f563ba5d7d92fa89504677497e7 files/digest-glame-2.0.1 64 diff --git a/media-sound/glame/files/digest-glame-2.0.1 b/media-sound/glame/files/digest-glame-2.0.1 new file mode 100644 index 000000000000..ed3b2fca0580 --- /dev/null +++ b/media-sound/glame/files/digest-glame-2.0.1 @@ -0,0 +1 @@ +MD5 b18e93e8f5d2ed9cd56c4e8088a58f18 glame-2.0.1.tar.gz 1662524 diff --git a/media-sound/glame/files/glame-2.0.1-cflags.patch b/media-sound/glame/files/glame-2.0.1-cflags.patch new file mode 100644 index 000000000000..890b89e4a76c --- /dev/null +++ b/media-sound/glame/files/glame-2.0.1-cflags.patch @@ -0,0 +1,15 @@ +diff -uprN glame-2.0.1.orig/configure.ac glame-2.0.1/configure.ac +--- glame-2.0.1.orig/configure.ac 2005-05-14 11:53:46.000000000 +0200 ++++ glame-2.0.1/configure.ac 2005-05-14 11:56:48.000000000 +0200 +@@ -57,7 +57,10 @@ if test "$swdebug" = "yes" -o "$glame_de + glame_debug_gcc_cflags="-O -g" + elif test "$glame_debug" = "no"; then + AC_DEFINE(NDEBUG,, [disable debugging code]) +- glame_debug_gcc_cflags="-O3 -funroll-loops -ffast-math -fomit-frame-pointer" ++ if test -z "$CFLAGS"; then ++ CFLAGS="-O2 -ffast-math" ++ fi ++ glame_debug_gcc_cflags="$CFLAGS" + else + glame_debug_gcc_cflags="-O2 -g -ffast-math" + fi diff --git a/media-sound/glame/glame-2.0.1.ebuild b/media-sound/glame/glame-2.0.1.ebuild new file mode 100644 index 000000000000..71fb02222c47 --- /dev/null +++ b/media-sound/glame/glame-2.0.1.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-2.0.1.ebuild,v 1.1 2005/05/14 10:40:25 luckyduck Exp $ + +inherit eutils + +DESCRIPTION="an audio file editing utility" +HOMEPAGE="http://glame.sourceforge.net/" +SRC_URI="mirror://sourceforge/glame/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~sparc ~amd64" +IUSE="nls gnome vorbis debug alsa" + +RDEPEND=">=dev-util/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 ) + gnome? ( <gnome-base/libglade-2 gnome-base/gnome-libs ) + alsa? ( media-libs/alsa-lib )" +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.58 + nls? ( >=sys-devel/gettext-0.11.3 )" + +RESTRICT="primaryuri" + +src_unpack() { + unpack ${A} + + # fix makefile problem + export WANT_AUTOCONF=2.5 + cd ${S}/libltdl + autoconf -f + + cd ${S} + epatch ${FILESDIR}/${P}-cflags.patch +} + +src_compile() { + if use gnome + then + # Use a valid icon for the GNOME menu entry + cp src/gui/glame.desktop src/gui/glame.desktop.old + sed -e 's:glame.png:glame-logo.jpg:' \ + src/gui/glame.desktop.old > src/gui/glame.desktop + rm src/gui/glame.desktop.old + fi + + econf \ + $(use_enable alsa alsatest) \ + $(use_enable debug swapfiledebug) $(use_enable debug) \ + $(use_enable gnome gui) \ + $(use_enable nls) \ + --enable-ladspa \ + ${myconf} || die "Configuration failed" + + emake || die "Compilation failed" +} + +src_install () { + einstall || die "Installation failed" + + if use gnome + then + dodir /usr/share/pixmaps + dosym ../glame/pixmaps/glame-logo.jpg \ + /usr/share/pixmaps/glame-logo.jpg + fi + + dodoc ABOUT-NLS AUTHORS BUGS CREDITS ChangeLog MAINTAINERS \ + NEWS README TODO +} |