mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
faustlive: 2.5.5 -> 2.5.8
This commit is contained in:
parent
2bc410afc4
commit
14631945b2
@ -1,37 +1,34 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub
|
{ lib, stdenv, fetchFromGitHub
|
||||||
, llvm_10, qt5, qrencode, libmicrohttpd, libjack2, alsa-lib, faust, curl
|
, 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 {
|
stdenv.mkDerivation rec {
|
||||||
pname = "faustlive";
|
pname = "faustlive";
|
||||||
version = "2.5.5";
|
version = "2.5.8";
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grame-cncm";
|
owner = "grame-cncm";
|
||||||
repo = "faustlive";
|
repo = "faustlive";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "0qbn05nq170ckycwalkk5fppklc4g457mapr7p7ryrhc1hwzffm9";
|
sha256 = "sha256-dt5YlvaCZ6JiNGPwVXPrKzVGWxnhdyP4lnKgck7ZSF8=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook ];
|
nativeBuildInputs = [ pkg-config qt5.wrapQtAppsHook cmake ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
llvm_10 qt5.qtbase qrencode libmicrohttpd libjack2 alsa-lib faust curl
|
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)" ];
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
|
|
||||||
postPatch = "cd Build";
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/FaustLive --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libmicrohttpd libsndfile faust llvm_10 ]}"
|
||||||
installPhase = ''
|
|
||||||
install -d "$out/bin"
|
|
||||||
install -d "$out/share/applications"
|
|
||||||
install FaustLive/FaustLive "$out/bin"
|
|
||||||
install rsrc/FaustLive.desktop "$out/share/applications"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postPatch = "cd Build";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A standalone just-in-time Faust compiler";
|
description = "A standalone just-in-time Faust compiler";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user