summaryrefslogtreecommitdiff
blob: 952f23b859f7a0d498de29f4e96075562ac18cf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: 

MY_P=ZynAddSubFX-${PV}
DESCRIPTION="ZynAddSubFX is a opensource software synthesizer."
HOMEPAGE="http://zynaddsubfx.sourceforge.net/"
SRC_URI="mirror://sourceforge/zynaddsubfx/${MY_P}.tar.gz"

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

IUSE=""

DEPEND=">=x11-libs/fltk-1.1.2
	dev-libs/fftw
	virtual/jack"

S="${WORKDIR}/${MY_P}"

src_compile() {
        # patched to enable jack and fix compile scripts for
        # spliter and controller
        epatch ${FILESDIR}/${P}.patch
        cd ${S}/src
        make || die "compile failed"
        cd ${S}/ExternalPrograms/Spliter
        ./compile.sh
        cd ${S}/ExternalPrograms/Controller
        ./compile.sh
}

src_install() {
        dobin ${S}/src/zynaddsubfx
        dobin ${S}/ExternalPrograms/Spliter/spliter
        dobin ${S}/ExternalPrograms/Controller/controller
}