summaryrefslogtreecommitdiff
path: root/extra/hydrogen
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-17 23:14:55 +0000
committerroot <root@rshg054.dnsready.net>2012-01-17 23:14:55 +0000
commit7de0a9c21ecdb7becae761d7c9f2e723cb9ae0d3 (patch)
treecf569d409766ee004e997226104d64aa76bcd28f /extra/hydrogen
parent08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (diff)
Tue Jan 17 23:14:54 UTC 2012
Diffstat (limited to 'extra/hydrogen')
-rw-r--r--extra/hydrogen/PKGBUILD14
-rw-r--r--extra/hydrogen/install.patch12
2 files changed, 21 insertions, 5 deletions
diff --git a/extra/hydrogen/PKGBUILD b/extra/hydrogen/PKGBUILD
index b78606f9c..a5c607e79 100644
--- a/extra/hydrogen/PKGBUILD
+++ b/extra/hydrogen/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 135233 2011-08-11 10:28:18Z schiv $
+# $Id: PKGBUILD 146711 2012-01-16 19:49:24Z dreisner $
# Maintainer: tobias <tobias@archlinux.org>
# Maintainer: Ray Rashif <schiv@archlinux.org>
# Contributor: K. Piche <kpiche@rogers.com>
@@ -6,24 +6,28 @@
pkgname=hydrogen
pkgver=0.9.5
-pkgrel=1
+pkgrel=2
pkgdesc="Advanced Drum Machine"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.hydrogen-music.org/"
depends=('libarchive' 'liblrdf' 'qt' 'jack')
makedepends=('scons')
-options=('!makeflags')
+#options=('!makeflags')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
- lrdf_raptor2.patch)
+ lrdf_raptor2.patch
+ install.patch)
md5sums=('e96f291d60e58f5d62fe616cee577dc0'
- '2124851e890f46158189b5fa90006d40')
+ '2124851e890f46158189b5fa90006d40'
+ 'ce3a83a069b55e46aa532b55e803c9a5')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export QTDIR=/usr
patch -Np1 -i "${srcdir}/lrdf_raptor2.patch"
+ # http://www.assembla.com/spaces/hydrogen/tickets/204
+ patch -Np0 -i "${srcdir}/install.patch"
scons prefix=/usr libarchive=1
}
diff --git a/extra/hydrogen/install.patch b/extra/hydrogen/install.patch
new file mode 100644
index 000000000..2e6e707a1
--- /dev/null
+++ b/extra/hydrogen/install.patch
@@ -0,0 +1,12 @@
+*** Sconstruct.org 2011-11-06 12:15:40.018119106 +0100
+--- Sconstruct 2011-11-06 12:16:21.124122432 +0100
+***************
+*** 298,304 ****
+
+ for N in glob.glob('./data/i18n/hydrogen.*'):
+ env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data/i18n', source=N))
+- env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data', source="./data/img"))
+
+ #add every img in ./data/img to the install list.
+ os.path.walk("./data/img/",install_images,env)
+--- 298,303 ----