From 1255376d4a69c73fb2ea9827b5fd9d87baa7fe17 Mon Sep 17 00:00:00 2001 From: Mark Nipper Date: Wed, 12 Feb 2025 18:30:52 -0800 Subject: Add build options for gearmulator --- pkgs/gearmulator/default.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'pkgs') 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"; -- cgit v1.2.3