about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetopon.nl>2015-05-13 16:33:17 +0200
committerBart Brouns <bart@magnetopon.nl>2015-05-13 22:09:48 +0200
commit413c17e43099f5f1c0959168b9a827d66e2d4e14 (patch)
tree2e8fc9a0bcd641a76814928de8f76afca6b94fe5 /pkgs
parent020e06e410e0675a2cfa32c8f7bb75368de835d1 (diff)
downloadnixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.gz
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.bz2
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.lz
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.xz
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.tar.zst
nixlib-413c17e43099f5f1c0959168b9a827d66e2d4e14.zip
add ladspa-sdk, move ladspaH
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/applications/audio/ladspa-sdk/default.nix28
-rw-r--r--pkgs/applications/audio/ladspa-sdk/ladspah.nix (renamed from pkgs/applications/audio/ladspa-plugins/ladspah.nix)0
-rw-r--r--pkgs/top-level/all-packages.nix4
3 files changed, 31 insertions, 1 deletions
diff --git a/pkgs/applications/audio/ladspa-sdk/default.nix b/pkgs/applications/audio/ladspa-sdk/default.nix
new file mode 100644
index 000000000000..c333492fd13e
--- /dev/null
+++ b/pkgs/applications/audio/ladspa-sdk/default.nix
@@ -0,0 +1,28 @@
+{ stdenv, fetchurl }:
+stdenv.mkDerivation rec {
+  name = "ladspa-sdk-${version}";
+  version = "1.13";
+  src = fetchurl {
+    url = "http://www.ladspa.org/download/ladspa_sdk_${version}.tgz";
+    sha256 = "0srh5n2l63354bc0srcrv58rzjkn4gv8qjqzg8dnq3rs4m7kzvdm";
+  };
+
+  patchPhase = ''
+    cd src
+    sed -i 's@/usr/@$(out)/@g'  makefile
+    sed -i 's@-mkdirhier@mkdir -p@g'  makefile
+  '';
+
+  meta = {
+    description = "The SDK for the LADSPA audio plugin standard";
+    longDescription = ''
+      The LADSPA SDK, including the ladspa.h API header file,
+      ten example LADSPA plugins and 
+      three example programs (applyplugin, analyseplugin and listplugins).
+    '';
+    homepage = http://www.ladspa.org/ladspa_sdk/overview.html;
+    license = stdenv.lib.licenses.lgpl2;
+    maintainers = [ stdenv.lib.maintainers.magnetophon ];
+    platforms = stdenv.lib.platforms.linux;
+  };
+}
diff --git a/pkgs/applications/audio/ladspa-plugins/ladspah.nix b/pkgs/applications/audio/ladspa-sdk/ladspah.nix
index 8c4d8a8c1ed5..8c4d8a8c1ed5 100644
--- a/pkgs/applications/audio/ladspa-plugins/ladspah.nix
+++ b/pkgs/applications/audio/ladspa-sdk/ladspah.nix
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index d6fcb1c0f95f..d8eb552f17f5 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -11384,12 +11384,14 @@ let
 
   lash = callPackage ../applications/audio/lash { };
 
-  ladspaH = callPackage ../applications/audio/ladspa-plugins/ladspah.nix { };
+  ladspaH = callPackage ../applications/audio/ladspa-sdk/ladspah.nix { };
 
   ladspaPlugins = callPackage ../applications/audio/ladspa-plugins {
     fftw = fftwSinglePrec;
   };
 
+  ladspa-sdk = callPackage ../applications/audio/ladspa-sdk { };
+
   caps = callPackage ../applications/audio/caps { };
 
   lastwatch = callPackage ../applications/audio/lastwatch { };