From 5f5d21bbeb0e525f1a3b231f362a05c67f5340a5 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Sat, 31 Mar 2012 20:22:19 +0000 Subject: [PATCH] Adding Qsynth (GUI) and fluidsynth (CLI), Soundfont2 based synthesizer svn path=/nixpkgs/trunk/; revision=33504 --- .../applications/audio/fluidsynth/default.nix | 21 +++++++++++++++++++ pkgs/applications/audio/qsynth/default.nix | 20 ++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 3 files changed, 45 insertions(+) create mode 100644 pkgs/applications/audio/fluidsynth/default.nix create mode 100644 pkgs/applications/audio/qsynth/default.nix diff --git a/pkgs/applications/audio/fluidsynth/default.nix b/pkgs/applications/audio/fluidsynth/default.nix new file mode 100644 index 000000000000..70a405b3fd6d --- /dev/null +++ b/pkgs/applications/audio/fluidsynth/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, alsaLib, glib, jackaudio, libsndfile, pkgconfig +, pulseaudio }: + +stdenv.mkDerivation rec { + name = "fluidsynth-${version}"; + version = "1.1.5"; + + src = fetchurl { + url = "mirror://sourceforge/fluidsynth/${name}.tar.bz2"; + sha256 = "1x73a5rsyvfmh1j0484kzgnk251q61g1g2jdja673l8fizi0xd24"; + }; + + buildInputs = [ alsaLib glib jackaudio libsndfile pkgconfig pulseaudio ]; + + meta = with stdenv.lib; { + description = "real-time software synthesizer based on the SoundFont 2 specifications"; + homepage = http://www.fluidsynth.org; + license = licenses.lgpl2; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/applications/audio/qsynth/default.nix b/pkgs/applications/audio/qsynth/default.nix new file mode 100644 index 000000000000..96221348f88c --- /dev/null +++ b/pkgs/applications/audio/qsynth/default.nix @@ -0,0 +1,20 @@ +{ stdenv, fetchurl, alsaLib, fluidsynth, jackaudio, qt4 }: + +stdenv.mkDerivation rec { + name = "qsynth-${version}"; + version = "0.3.6"; + + src = fetchurl { + url = "mirror://sourceforge/qsynth/${name}.tar.gz"; + sha256 = "0g7vaffpgs7v2p71ml5p7fzxz50mhlaklgf9zk4wbfk1hslqv5mm"; + }; + + buildInputs = [ alsaLib fluidsynth jackaudio qt4 ]; + + meta = with stdenv.lib; { + description = "Fluidsynth GUI"; + homepage = http://sourceforge.net/projects/qsynth; + license = licenses.gpl2Plus; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index abf3c9e7302d..ef1029fb41fe 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -6651,6 +6651,8 @@ let inherit stdenv fetchurl openssl; }; + fluidsynth = callPackage ../applications/audio/fluidsynth { }; + fossil = callPackage ../applications/version-management/fossil { }; goldendict = callPackage ../applications/misc/goldendict { }; @@ -7274,6 +7276,8 @@ let qemuImage = callPackage ../applications/virtualization/qemu/linux-img { }; + qsynth = callPackage ../applications/audio/qsynth { }; + qtpfsgui = callPackage ../applications/graphics/qtpfsgui { }; qtractor = callPackage ../applications/audio/qtractor { };