bespokesynth: use the packaged version of vst2-sdk
This commit is contained in:
parent
eee2e78a74
commit
80b19f8e49
@ -23,6 +23,7 @@
|
|||||||
libXScrnSaver,
|
libXScrnSaver,
|
||||||
libGL,
|
libGL,
|
||||||
libxcb,
|
libxcb,
|
||||||
|
vst2-sdk,
|
||||||
xcbutil,
|
xcbutil,
|
||||||
libxkbcommon,
|
libxkbcommon,
|
||||||
xcbutilkeysyms,
|
xcbutilkeysyms,
|
||||||
@ -40,20 +41,6 @@
|
|||||||
enableVST2 ? false,
|
enableVST2 ? false,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
|
||||||
# equal to vst-sdk in ../oxefmsynth/default.nix
|
|
||||||
vst-sdk = stdenv.mkDerivation rec {
|
|
||||||
name = "vstsdk3610_11_06_2018_build_37";
|
|
||||||
src = fetchzip {
|
|
||||||
url = "https://web.archive.org/web/20181016150224if_/https://download.steinberg.net/sdk_downloads/${name}.zip";
|
|
||||||
sha256 = "0da16iwac590wphz2sm5afrfj42jrsnkr1bxcy93lj7a369ildkj";
|
|
||||||
};
|
|
||||||
installPhase = ''
|
|
||||||
cp -r . $out
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
in
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "bespokesynth";
|
pname = "bespokesynth";
|
||||||
version = "1.3.0";
|
version = "1.3.0";
|
||||||
@ -88,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
(lib.cmakeBool "BESPOKE_SYSTEM_JSONCPP" true)
|
(lib.cmakeBool "BESPOKE_SYSTEM_JSONCPP" true)
|
||||||
]
|
]
|
||||||
++ lib.optionals enableVST2 [
|
++ lib.optionals enableVST2 [
|
||||||
(lib.cmakeFeature "BESPOKE_VST2_SDK_LOCATION" "${vst-sdk}/VST2_SDK")
|
(lib.cmakeFeature "BESPOKE_VST2_SDK_LOCATION" "${vst2-sdk}")
|
||||||
];
|
];
|
||||||
|
|
||||||
strictDeps = true;
|
strictDeps = true;
|
||||||
@ -185,12 +172,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
meta = {
|
meta = {
|
||||||
description = "Software modular synth with controllers support, scripting and VST";
|
description = "Software modular synth with controllers support, scripting and VST";
|
||||||
homepage = "https://www.bespokesynth.com/";
|
homepage = "https://www.bespokesynth.com/";
|
||||||
license =
|
license = [ lib.licenses.gpl3Plus ];
|
||||||
with lib.licenses;
|
|
||||||
[
|
|
||||||
gpl3Plus
|
|
||||||
]
|
|
||||||
++ lib.optional enableVST2 unfree;
|
|
||||||
maintainers = with lib.maintainers; [
|
maintainers = with lib.maintainers; [
|
||||||
astro
|
astro
|
||||||
tobiasBora
|
tobiasBora
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user