void-packages/srcpkgs/hydrogen/template

29 lines
761 B
Text

# Template file for 'hydrogen'
pkgname=hydrogen
version=0.9.5.1
revision=1
makedepends="pkg-config scons libsndfile-devel libtar-devel
libarchive-devel>=3.1.2 jack-devel qt-devel"
short_desc="Advanced drum machine"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-2"
homepage="http://www.hydrogen-music.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ebe105fec9ce8e2129f9e1bb5bfe675f1c7143a80babda40620cb3ef9eb97ebb
# XXX LASH Support
do_build() {
QTDIR=/usr scons lrdf=0 jack=1 alsa=1 lash=0 portaudio=0 portmidi=0 \
oss=1 gui=1 libarchive=1 debug=1 prefix=/usr
}
do_install() {
scons DESTDIR=${DESTDIR} install
}
hydrogen_package() {
depends="desktop-file-utils"
pkg_install() {
vmove usr
}
}