2014-07-31 14:47:17 +04:00
|
|
|
{ stdenv, fetchgit, alsaLib, fftwSinglePrec, freetype, jack2
|
2013-04-23 01:40:06 +04:00
|
|
|
, libxslt, lv2, pkgconfig, premake3, xlibs }:
|
2012-10-07 15:51:39 +04:00
|
|
|
|
|
|
|
let
|
2015-01-25 17:47:13 +03:00
|
|
|
rev = "3bfddf7f";
|
2012-10-07 15:51:39 +04:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "distrho-${rev}";
|
|
|
|
|
|
|
|
src = fetchgit {
|
2015-01-25 17:47:13 +03:00
|
|
|
url = "https://github.com/DISTRHO/DISTRHO-Ports.git";
|
2012-10-07 15:51:39 +04:00
|
|
|
inherit rev;
|
2015-01-25 17:47:13 +03:00
|
|
|
sha256 = "55dc52921bb757c3213da5ef6cab40909f39be3e3b41ba4c6cd66ad90bfb2e6c";
|
2012-10-07 15:51:39 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2013-04-07 18:23:45 +04:00
|
|
|
sed -e "s#@./scripts#sh scripts#" -i Makefile
|
2012-10-07 15:51:39 +04:00
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs = [
|
2014-07-31 14:47:17 +04:00
|
|
|
alsaLib fftwSinglePrec freetype jack2 pkgconfig premake3
|
2012-10-07 15:51:39 +04: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 18:23:45 +04:00
|
|
|
drowaudio-tremolo eqinox juce_pitcher sDelay TAL-Filter
|
|
|
|
TAL-NoiseMaker TAL-Reverb-2 TAL-Vocoder-2 ThePilgrim
|
2012-10-07 15:51:39 +04: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;
|
2015-01-25 17:47:13 +03:00
|
|
|
|
|
|
|
# The old repo was removed and split into multiple repos. More
|
|
|
|
# work is required to get everything to build and work.
|
|
|
|
broken = true;
|
2012-10-07 15:51:39 +04:00
|
|
|
};
|
|
|
|
}
|