void-packages/srcpkgs/hydrogen/template

28 lines
989 B
Text

# Template file for 'hydrogen'
pkgname=hydrogen
version=0.9.5.1
revision=2
hostmakedepends="pkg-config scons optipng"
makedepends="libsndfile-devel libtar-devel libarchive-devel>=3.1.2 jack-devel qt-devel desktop-file-utils"
depends="desktop-file-utils"
short_desc="Advanced drum machine"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.hydrogen-music.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ebe105fec9ce8e2129f9e1bb5bfe675f1c7143a80babda40620cb3ef9eb97ebb
# XXX LASH Support
do_configure() {
find -name '*.png' -exec optipng -quiet -force -fix {} +
}
do_build() {
QTDIR=/usr scons ${makejobs} optflags="$CXXFLAGS" \
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 install ${makejobs} DESTDIR=${DESTDIR} optflags="$CXXFLAGS" \
lrdf=0 jack=1 alsa=1 lash=0 portaudio=0 portmidi=0 \
oss=1 gui=1 libarchive=1 debug=0 prefix=/usr
}