1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 DESCRIPTION
="Jackdmp jack implemention for multi-processor machine"
8 HOMEPAGE
="http://www.jackaudio.org"
9 SRC_URI
="http://www.grame.fr/~letz/jack-${PV}.tar.bz2"
13 KEYWORDS
="~amd64 ~x86"
14 IUSE
="doc debug freebob dbus"
16 RDEPEND
=">=media-libs/alsa-lib-0.9.1
17 freebob? ( sys-libs/libfreebob )
18 dbus? ( sys-apps/dbus )"
22 doc? ( app-doc/doxygen )"
24 S
="${WORKDIR}/jack-${PV}"
27 # sandbox-1.6 breaks, on amd64 at least
30 if has_version
"=sys-apps/sandbox-1.6" && [[ -n $
(echo `ps -fp $$`|
grep paludis
) ]]; then
31 eerror
"The compile will hang with =sandbox-1.6. Either downgrade to sandbox-1.4, or use"
32 eerror
"PALUDIS_DO_NOTHING_SANDBOXY=1 paludis -i ${PN}"
37 if hasq
"sandbox" ${FEATURES} && ! hasq
"-sandbox" ${FEATURES} && has_version
"=sys-apps/sandbox-1.6"; then
38 eerror
"The compile will hang with =sandbox-1.6. Please use:"
40 eerror
"FEATURES=\"-sandbox\" emerge ${PN}"
42 eerror
"OR downgrade sandbox to 1.4 at least."
48 local myconf
="--prefix=/usr --destdir=${D}"
49 use dbus
&& myconf
="${myconf} --dbus"
50 !use dbus
&& myconf
="${myconf} --classic"
51 use debug
&& myconf
="${myconf} -d debug"
52 use doc
&& myconf
="${myconf} --doxygen"
54 einfo
"Running \"./waf configure ${myconf}\" ..."
55 .
/waf configure
${myconf} || die
"waf configure failed"
56 .
/waf build
${MAKEOPTS} || die
"waf build failed"
60 .
/waf
--destdir="${D}" install || die
"waf install failed"