Files
@ 39d1268394e4
Branch filter:
Location: ohnobinki_overlay/media-sound/glame/glame-2.0.1.ebuild - annotation
39d1268394e4
1.8 KiB
application/vnd.gentoo.ebuild
media-sound/glame fixed problem with newer guile
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
Without this patch, and using guile-8.5* and compiling media-sounds/glame with USE=gnome, I and another person got the following compile error:
glame_console.o: In function `port_register':
/var/tmp/portage/media-sound/glame-2.0.1/work/glame-2.0.1/src/gui/glame_console.c:63: undefined reference to `GLAME_NEWCELL'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.1/../../../../x86_64-pc-linux-gnu/bin/ld: link errors found, deleting executable `glame'
collect2: ld returned 1 exit status
7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 39d1268394e4 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c 7308bc6fd11c | # 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-2.0.1.ebuild,v 1.11 2007/07/15 19:23:13 drac Exp $
WANT_AUTOCONF=2.5
inherit autotools eutils
DESCRIPTION="an audio file editing utility"
HOMEPAGE="http://glame.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
IUSE="nls gnome vorbis debug alsa"
RDEPEND=">=dev-scheme/guile-1.4-r3
>=dev-libs/libxml-1.8
>=dev-libs/libxml2-2
>=media-sound/esound-0.2
>=media-libs/audiofile-0.2.2
=sci-libs/fftw-2*
media-libs/libmad
media-libs/ladspa-sdk
vorbis? ( >=media-libs/libvorbis-1 )
gnome? ( >=gnome-base/libglade-2 >=gnome-base/libgnome-2.6
>=gnome-base/libgnome-2.6 >=gnome-base/libgnomecanvas-2.6
>=dev-libs/glib-2.6 >=x11-libs/gtk+-2.6 )
alsa? ( media-libs/alsa-lib )"
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.11.3 )"
pkg_setup() {
if has_version =dev-scheme/guile-1.8*; then
built_with_use dev-scheme/guile deprecated || die "guile must be built with deprecated use flag."
fi
}
src_unpack() {
unpack ${A}
cd "${S}"/libltdl
eautoconf
cd "${S}"
epatch "${FILESDIR}"/${P}-cflags.patch
epatch "${FILESDIR}"/${P}-guile18.patch
sed -i -e 's:glame.png:glame-logo.jpg:' src/gui/glame.desktop
}
src_compile() {
econf $(use_enable alsa alsatest) \
$(use_enable debug swapfiledebug) $(use_enable debug) \
$(use_enable gnome gui) \
$(use_enable nls) \
--enable-ladspa \
${myconf} || die "econf failed."
emake || die "emake failed."
}
src_install() {
einstall || die "einstall failed."
if use gnome; then
dodir /usr/share/pixmaps
dosym ../glame/pixmaps/glame-logo.jpg /usr/share/pixmaps/glame-logo.jpg
fi
dodoc AUTHORS BUGS CREDITS ChangeLog MAINTAINERS NEWS README TODO
}
|