# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

IUSE=""

DESCRIPTION="Enables the use of VST/VSTi audio plugins under GNU/Linux."
HOMEPAGE="http://joebutton.co.uk/fst/"
SRC_URI="http://galan.sourceforge.net/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~x86"
SLOT="0"

DEPEND="app-emulation/wine
	=x11-libs/gtk+-2*
	>=media-libs/vst-sdk-2.3-r1
	media-sound/jack-audio-connection-kit
	media-sound/lash"
	
src_compile() {
	epatch ${FILESDIR}/${P}-vstsdk.patch
	emake || die
}

src_install() {
	dobin fst fst.exe.so
	dodoc README
}