Adding LinuxSampler and dependencies, using SVN version for SFZ support

svn path=/nixpkgs/trunk/; revision=33865
This commit is contained in:
Cillian de Roiste 2012-04-20 20:39:42 +00:00
parent 34b058dcce
commit 45ac14621a
4 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchsvn, autoconf, automake, docbook_xml_dtd_45
, docbook_xsl, gtkmm, intltool, libgig, libsndfile, libtool, libxslt
, pkgconfig }:
stdenv.mkDerivation rec {
name = "gigedit-svn-${version}";
version = "2342";
src = fetchsvn {
url = "https://svn.linuxsampler.org/svn/gigedit/trunk";
rev = "${version}";
sha256 = "0wi94gymj0ns5ck9lq1d970gb4gnzrq4b57j5j7k3d6185yg2gjs";
};
patchPhase = "sed -e 's/which/type -P/g' -i Makefile.cvs";
preConfigure = "make -f Makefile.cvs";
buildInputs = [
autoconf automake docbook_xml_dtd_45 docbook_xsl gtkmm intltool
libgig libsndfile libtool libxslt pkgconfig
];
meta = with stdenv.lib; {
homepage = http://www.linuxsampler.org;
description = "Gigasampler file access library";
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,40 @@
{ stdenv, fetchsvn, alsaLib, asio, autoconf, automake, bison
, jackaudio, libgig, libsndfile, libtool , pkgconfig }:
stdenv.mkDerivation rec {
name = "linuxsampler-svn-${version}";
version = "2340";
src = fetchsvn {
url = "https://svn.linuxsampler.org/svn/linuxsampler/trunk";
rev = "${version}";
sha256 = "0zsrvs9dwwhjx733m45vfi11yjkqv33z8qxn2i9qriq5zs1f0kd7";
};
patchPhase = "sed -e 's/which/type -P/g' -i scripts/generate_parser.sh";
preConfigure = "make -f Makefile.cvs";
buildInputs = [
alsaLib asio autoconf automake bison jackaudio libgig libsndfile
libtool pkgconfig
];
meta = with stdenv.lib; {
homepage = http://www.linuxsampler.org;
description = "Sampler backend";
longDescription = ''
Includes sampler engine, audio and MIDI drivers, network layer
(LSCP) API and native C++ API.
LinuxSampler is licensed under the GNU GPL with the exception
that USAGE of the source code, libraries and applications FOR
COMMERCIAL HARDWARE OR SOFTWARE PRODUCTS IS NOT ALLOWED without
prior written permission by the LinuxSampler authors. If you
have questions on the subject, that are not yet covered by the
FAQ, please contact us.
'';
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -0,0 +1,23 @@
{ stdenv, fetchsvn, autoconf, automake, libsndfile, libtool, pkgconfig }:
stdenv.mkDerivation rec {
name = "libgig-svn-${version}";
version = "2334";
src = fetchsvn {
url = "https://svn.linuxsampler.org/svn/libgig/trunk";
rev = "${version}";
sha256 = "0i7sj3zm6banl5avjdxblx0mlbxxzbsbr4x5hsl2fhrdsv5dnxhc";
};
buildInputs = [ autoconf automake libsndfile libtool pkgconfig ];
preConfigure = "make -f Makefile.cvs";
meta = with stdenv.lib; {
homepage = http://www.linuxsampler.org;
description = "Gigasampler file access library";
license = licenses.gpl2;
maintainers = [ maintainers.goibhniu ];
};
}

View File

@ -4025,6 +4025,8 @@ let
libgdata = (newScope gnome) ../development/libraries/libgdata {};
libgdata_0_6 = (newScope gnome) ../development/libraries/libgdata/0.6.nix {};
libgig = callPackage ../development/libraries/libgig { };
libgnome_keyring = callPackage ../development/libraries/libgnome-keyring { };
libgnome_keyring3 = callPackage ../development/libraries/libgnome-keyring/3.x.nix { };
@ -6879,6 +6881,8 @@ let
geeqie = callPackage ../applications/graphics/geeqie { };
gigedit = callPackage ../applications/audio/gigedit { };
gqview = callPackage ../applications/graphics/gqview { };
gmtk = callPackage ../applications/networking/browsers/mozilla-plugins/gmtk {
@ -7049,6 +7053,8 @@ let
inherit (gnome) libglade;
};
linuxsampler = callPackage ../applications/audio/linuxsampler { };
lmms = callPackage ../applications/audio/lmms { };
lxdvdrip = callPackage ../applications/video/lxdvdrip { };