Commit 741c2fe7 authored by Anke's avatar Anke

hydrogen update/rebuild for libarchive, ported to testing git

parent 44835a64
2010-10-06 Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
* 0.9.4.2-1 :
Imported from Arch Linux's 'hydrogen' build package:
http://repos.archlinux.org/wsvn/packages/hydrogen/trunk/PKGBUILD?rev=91083&peg=91083
#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=hydrogen
pkgver=0.9.5.1
pkgrel=1
pkgdesc="Advanced drum machine."
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.hydrogen-music.org/"
depends=('alsa-lib' 'flac' 'jack' 'libarchive' 'liblrdf' 'libsndfile' 'qt' 'tar' 'zlib')
makedepends=('scons')
categories=('multimedia')
changelog=ChangeLog
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
lrdf_raptor2.patch
hydrogen-0.9.5-install.patch)
md5sums=('52f3a528705818c65acf546a3be4c6fb'
'2124851e890f46158189b5fa90006d40'
'ce3a83a069b55e46aa532b55e803c9a5')
build() {
cd $srcdir/$pkgname-$pkgver
msg "Compiling..."
export QTDIR=/usr
patch -Np1 -i "${srcdir}/lrdf_raptor2.patch"
patch -Np0 -i "${srcdir}/hydrogen-0.9.5-install.patch"
scons \
prefix=/usr \
libarchive=1
}
package() {
cd $srcdir/$pkgname-$pkgver
scons DESTDIR="$pkgdir" install
}
*** 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 ----
*** 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 ----
\ No newline at end of file
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' )
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment