1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
11 DESCRIPTION
="LADI Session Handler - a session management system for JACK applications"
12 HOMEPAGE
="http://ladish.org/"
13 SRC_URI
="http://ladish.org/download/ladish-${PV}.tar.bz2"
20 RDEPEND
="!media-sound/lash
21 media-sound/jack-audio-connection-kit[dbus]
22 >=x11-libs/flowcanvas-0.6.4
24 >=dev-libs/glib-2.20.3
25 >=x11-libs/gtk+-2.20.0
26 >=gnome-base/libglade-2.6.2
27 >=dev-libs/dbus-glib-0.74
29 >=dev-libs/expat-2.0.1"
34 python_set_active_version
2
39 epatch
"${FILESDIR}/${P}-include.patch"
43 python_convert_shebangs
-r 2 "${S}"
44 local myconf
="--prefix=/usr --destdir=${D}"
45 use lash
&& myconf
="${myconf} --enable-liblash"
46 use python
&& myconf
="${myconf} --enable-pylash"
47 einfo
"Running \"./waf configure ${myconf}\" ..."
48 .
/waf configure
${myconf} || die
"waf configure failed"
52 einfo
"Running \"./waf build\""
53 .
/waf build || die
"failed to build"
57 einfo
"Running \"./waf install --destdir=${ED}"
58 .
/waf
install --destdir="${ED}" || die
"install failed"
59 dodoc AUTHORS README NEWS
60 python_convert_shebangs
-r 2 "${ED}"