[arch-commits] Commit in hydrogen/repos (5 files)
Dave Reisner
dreisner at archlinux.org
Wed Jan 4 13:11:39 UTC 2012
Date: Wednesday, January 4, 2012 @ 08:11:39
Author: dreisner
Revision: 145942
db-move: moved hydrogen from [staging] to [testing] (x86_64)
Added:
hydrogen/repos/testing-x86_64/
hydrogen/repos/testing-x86_64/PKGBUILD
(from rev 145934, hydrogen/repos/staging-x86_64/PKGBUILD)
hydrogen/repos/testing-x86_64/install.patch
(from rev 145934, hydrogen/repos/staging-x86_64/install.patch)
hydrogen/repos/testing-x86_64/lrdf_raptor2.patch
(from rev 145934, hydrogen/repos/staging-x86_64/lrdf_raptor2.patch)
Deleted:
hydrogen/repos/staging-x86_64/
--------------------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
install.patch | 12 ++++++++++++
lrdf_raptor2.patch | 11 +++++++++++
3 files changed, 63 insertions(+)
Copied: hydrogen/repos/testing-x86_64/PKGBUILD (from rev 145934, hydrogen/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-01-04 13:11:39 UTC (rev 145942)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: tobias <tobias at archlinux.org>
+# Maintainer: Ray Rashif <schiv at archlinux.org>
+# Contributor: K. Piche <kpiche at rogers.com>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=hydrogen
+pkgver=0.9.5
+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')
+source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
+ lrdf_raptor2.patch
+ install.patch)
+md5sums=('e96f291d60e58f5d62fe616cee577dc0'
+ '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
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ scons DESTDIR="${pkgdir}" install
+}
+
+# vim:set ts=2 sw=2 et:
Copied: hydrogen/repos/testing-x86_64/install.patch (from rev 145934, hydrogen/repos/staging-x86_64/install.patch)
===================================================================
--- testing-x86_64/install.patch (rev 0)
+++ testing-x86_64/install.patch 2012-01-04 13:11:39 UTC (rev 145942)
@@ -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 ----
Copied: hydrogen/repos/testing-x86_64/lrdf_raptor2.patch (from rev 145934, hydrogen/repos/staging-x86_64/lrdf_raptor2.patch)
===================================================================
--- testing-x86_64/lrdf_raptor2.patch (rev 0)
+++ testing-x86_64/lrdf_raptor2.patch 2012-01-04 13:11:39 UTC (rev 145942)
@@ -0,0 +1,11 @@
+diff -baur hydrogen-0.9.5.old/Sconstruct hydrogen-0.9.5/Sconstruct
+--- hydrogen-0.9.5.old/Sconstruct 2011-08-11 18:00:07.889112348 +0800
++++ hydrogen-0.9.5/Sconstruct 2011-08-11 18:00:34.945632437 +0800
+@@ -83,6 +83,7 @@
+ includes.append( './' )
+ includes.append( 'gui/src/' )
+ includes.append( '3rdparty/install/include' )
++ includes.append( '/usr/include/raptor2' )
+
+ if sys.platform == "darwin":
+ ldflags.append( '-L/opt/local/lib' )
More information about the arch-commits
mailing list