2012-10-07 12:51:39 +01:00
|
|
|
{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jackaudio
|
2013-04-22 22:40:06 +01:00
|
|
|
, libxslt, lv2, pkgconfig, premake3, xlibs }:
|
2012-10-07 12:51:39 +01:00
|
|
|
|
|
|
|
let
|
2013-04-07 15:23:45 +01:00
|
|
|
rev = "99efbf0b";
|
2012-10-07 12:51:39 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "distrho-${rev}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2013-04-07 15:23:45 +01:00
|
|
|
url = "https://github.com/falkTX/DISTRHO.git";
|
2012-10-07 12:51:39 +01:00
|
|
|
inherit rev;
|
2013-04-07 15:23:45 +01:00
|
|
|
sha256 = "ed26a6edca19ebb8260b3dc042f69c32162e1d91179fb9d22da42ec7131936f9";
|
2012-10-07 12:51:39 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2013-04-07 15:23:45 +01:00
|
|
|
sed -e "s#@./scripts#sh scripts#" -i Makefile
|
2012-10-07 12:51:39 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
2013-04-22 22:40:06 +01:00
|
|
|
alsaLib fftwSinglePrec freetype jackaudio pkgconfig premake3
|
2012-10-07 12:51:39 +01:00
|
|
|
xlibs.libX11 xlibs.libXcomposite xlibs.libXcursor xlibs.libXext
|
|
|
|
xlibs.libXinerama xlibs.libXrender
|
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
sh ./scripts/premake-update.sh linux
|
|
|
|
make standalone
|
|
|
|
make lv2
|
|
|
|
'';
|
|
|
|
|
|
|
|
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
|
2013-04-07 15:23:45 +01:00
|
|
|
drowaudio-tremolo eqinox juce_pitcher sDelay TAL-Filter
|
|
|
|
TAL-NoiseMaker TAL-Reverb-2 TAL-Vocoder-2 ThePilgrim
|
2012-10-07 12:51:39 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|