2016-11-01 16:26:36 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, automake, fftw, ladspaH, libxml2, pkgconfig
|
|
|
|
, perlPackages }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "swh-plugins";
|
2016-11-01 16:26:36 +01:00
|
|
|
version = "0.4.17";
|
2010-07-28 20:01:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
src = fetchurl {
|
2016-11-01 16:26:36 +01:00
|
|
|
url = "https://github.com/swh/ladspa/archive/v${version}.tar.gz";
|
|
|
|
sha256 = "1rqwh8xrw6hnp69dg4gy336bfbfpmbx4fjrk0nb8ypjcxkz91c6i";
|
2010-07-28 20:01:17 +02:00
|
|
|
};
|
|
|
|
|
2017-09-05 23:26:13 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ fftw ladspaH libxml2 perlPackages.perl perlPackages.XMLParser ];
|
2016-11-01 16:26:36 +01:00
|
|
|
|
|
|
|
patchPhase = ''
|
|
|
|
patchShebangs .
|
|
|
|
patchShebangs ./metadata/
|
|
|
|
cp ${automake}/share/automake-*/mkinstalldirs .
|
|
|
|
'';
|
2010-07-28 20:01:17 +02:00
|
|
|
|
2016-11-01 16:26:36 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://plugin.org.uk/;
|
2010-07-28 20:01:17 +02:00
|
|
|
description = "LADSPA format audio plugins";
|
2016-11-01 16:26:36 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.magnetophon ];
|
|
|
|
platforms = platforms.linux;
|
2010-07-28 20:01:17 +02:00
|
|
|
};
|
2007-10-29 11:52:04 +01:00
|
|
|
}
|