[arch-commits] Commit in hydrogen/trunk (PKGBUILD install.patch)
Ray Rashif
schiv at archlinux.org
Tue Jan 3 18:42:20 UTC 2012
Date: Tuesday, January 3, 2012 @ 13:42:19
Author: schiv
Revision: 145881
upgpkg: hydrogen 0.9.5-2
libarchive rebuild
Added:
hydrogen/trunk/install.patch
Modified:
hydrogen/trunk/PKGBUILD
---------------+
PKGBUILD | 12 ++++++++----
install.patch | 12 ++++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-03 17:21:38 UTC (rev 145880)
+++ PKGBUILD 2012-01-03 18:42:19 UTC (rev 145881)
@@ -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
}
Added: install.patch
===================================================================
--- install.patch (rev 0)
+++ install.patch 2012-01-03 18:42:19 UTC (rev 145881)
@@ -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 ----
More information about the arch-commits
mailing list