summary refs log tree commit diff
path: root/pkgs/applications/audio
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2022-05-01 05:16:42 -0500
committerGitHub <noreply@github.com>2022-05-01 05:16:42 -0500
commitc1f57b2fd3367eadf26adf7a709f2fb3ee85693a (patch)
treecec49098143f7d44919a7feebad60bb76513a644 /pkgs/applications/audio
parent6aeac3aaece03859da2214a697a578912aff6eb9 (diff)
parent14631945b2c3e3dc791dc5bc0f93f5773841debd (diff)
downloadnixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar.gz
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar.bz2
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar.lz
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar.xz
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.tar.zst
nixpkgs-c1f57b2fd3367eadf26adf7a709f2fb3ee85693a.zip
Merge pull request #167747 from magnetophon/faustlive
faustlive: 2.5.5 -> 2.5.8
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r--pkgs/applications/audio/faust/faustlive.nix21
1 files changed, 9 insertions, 12 deletions
diff --git a/pkgs/applications/audio/faust/faustlive.nix b/pkgs/applications/audio/faust/faustlive.nix
index 46d63c84314..38d3bafdea6 100644
--- a/pkgs/applications/audio/faust/faustlive.nix
+++ b/pkgs/applications/audio/faust/faustlive.nix
@@ -1,37 +1,34 @@
 { lib, stdenv, fetchFromGitHub
 , llvm_10, qt5, qrencode, libmicrohttpd, libjack2, alsa-lib, faust, curl
-, bc, coreutils, which, libsndfile, pkg-config, libxcb
+, bc, coreutils, which, libsndfile, flac, libogg, libvorbis, libopus, pkg-config, libxcb, cmake, gnutls, libtasn1, p11-kit
 }:
 
 stdenv.mkDerivation rec {
   pname = "faustlive";
-  version = "2.5.5";
+  version = "2.5.8";
   src = fetchFromGitHub {
     owner = "grame-cncm";
     repo = "faustlive";
     rev = version;
-    sha256 = "0qbn05nq170ckycwalkk5fppklc4g457mapr7p7ryrhc1hwzffm9";
+    sha256 = "sha256-dt5YlvaCZ6JiNGPwVXPrKzVGWxnhdyP4lnKgck7ZSF8=";
     fetchSubmodules = true;
   };
 
-  nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook ];
+  nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook cmake ];
 
   buildInputs = [
     llvm_10 qt5.qtbase qrencode libmicrohttpd libjack2 alsa-lib faust curl
-    bc coreutils which libsndfile libxcb
+    bc coreutils which libsndfile flac libogg libvorbis libopus libxcb gnutls libtasn1 p11-kit
   ];
 
   makeFlags = [ "PREFIX=$(out)" ];
 
-  postPatch = "cd Build";
-
-  installPhase = ''
-    install -d "$out/bin"
-    install -d "$out/share/applications"
-    install FaustLive/FaustLive "$out/bin"
-    install rsrc/FaustLive.desktop "$out/share/applications"
+  postInstall = ''
+    wrapProgram $out/bin/FaustLive --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libmicrohttpd libsndfile faust llvm_10 ]}"
   '';
 
+  postPatch = "cd Build";
+
   meta = with lib; {
     description = "A standalone just-in-time Faust compiler";
     longDescription = ''