diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-14 10:40:25 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-05-14 10:40:25 +0000 |
commit | e872fc181f5e613b068abe44348265fb54f23f39 (patch) | |
tree | 29da1a83eae0d9e374c2a1ac565916d6f644d17b /media-sound/glame/glame-2.0.1.ebuild | |
parent | new upstream version, fixes #92051. marked 0.0.8 stable on amd64 and x86. (diff) | |
download | gentoo-2-e872fc181f5e613b068abe44348265fb54f23f39.tar.gz gentoo-2-e872fc181f5e613b068abe44348265fb54f23f39.tar.bz2 gentoo-2-e872fc181f5e613b068abe44348265fb54f23f39.zip |
new upstream version, fixes #90707
(Portage version: 2.0.51.21)
Diffstat (limited to 'media-sound/glame/glame-2.0.1.ebuild')
-rw-r--r-- | media-sound/glame/glame-2.0.1.ebuild | 78 |
1 files changed, 78 insertions, 0 deletions
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 +} |