blob: b261cdedbdb0597bdb4ec7dd5a8c822e3430a809 (
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/jack-rack/jack-rack-1.4.6.ebuild,v 1.5 2007/11/14 17:55:09 armin76 Exp $
WANT_AUTOMAKE="1.9"
inherit autotools
IUSE="alsa gnome lash nls xml"
DESCRIPTION="JACK Rack is an effects rack for the JACK low latency audio API."
HOMEPAGE="http://jack-rack.sourceforge.net/"
SRC_URI="mirror://sourceforge/jack-rack/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc sparc x86"
RDEPEND=">=x11-libs/gtk+-2
>=media-libs/ladspa-sdk-1.12
media-sound/jack-audio-connection-kit
alsa? ( media-libs/alsa-lib )
lash? ( >=media-sound/lash-0.5 )
gnome? ( >=gnome-base/libgnomeui-2 )
nls? ( virtual/libintl )
xml? ( dev-libs/libxml2
media-libs/liblrdf )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
pkg_setup() {
if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
eerror ""
eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
eerror "need to have built media-libs/alsa-lib with midi USE flag."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${PN}-1.4.5-asneeded.patch"
epatch "${FILESDIR}/${P}-no-disable-deprecated.patch"
epatch "${FILESDIR}/${P}-noalsa.patch"
eautomake
}
src_compile() {
local myconf
myconf="--disable-ladcca --enable-desktop-inst"
econf \
$(use_enable alsa aseq) \
$(use_enable gnome) \
$(use_enable lash) \
$(use_enable nls) \
$(use_enable xml) \
$(use_enable xml lrdf ) \
--disable-dependency-tracking \
${myconf} || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO WISHLIST
}
|