Adding Hydrogen: drum machine
svn path=/nixpkgs/trunk/; revision=26866
This commit is contained in:
parent
fec06f7196
commit
c7bf27de02
|
@ -0,0 +1,35 @@
|
|||
{ stdenv, fetchurl,
|
||||
alsaLib, boost, glib, jackaudio, libarchive, liblrdf, libsndfile,
|
||||
pkgconfig, qt4, scons, subversion }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
version = "0.9.5";
|
||||
name = "hydrogen-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/hydrogen/hydrogen-${version}.tar.gz";
|
||||
sha256 = "1hyri49va2ss26skd6p9swkx0kbr7ggifbahkrcfgj8yj7pp6g4n";
|
||||
};
|
||||
|
||||
buildInputs = [
|
||||
alsaLib boost glib jackaudio libarchive liblrdf libsndfile
|
||||
pkgconfig qt4 scons subversion
|
||||
];
|
||||
|
||||
patches = [ ./scons-env.patch ];
|
||||
|
||||
# why doesn't scons find librdf?
|
||||
buildPhase = ''
|
||||
scons prefix=$out libarchive=1 lrdf=0 install
|
||||
'';
|
||||
|
||||
installPhase = ":";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Advanced drum machine";
|
||||
homepage = http://www.hydrogen-music.org;
|
||||
license = licenses.gpl2;
|
||||
platforms = platforms.linux;
|
||||
maintainers = [ maintainers.goibhniu ];
|
||||
};
|
||||
}
|
|
@ -0,0 +1,20 @@
|
|||
--- hydrogen-0.9.5/Sconstruct 2011-03-15 13:22:35.000000000 +0100
|
||||
+++ hydrogen-0.9.5/Sconstruct 2011-04-17 16:06:54.000000000 +0200
|
||||
@@ -178,7 +178,7 @@
|
||||
|
||||
includes.append( "libs/hydrogen/include" )
|
||||
|
||||
- env = Environment( options = opts )
|
||||
+ env = Environment( options = opts, ENV = os.environ )
|
||||
|
||||
|
||||
#location of qt4.py
|
||||
@@ -379,7 +379,7 @@
|
||||
|
||||
includes, a , b = get_platform_flags( opts )
|
||||
|
||||
-env = Environment(options = opts, CPPPATH = includes)
|
||||
+env = Environment(options = opts, ENV = os.environ)
|
||||
|
||||
|
||||
Help(opts.GenerateHelpText(env))
|
|
@ -6267,6 +6267,8 @@ let
|
|||
hugin = callPackage ../applications/graphics/hugin {
|
||||
};
|
||||
|
||||
hydrogen = callPackage ../applications/audio/hydrogen { };
|
||||
|
||||
i810switch = callPackage ../os-specific/linux/i810switch { };
|
||||
|
||||
icecat3 = lowPrio (import ../applications/networking/browsers/icecat-3 {
|
||||
|
|
Loading…
Reference in New Issue