2018-01-26 14:35:00 +01:00
|
|
|
{ stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2
|
2018-11-27 08:32:11 +01:00
|
|
|
, pkgconfig, ladspa-sdk, premake3
|
|
|
|
, libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender
|
|
|
|
}:
|
2012-10-07 13:51:39 +02:00
|
|
|
|
2018-11-27 08:32:11 +01:00
|
|
|
let
|
|
|
|
premakeos = if stdenv.hostPlatform.isDarwin then "osx"
|
|
|
|
else if stdenv.hostPlatform.isWindows then "mingw"
|
|
|
|
else "linux";
|
|
|
|
in stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "distrho-ports";
|
2020-01-14 00:48:11 +01:00
|
|
|
version = "unstable-2019-10-09";
|
2012-10-07 13:51:39 +02:00
|
|
|
|
2018-01-26 14:35:00 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "DISTRHO";
|
|
|
|
repo = "DISTRHO-Ports";
|
2020-01-14 00:48:11 +01:00
|
|
|
rev = "7e62235e809e59770d0d91d2c48c3f50ce7c027a";
|
|
|
|
sha256 = "10hpsjcmk0cgcsic9r1wxyja9x6q9wb8w8254dlrnzyswl54r1f8";
|
2012-10-07 13:51:39 +02:00
|
|
|
};
|
|
|
|
|
2018-11-27 08:32:11 +01:00
|
|
|
configurePhase = ''
|
|
|
|
runHook preConfigure
|
|
|
|
|
|
|
|
sh ./scripts/premake-update.sh ${premakeos}
|
|
|
|
|
|
|
|
runHook postConfigure
|
|
|
|
'';
|
|
|
|
|
2020-01-20 16:03:20 +01:00
|
|
|
postPatch = ''
|
2013-04-07 16:23:45 +02:00
|
|
|
sed -e "s#@./scripts#sh scripts#" -i Makefile
|
2012-10-07 13:51:39 +02:00
|
|
|
'';
|
|
|
|
|
2018-11-27 08:32:11 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig premake3 ];
|
2012-10-07 13:51:39 +02:00
|
|
|
buildInputs = [
|
2018-11-27 08:32:11 +01:00
|
|
|
alsaLib fftwSinglePrec freetype libjack2
|
|
|
|
libX11 libXcomposite libXcursor libXext
|
|
|
|
libXinerama libXrender ladspa-sdk
|
2012-10-07 13:51:39 +02:00
|
|
|
];
|
|
|
|
|
2019-10-27 14:03:25 +01:00
|
|
|
makeFlags = [ "PREFIX=$(out)" ];
|
2012-10-07 13:51:39 +02:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://distrho.sourceforge.net";
|
2012-10-07 13:51:39 +02:00
|
|
|
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
|
|
|
'';
|
2018-09-01 13:32:04 +02:00
|
|
|
license = with licenses; [ gpl2 gpl3 gpl2Plus lgpl3 mit ];
|
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
|
|
|
};
|
|
|
|
}
|