void-packages/srcpkgs/hydrogen/template

29 lines
989 B
Plaintext
Raw Normal View History

# Template file for 'hydrogen'
pkgname=hydrogen
2013-02-20 15:21:38 +01:00
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"
2013-02-20 15:21:38 +01:00
short_desc="Advanced drum machine"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
2013-02-20 15:21:38 +01:00
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
}