diff options
author | Cillian de Róiste <goibhniu@fsfe.org> | 2012-10-07 13:51:39 +0200 |
---|---|---|
committer | Cillian de Róiste <goibhniu@fsfe.org> | 2012-10-07 14:06:36 +0200 |
commit | 25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c (patch) | |
tree | 861cf393446c7354acd3b03376d473f5d836b481 /pkgs/applications/audio/distrho | |
parent | 2b31648deed18a7d558204205e0fd222ffbebb6b (diff) | |
download | nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar.gz nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar.bz2 nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar.lz nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar.xz nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.tar.zst nixpkgs-25b4957e4aaaf1a341b683fc85f3ab6b89dd4d8c.zip |
Add the Distrho collection of audio plugins
Diffstat (limited to 'pkgs/applications/audio/distrho')
-rw-r--r-- | pkgs/applications/audio/distrho/default.nix | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix new file mode 100644 index 00000000000..b51c97a6d68 --- /dev/null +++ b/pkgs/applications/audio/distrho/default.nix @@ -0,0 +1,58 @@ +{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio +, libxslt, lv2, pkgconfig, premake, xlibs }: + +let + rev = "7815b3545978e"; +in +stdenv.mkDerivation rec { + name = "distrho-${rev}"; + + src = fetchgit { + url = "git://distrho.git.sf.net/gitroot/distrho/distrho"; + inherit rev; + sha256 = "2e260f16ee67b1166c39e2d55c8dd5593902c8b3d8d86485545ef83139e1e844"; + }; + + patchPhase = '' + sed -e "s#xsltproc#${libxslt}/bin/xsltproc#" -i Makefile + sed -e "s#PREFIX = /usr/local#PREFIX = $out#" -i Makefile + ''; + + buildInputs = [ + alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake + xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext + xlibs.libXinerama xlibs.libXrender + ]; + + buildPhase = '' + sh ./scripts/premake-update.sh linux + make standalone + make lv2 + + # generate lv2 ttl + sh scripts/generate-ttl.sh + ''; + + installPhase = '' + mkdir -p $out/bin + cp bin/standalone/* $out/bin/ + mkdir -p $out/lib/lv2 + cp -a bin/lv2/* $out/lib/lv2/ + ''; + + meta = with stdenv.lib; { + homepage = http://distrho.sourceforge.net; + description = "A collection of cross-platform audio effects and plugins"; + longDescription = '' + Includes: + 3BandEQ bitmangler drowaudio-distortion drowaudio-flanger + drowaudio-tremolo eqinox HybridReverb2 juce_pitcher sDelay + TAL-Filter TAL-NoiseMaker TAL-Reverb-2 TAL-Vocoder-2 ThePilgrim + Wolpertinger argotlunar capsaicin drowaudio-distortionshaper + drowaudio-reverb drumsynth highlife JuceDemoPlugin PingPongPan + TAL-Dub-3 TAL-Filter-2 TAL-Reverb TAL-Reverb-3 TheFunction vex + ''; + maintainers = [ maintainers.goibhniu ]; + platforms = platforms.linux; + }; +} |