From 8dd229b40d030b223809ed8537fd21ff90159c27 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 25 Mar 2007 12:19:37 +0000 Subject: Upstream fix to build with guile 1.8 (Portage version: 2.1.2.2) --- media-sound/beast/ChangeLog | 5 ++++- media-sound/beast/beast-0.7.1.ebuild | 22 +++++++++++++++++++--- media-sound/beast/files/digest-beast-0.7.1 | 3 +++ 3 files changed, 26 insertions(+), 4 deletions(-) (limited to 'media-sound') diff --git a/media-sound/beast/ChangeLog b/media-sound/beast/ChangeLog index 07ee29abadde..ec959c9cc4da 100644 --- a/media-sound/beast/ChangeLog +++ b/media-sound/beast/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/beast # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/ChangeLog,v 1.24 2007/02/27 22:56:12 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/ChangeLog,v 1.25 2007/03/25 12:19:37 aballier Exp $ + + 25 Mar 2007; Alexis Ballier beast-0.7.1.ebuild: + Upstream fix to build with guile 1.8 27 Feb 2007; Alexis Ballier +beast-0.7.1.ebuild: Bump under pmask, bug #163146 diff --git a/media-sound/beast/beast-0.7.1.ebuild b/media-sound/beast/beast-0.7.1.ebuild index 0d76731b7247..b17bd08e8e99 100644 --- a/media-sound/beast/beast-0.7.1.ebuild +++ b/media-sound/beast/beast-0.7.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/beast-0.7.1.ebuild,v 1.1 2007/02/27 22:56:12 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/beast/beast-0.7.1.ebuild,v 1.2 2007/03/25 12:19:37 aballier Exp $ inherit eutils flag-o-matic fdo-mime @@ -8,7 +8,8 @@ IUSE="debug mad static" DESCRIPTION="BEAST - the Bedevilled Sound Engine" HOMEPAGE="http://beast.gtk.org" -SRC_URI="ftp://beast.gtk.org/pub/beast/v${PV%.[0-9]}/${P}.tar.bz2" +SRC_URI="ftp://beast.gtk.org/pub/beast/v${PV%.[0-9]}/${P}.tar.bz2 + mirror://gentoo/${P}-guile-1.8.diff.bz2" LICENSE="GPL-2 LGPL-2.1" KEYWORDS="~amd64 ~ppc ~x86" @@ -17,7 +18,7 @@ SLOT="0" RDEPEND=">=dev-libs/glib-2.0 >=x11-libs/gtk+-2.4.11 >=sys-libs/zlib-1.1.3 - =dev-scheme/guile-1.6* + dev-scheme/guile >=media-libs/libart_lgpl-2.3.8 >=gnome-base/libgnomecanvas-2.0 >=media-libs/libogg-1.0 @@ -29,6 +30,21 @@ DEPEND="dev-util/pkgconfig media-libs/ladspa-sdk ${RDEPEND}" +pkg_setup() { + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated" + built_with_use dev-scheme/guile ${flags} \ + || die "guile must be built with \"${flags}\" use flags" + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${WORKDIR}/${P}-guile-1.8.diff" +} + src_compile() { # avoid suid related security issues. append-ldflags $(bindnow-flags) diff --git a/media-sound/beast/files/digest-beast-0.7.1 b/media-sound/beast/files/digest-beast-0.7.1 index d3680c1d4d6e..52633d86584b 100644 --- a/media-sound/beast/files/digest-beast-0.7.1 +++ b/media-sound/beast/files/digest-beast-0.7.1 @@ -1,3 +1,6 @@ +MD5 d1ddf3ced8bb2022be015176e6ea364e beast-0.7.1-guile-1.8.diff.bz2 5709 +RMD160 8c47de83fd9e59b3dc3b4f5f3fa5e33de361f919 beast-0.7.1-guile-1.8.diff.bz2 5709 +SHA256 dc5194deff4b0a0eec368a69090db682d0c3113044ce2c2ed017ddfec9d3814e beast-0.7.1-guile-1.8.diff.bz2 5709 MD5 f8b54ca8e7936ac7c85583ade45d3be3 beast-0.7.1.tar.bz2 5806537 RMD160 45d928542573cdbc73791bae6b871bc59f5a6c8f beast-0.7.1.tar.bz2 5806537 SHA256 b4bc1dfb3bba22f7fe1a5588d2d4a66c746e9c7607709304b13aa390420cd44b beast-0.7.1.tar.bz2 5806537 -- cgit v1.2.3-65-gdbad