blob: fe49c79d598381a6f2acdc111dff9a293f116fca (
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
40
41
42
43
44
45
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/freqtweak-0.7.0_pre20070214.ebuild,v 1.3 2007/05/02 10:11:47 armin76 Exp $
inherit eutils autotools wxwidgets flag-o-matic
DESCRIPTION="FFT-based realtime audio spectral manipulation and display"
HOMEPAGE="http://freqtweak.sourceforge.net"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
IUSE=""
DEPEND="=x11-libs/wxGTK-2.6*
>=sci-libs/fftw-3.0
=dev-libs/libsigc++-1.2*
dev-libs/libxml2
media-sound/jack-audio-connection-kit"
S="${WORKDIR}/${PN}"
src_unpack() {
unpack ${A}
cd "${S}"
eautoreconf
}
src_compile() {
WX_GTK_VER="2.6"
need-wxwidgets gtk2 || die "No gtk2 version of x11-libs/wxGTK found"
append-flags "-fno-strict-aliasing"
econf \
--with-wxconfig-path=${WX_CONFIG} || die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog NEWS README THANKS
}
|