# Template file for 'ladish'
pkgname=ladish
version=1
revision=4
build_style=waf
configure_args="--enable-liblash --enable-pylash"
makedepends="perl intltool python-devel pkg-config alsa-lib-devel jack-devel
 dbus-devel dbus-glib-devel libuuid-devel expat-devel glib-devel gtk+-devel
 flowcanvas-devel boost-devel libgnomecanvasmm-devel gtkmm2-devel"
short_desc="Session management system for JACK applications"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://ladish.org"
distfiles="http://ladish.org/download/${pkgname}-${version}.tar.bz2"
checksum=71065961f949f472cba50b6181b184d196d59332f6e9106403a37955906776d4
long_desc="
 LADI Session Handler or simply ladish is a session management system for JACK
 applications on GNU/Linux. Its aim is to allow you to have many different audio
 programs running at once, to save their setup, close them down and then easily
 reload the setup at some other time.

 ladish does not deal with any kind of audio or MIDI data itself; it just runs
 programs, deals with saving/loading (arbitrary) data and connects JACK ports
 together. It can also be used to move entire sessions between computers, or
 post sessions on the Internet for download."

ladish-devel_package() {
	depends="libuuid-devel ladish>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
        	vmove usr/include
        	vmove usr/lib/pkgconfig
	}
}

ladish_package() {
	pycompile_module="lash.py"
	depends="jack a2jmidid hicolor-icon-theme"
	pkg_install() {
		vmove usr
	}
}
