aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/gearmulator/default.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/pkgs/gearmulator/default.nix b/pkgs/gearmulator/default.nix
index e391f6b..a0e6fe0 100644
--- a/pkgs/gearmulator/default.nix
+++ b/pkgs/gearmulator/default.nix
@@ -50,6 +50,29 @@ stdenv.mkDerivation rec {
mesa
];
+ NIX_LDFLAGS = (
+ toString [
+ "-lX11"
+ "-lXcomposite"
+ "-lXcursor"
+ "-lXext"
+ "-lXinerama"
+ "-lXrandr"
+ ]
+ );
+
+ cmakeFlags = [
+ "-Dgearmulator_BUILD_FX_PLUGIN=ON"
+ "-Dgearmulator_BUILD_JUCEPLUGIN=ON"
+ "-Dgearmulator_BUILD_JUCEPLUGIN_CLAP=ON"
+ "-Dgearmulator_BUILD_JUCEPLUGIN_LV2=ON"
+ "-Dgearmulator_SYNTH_NODALRED2X=ON"
+ "-Dgearmulator_SYNTH_OSIRUS=ON"
+ "-Dgearmulator_SYNTH_OSTIRUS=ON"
+ "-Dgearmulator_SYNTH_VAVRA=ON"
+ "-Dgearmulator_SYNTH_XENIA=ON"
+ ];
+
meta = {
description = "Emulation of Motorola 56300 family DSP synths";
homepage = "https://github.com/dsp56300/gearmulator";