mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Merge pull request #16344 from matthiasbeyer/fix-supercollider
Fix supercollider
This commit is contained in:
commit
9054f3f83e
@ -3,10 +3,12 @@
|
||||
, libXt, qt, readline
|
||||
, useSCEL ? false, emacs
|
||||
}:
|
||||
|
||||
let optional = stdenv.lib.optional; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let optional = stdenv.lib.optional;
|
||||
ljack2 = libjack2.override { gcc = gcc; };
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "supercollider-3.6.6";
|
||||
|
||||
meta = {
|
||||
@ -29,12 +31,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
cmakeFlags = ''
|
||||
-DSC_WII=OFF
|
||||
-DSC_EL=${if useSCEL then "ON" else "OFF"}
|
||||
-DSC_EL=${if useSCEL then "ON" else "OFF"}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
gcc libjack2 libsndfile fftw curl libXt qt readline ]
|
||||
buildInputs = [
|
||||
gcc ljack2 libsndfile fftw curl libXt qt readline ]
|
||||
++ optional useSCEL emacs;
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchFromGitHub, pkgconfig, python, makeWrapper
|
||||
, bash, libsamplerate, libsndfile, readline
|
||||
, bash, libsamplerate, libsndfile, readline, gcc
|
||||
|
||||
# Optional Dependencies
|
||||
, dbus ? null, pythonDBus ? null, libffado ? null, alsaLib ? null
|
||||
@ -33,7 +33,7 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig python makeWrapper ];
|
||||
buildInputs = [
|
||||
buildInputs = [ gcc
|
||||
python
|
||||
|
||||
libsamplerate libsndfile readline
|
||||
|
Loading…
Reference in New Issue
Block a user