2018-01-26 14:35:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2
|
2018-07-21 02:44:44 +02:00
|
|
|
, pkgconfig, premake3, xorg, ladspa-sdk }:
|
2012-10-07 13:51:39 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-24 09:38:25 +02:00
|
|
|
name = "distrho-ports-${version}";
|
|
|
|
version = "2018-04-16";
|
2012-10-07 13:51:39 +02:00
|
|
|
|
2018-01-26 14:35:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DISTRHO";
|
|
|
|
repo = "DISTRHO-Ports";
|
2018-08-24 09:38:25 +02:00
|
|
|
rev = version;
|
|
|
|
sha256 = "0l4zwl4mli8jzch32a1fh7c88r9q17xnkxsdw17ds5hadnxlk12v";
|
2012-10-07 13:51:39 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
patchPhase = ''
|
2013-04-07 16:23:45 +02:00
|
|
|
sed -e "s#@./scripts#sh scripts#" -i Makefile
|
2012-10-07 13:51:39 +02:00
|
|
|
'';
|
|
|
|
|
2017-09-14 21:24:37 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2012-10-07 13:51:39 +02:00
|
|
|
buildInputs = [
|
2017-09-14 21:24:37 +02:00
|
|
|
alsaLib fftwSinglePrec freetype libjack2 premake3
|
2015-09-15 11:26:18 +02:00
|
|
|
xorg.libX11 xorg.libXcomposite xorg.libXcursor xorg.libXext
|
|
|
|
xorg.libXinerama xorg.libXrender ladspa-sdk
|
2012-10-07 13:51:39 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
buildPhase = ''
|
|
|
|
sh ./scripts/premake-update.sh linux
|
|
|
|
make lv2
|
|
|
|
'';
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $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:
|
2017-12-08 20:17:16 +01:00
|
|
|
Dexed drowaudio-distortion drowaudio-distortionshaper drowaudio-flanger
|
|
|
|
drowaudio-reverb drowaudio-tremolo drumsynth EasySSP eqinox HiReSam
|
|
|
|
JuceDemoPlugin KlangFalter LUFSMeter LUFSMeterMulti Luftikus Obxd
|
|
|
|
PitchedDelay ReFine StereoSourceSeparation TAL-Dub-3 TAL-Filter
|
|
|
|
TAL-Filter-2 TAL-NoiseMaker TAL-Reverb TAL-Reverb-2 TAL-Reverb-3
|
|
|
|
TAL-Vocoder-2 TheFunction ThePilgrim Vex Wolpertinger
|
2012-10-07 13:51:39 +02:00
|
|
|
'';
|
|
|
|
maintainers = [ maintainers.goibhniu ];
|
2018-08-24 09:38:25 +02:00
|
|
|
platforms = [ "x86_64-linux" ];
|
2012-10-07 13:51:39 +02:00
|
|
|
};
|
|
|
|
}
|