summary refs log tree commit diff
path: root/pkgs/applications/audio/lsp-plugins
diff options
context:
space:
mode:
authorBart Brouns <bart@magnetophon.nl>2019-12-23 22:32:43 +0100
committerBart Brouns <bart@magnetophon.nl>2019-12-24 21:10:09 +0100
commit5aa18d71ff979b79372e03ede3a35720a49dec83 (patch)
tree08c370e25ac62e96189d181df95adf106386a11e /pkgs/applications/audio/lsp-plugins
parent9754ee33e6effa92f88c9b525fd99c259058cbfb (diff)
downloadnixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar.gz
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar.bz2
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar.lz
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar.xz
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.tar.zst
nixpkgs-5aa18d71ff979b79372e03ede3a35720a49dec83.zip
lsp-plugins: 1.1.10 -> 1.1.13
Diffstat (limited to 'pkgs/applications/audio/lsp-plugins')
-rw-r--r--pkgs/applications/audio/lsp-plugins/default.nix28
1 files changed, 8 insertions, 20 deletions
diff --git a/pkgs/applications/audio/lsp-plugins/default.nix b/pkgs/applications/audio/lsp-plugins/default.nix
index 47d8f165ad0..d5d893891ff 100644
--- a/pkgs/applications/audio/lsp-plugins/default.nix
+++ b/pkgs/applications/audio/lsp-plugins/default.nix
@@ -1,40 +1,28 @@
 { stdenv, fetchFromGitHub, pkgconfig, makeWrapper
 , libsndfile, jack2Full
 , libGLU, libGL, lv2, cairo
-, ladspaH, php, expat }:
+, ladspaH, php }:
 
 stdenv.mkDerivation rec {
   pname = "lsp-plugins";
-  version = "1.1.10";
+  version = "1.1.13";
 
   src = fetchFromGitHub {
     owner = "sadko4u";
     repo = pname;
     rev = "${pname}-${version}";
-    sha256 = "09gmwzh1gq1q2lxn8fc1bpdh02h8vr7r0i040c1nx256wgfsarqb";
+    sha256 = "00mhrr873kgcnqy3q0yi1r5zacfcvz7fqpzsmfhw5d095jm970al";
   };
 
-  nativeBuildInputs = [ pkgconfig php expat ];
-  buildInputs = [ jack2Full libsndfile libGLU libGL lv2 cairo ladspaH makeWrapper ];
+  nativeBuildInputs = [ pkgconfig php makeWrapper ];
+  buildInputs = [ jack2Full libsndfile libGLU libGL lv2 cairo ladspaH ];
 
   makeFlags = [
-    "BIN_PATH=$(out)/bin"
-    "LIB_PATH=$(out)/lib"
-    "DOC_PATH=$(out)/share/doc"
+    "PREFIX=${placeholder ''out''}"
   ];
 
   NIX_CFLAGS_COMPILE = [ "-DLSP_NO_EXPERIMENTAL" ];
 
-  patchPhase = ''
-    runHook prePatch
-    substituteInPlace Makefile --replace "/usr/lib" "$out/lib"
-    substituteInPlace ./include/container/jack/main.h --replace "/usr/lib" "$out/lib"
-    substituteInPlace ./include/container/vst/main.h --replace "/usr/lib" "$out/lib"
-    # for https://github.com/sadko4u/lsp-plugins/issues/7#issuecomment-426561549 :
-    sed -i '/X11__NET_WM_WINDOW_TYPE_DOCK;/d' ./src/ui/ws/x11/X11Window.cpp
-    runHook postPatch
-  '';
-
   doCheck = true;
 
   checkPhase = ''
@@ -45,7 +33,7 @@ stdenv.mkDerivation rec {
     runHook postCheck
   '';
 
-  buildFlags = "release";
+  buildFlags = [ "release" ];
 
   meta = with stdenv.lib;
     { description = "Collection of open-source audio plugins";
@@ -154,6 +142,6 @@ stdenv.mkDerivation rec {
       homepage = https://lsp-plug.in;
       maintainers = with maintainers; [ magnetophon ];
       license = licenses.gpl2;
-      platforms = [ "x86_64-linux" ];
+      platforms = platforms.linux;
     };
 }