hydrogen: update to 0.9.5.1.

This commit is contained in:
Juan RP 2013-02-20 15:21:38 +01:00
parent 01256a59a2
commit 913ecde461
2 changed files with 28 additions and 16 deletions

View File

@ -0,0 +1,17 @@
Fails to detect jack is version contains another dot, i.e "x.x.x.x"
--- Sconstruct.orig 2013-02-20 15:16:36.035716875 +0100
+++ Sconstruct 2013-02-20 15:16:57.218211973 +0100
@@ -322,10 +322,11 @@ def get_hydrogen_gui( lib_hydrogen , opt
def get_jack_api_flags(xenv, pkg_ver):
- (major, minor, patch) = pkg_ver.rstrip().split('.')
+ (major, minor, patch, micro) = pkg_ver.rstrip().split('.')
major = int(major)
minor = int(minor)
patch = int(patch)
+ micro = int(micro)
rv = ""
if (major == 0) and (minor < 102):
rv = "-DJACK_NO_BBT_OFFSET"

View File

@ -1,26 +1,21 @@
# 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"
version=0.9.5.1
revision=1
makedepends="pkg-config scons libsndfile-devel libtar-devel
libarchive-devel>=3.1.2 jack-devel qt-devel"
depends="desktop-file-utils"
short_desc="Advanced drum machine"
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."
homepage="http://www.hydrogen-music.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=ebe105fec9ce8e2129f9e1bb5bfe675f1c7143a80babda40620cb3ef9eb97ebb
# 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
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() {