mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #2426 from henrytill/supercollider
supercollider: add Emacs support (aka SCEL)
This commit is contained in:
commit
a18757c0a4
@ -1,9 +1,12 @@
|
||||
{ stdenv, fetchurl, cmake, pkgconfig
|
||||
, jackaudio, libsndfile, fftw, curl
|
||||
, libXt, qt
|
||||
, libXt, qt, readline
|
||||
, useSCEL ? false, emacs
|
||||
}:
|
||||
|
||||
let optional = stdenv.lib.optional; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "supercollider-3.6.6";
|
||||
|
||||
meta = {
|
||||
@ -24,15 +27,14 @@ stdenv.mkDerivation rec {
|
||||
--replace Q_WS_X11 Q_GTK_STYLE
|
||||
'';
|
||||
|
||||
cmakeFlags = [
|
||||
"-DSC_WII=OFF"
|
||||
"-DSC_EL=OFF"
|
||||
];
|
||||
cmakeFlags = ''
|
||||
-DSC_WII=OFF
|
||||
-DSC_EL=${if useSCEL then "ON" else "OFF"}
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ cmake pkgconfig ];
|
||||
|
||||
buildInputs = [
|
||||
jackaudio libsndfile fftw curl
|
||||
libXt qt
|
||||
];
|
||||
buildInputs = [
|
||||
jackaudio libsndfile fftw curl libXt qt readline ]
|
||||
++ optional useSCEL emacs;
|
||||
}
|
||||
|
@ -3544,6 +3544,8 @@ let
|
||||
fftw = fftwSinglePrec;
|
||||
};
|
||||
|
||||
supercollider_scel = supercollider.override { useSCEL = true; };
|
||||
|
||||
sysPerl = callPackage ../development/interpreters/perl/sys-perl { };
|
||||
|
||||
tcl = callPackage ../development/interpreters/tcl { };
|
||||
|
Loading…
Reference in New Issue
Block a user