blob: c151593b6fa654f093e47f5d9fd7838e5a675f39 (
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
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/freqtweak/freqtweak-0.6.0.ebuild,v 1.1 2004/07/04 22:22:31 fvdpol Exp $
inherit eutils
DESCRIPTION="tool for FFT-based realtime audio spectral manipulation and display"
HOMEPAGE="http://freqtweak.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="x11-libs/wxGTK
>=dev-libs/fftw-3.0
>=dev-libs/libsigc++-0.14
dev-libs/libxml2
media-sound/jack-audio-connection-kit"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-gcc34.patch
}
pkg_setup() {
if wx-config --cppflags | grep gtk2u >& /dev/null; then
einfo "${PN} will not build if wxGTK was compiled"
einfo "with unicode support. If you are using a version of"
einfo "wxGTK <= 2.4.2, you must set USE=-gtk2. In newer versions,"
einfo "you must set USE=-unicode."
die "wxGTK must be re-emerged without unicode suport"
fi
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS COPYING ChangeLog NEWS README THANKS
}
|