diff --git a/pkgs/applications/audio/qsampler/default.nix b/pkgs/applications/audio/qsampler/default.nix new file mode 100644 index 00000000000..7cfe73c9c75 --- /dev/null +++ b/pkgs/applications/audio/qsampler/default.nix @@ -0,0 +1,24 @@ +{ stdenv, fetchsvn, autoconf, automake, liblscp, libtool, pkgconfig +, qt4 }: + +stdenv.mkDerivation rec { + name = "qsampler-svn-${version}"; + version = "2342"; + + src = fetchsvn { + url = "https://svn.linuxsampler.org/svn/qsampler/trunk"; + rev = "${version}"; + sha256 = "17w3vgpgfmvl11wsd5ndk9zdggl3gbzv3wbd45dyf2al4i0miqnx"; + }; + + buildInputs = [ autoconf automake liblscp libtool pkgconfig qt4 ]; + + preConfigure = "make -f Makefile.svn"; + + meta = with stdenv.lib; { + homepage = http://www.linuxsampler.org; + description = "graphical frontend to LinuxSampler"; + license = licenses.gpl2; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/development/libraries/liblscp/default.nix b/pkgs/development/libraries/liblscp/default.nix new file mode 100644 index 00000000000..33731e5d755 --- /dev/null +++ b/pkgs/development/libraries/liblscp/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchsvn, autoconf, automake, libtool, pkgconfig }: + +stdenv.mkDerivation rec { + name = "liblscp-svn-${version}"; + version = "2319"; + + src = fetchsvn { + url = "https://svn.linuxsampler.org/svn/liblscp/trunk"; + rev = "${version}"; + sha256 = "0jgdy9gi9n8x2pqrbll9158vhx8293lnxv8vzl0szcincslgk7hi"; + }; + + buildInputs = [ autoconf automake libtool pkgconfig ]; + + preConfigure = "make -f Makefile.svn"; + + meta = with stdenv.lib; { + homepage = http://www.linuxsampler.org; + description = "LinuxSampler Control Protocol (LSCP) wrapper library"; + license = licenses.gpl2; + maintainers = [ maintainers.goibhniu ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 8128fb85c38..54988e0f90c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4038,6 +4038,8 @@ let liblrdf = callPackage ../development/libraries/liblrdf {}; + liblscp = callPackage ../development/libraries/liblscp { }; + libev = builderDefsPackage ../development/libraries/libev { }; @@ -7309,6 +7311,8 @@ let qemuImage = callPackage ../applications/virtualization/qemu/linux-img { }; + qsampler = callPackage ../applications/audio/qsampler { }; + qsynth = callPackage ../applications/audio/qsynth { }; qtpfsgui = callPackage ../applications/graphics/qtpfsgui { };