# Template file for 'hydrogen'
pkgname=hydrogen
version=0.9.5
homepage="http://www.hydrogen-music.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
revision=3
makedepends="scons libsndfile-devel alsa-lib-devel zlib-devel libtar-devel libarchive-devel jack-devel qt-devel"
fulldepends="desktop-file-utils"
short_desc="Advanced drum machine for GNU/Linux"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
checksum=963c73ef911ec9e7589e502d17df3b794dd027d7e99a36b5115a0bb51389d9c3
long_desc="
 Hydrogen is an advanced drum machine for GNU/Linux. It's main goal is to
 bring professional yet simple and intuitive pattern-based drum
 programming."

# XXX LASH Support


do_build() {
	scons lrdf=0 jack=1 alsa=1 lash=0 portaudio=0 portmidi=0 \
		oss=1 gui=1 libarchive=1 debug=0 prefix=/usr
}

do_install() {
	scons DESTDIR=${DESTDIR} install
}
