diff options
author | Torben Hohn <torbenh@gentoo.org> | 2003-06-30 09:37:27 +0000 |
---|---|---|
committer | Torben Hohn <torbenh@gentoo.org> | 2003-06-30 09:37:27 +0000 |
commit | 0e7717bc305befbb15932e026320f1dadc42296e (patch) | |
tree | 3385e7d81fe5f371bf21783da1572387526b97f4 /media-sound/glame | |
parent | Version bump + added some dependencies (diff) | |
download | historical-0e7717bc305befbb15932e026320f1dadc42296e.tar.gz historical-0e7717bc305befbb15932e026320f1dadc42296e.tar.bz2 historical-0e7717bc305befbb15932e026320f1dadc42296e.zip |
Version bump + added some dependencies
Diffstat (limited to 'media-sound/glame')
-rw-r--r-- | media-sound/glame/Manifest | 4 | ||||
-rw-r--r-- | media-sound/glame/files/digest-glame-1.0.1 | 1 | ||||
-rw-r--r-- | media-sound/glame/glame-1.0.1.ebuild | 77 |
3 files changed, 80 insertions, 2 deletions
diff --git a/media-sound/glame/Manifest b/media-sound/glame/Manifest index edca027c5ff5..d3ec784c70b1 100644 --- a/media-sound/glame/Manifest +++ b/media-sound/glame/Manifest @@ -1,7 +1,7 @@ -MD5 6d10d329d136eda7037fd21c86311406 ChangeLog 1410 +MD5 2433d3304d45643b8258a28b711ea25a ChangeLog 1609 MD5 43306fb579873d1b3636297742999728 glame-0.6.3.ebuild 1721 MD5 260ea6f0d3a7f1bb8e266ae074fbc518 glame-0.6.4.ebuild 1796 -MD5 6f7eeb6be86377191147d26ac1080042 glame-1.0.1.ebuild 1855 +MD5 83db5baf930d7ac8dd344d0da3288291 glame-1.0.1.ebuild 1856 MD5 0f9e060b52d269fd1c243646143605e1 files/digest-glame-0.6.3 64 MD5 fcefae48a292c979f6c45a0bccafe745 files/digest-glame-0.6.4 64 MD5 6d37da48379bb5a16ffc8f3e9ca2febd files/digest-glame-1.0.1 64 diff --git a/media-sound/glame/files/digest-glame-1.0.1 b/media-sound/glame/files/digest-glame-1.0.1 new file mode 100644 index 000000000000..bbd0e3d4e0a4 --- /dev/null +++ b/media-sound/glame/files/digest-glame-1.0.1 @@ -0,0 +1 @@ +MD5 3e225128de5ab563954559205f1228df glame-1.0.1.tar.gz 1360539 diff --git a/media-sound/glame/glame-1.0.1.ebuild b/media-sound/glame/glame-1.0.1.ebuild new file mode 100644 index 000000000000..9d9e70aaa07f --- /dev/null +++ b/media-sound/glame/glame-1.0.1.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/glame/glame-1.0.1.ebuild,v 1.1 2003/06/30 09:37:16 torbenh Exp $ + +IUSE="nls gnome" + +S=${WORKDIR}/${P} +DESCRIPTION="Glame is an audio file editing utility" +SRC_URI="mirror://sourceforge/glame/${P}.tar.gz" +HOMEPAGE="http://glame.sourceforge.net/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86" + +DEPEND=">=dev-util/guile-1.4-r3 + dev-libs/libxml2 + >=media-sound/esound-0.2 + media-libs/audiofile + media-sound/mad + oggvorbis? ( media-sound/vorbis-tools ) + gnome? ( <gnome-base/libglade-2 gnome-base/gnome-libs )" + +RDEPEND="nls? ( sys-devel/gettext )" + +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=1 + cd ${S}/libltdl + autoconf -f +} + +src_compile() { + local myconf="" + + 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 + + use nls && myconf="--enable-nls" \ + || myconf="--disable-nls" + use gnome && myconf="${myconf} --enable-gui" \ + || myconf="${myconf} --disable-gui" + + econf --with-included-gettext ${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 COPYING CREDITS ChangeLog MAINTAINERS \ + NEWS README TODO +} + |