vcv-rack: 1.1.5 -> 1.1.6
This commit is contained in:
parent
60e1709bae
commit
001f08fb34
@ -3,17 +3,10 @@
|
|||||||
, libzip, rtaudio, rtmidi, speex, libsamplerate }:
|
, libzip, rtaudio, rtmidi, speex, libsamplerate }:
|
||||||
|
|
||||||
let
|
let
|
||||||
glfw-git = glfw.overrideAttrs (oldAttrs: rec {
|
# The package repo vendors some of the package dependencies as submodules.
|
||||||
name = "glfw-git-${version}";
|
# Others are downloaded with `make deps`. Due to previous issues with the
|
||||||
version = "2019-06-30";
|
# `glfw` submodule (see above) and because we can not access the network when
|
||||||
src = fetchFromGitHub {
|
# building in a sandbox, we fetch the dependency source manually.
|
||||||
owner = "glfw";
|
|
||||||
repo = "glfw";
|
|
||||||
rev = "d25248343e248337284dfbe5ecd1eddbd37ae66d";
|
|
||||||
sha256 = "0gbz353bfmqbpm0af2nqf5draz3k4f3lqwiqj68s8nwn7878aqm3";
|
|
||||||
};
|
|
||||||
buildInputs = oldAttrs.buildInputs ++ [ libXext libXi ];
|
|
||||||
});
|
|
||||||
pfft-source = fetchFromBitbucket {
|
pfft-source = fetchFromBitbucket {
|
||||||
owner = "jpommier";
|
owner = "jpommier";
|
||||||
repo = "pffft";
|
repo = "pffft";
|
||||||
@ -47,24 +40,22 @@ let
|
|||||||
in
|
in
|
||||||
with stdenv.lib; stdenv.mkDerivation rec {
|
with stdenv.lib; stdenv.mkDerivation rec {
|
||||||
pname = "VCV-Rack";
|
pname = "VCV-Rack";
|
||||||
version = "1.1.5";
|
version = "1.1.6";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "VCVRack";
|
owner = "VCVRack";
|
||||||
repo = "Rack";
|
repo = "Rack";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1g3mkghgiycbxyvzjhanc1b10jynkfkw03bpnha06qgd6gd9wv7k";
|
sha256 = "0ji64prr74qzxf5bx1sw022kbslx9nzll16lmk5in78hbl137b3i";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./rack-minimize-vendoring.patch
|
./rack-minimize-vendoring.patch
|
||||||
# We patch out a call to a custom function, that is not needed on Linux.
|
|
||||||
# This avoids needing a patched version of glfw. The version we previously used disappeared
|
|
||||||
# on GitHub. See https://github.com/NixOS/nixpkgs/issues/71189
|
|
||||||
./remove-custom-glfw-function.patch
|
|
||||||
];
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
|
# As we can't use `make dep` to set up the dependencies (as explained
|
||||||
|
# above), we do it here manually
|
||||||
mkdir -p dep/include
|
mkdir -p dep/include
|
||||||
|
|
||||||
cp -r ${pfft-source} dep/jpommier-pffft-source
|
cp -r ${pfft-source} dep/jpommier-pffft-source
|
||||||
@ -86,7 +77,7 @@ with stdenv.lib; stdenv.mkDerivation rec {
|
|||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
nativeBuildInputs = [ makeWrapper pkgconfig ];
|
||||||
buildInputs = [ glfw-git alsaLib curl glew gtk2-x11 jansson libjack2 libzip rtaudio rtmidi speex libsamplerate ];
|
buildInputs = [ alsaLib curl glew glfw gtk2-x11 jansson libjack2 libsamplerate libzip rtaudio rtmidi speex ];
|
||||||
|
|
||||||
buildFlags = "Rack";
|
buildFlags = "Rack";
|
||||||
|
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
diff --git a/src/main.cpp b/src/main.cpp
|
|
||||||
index 0954ae6..a8299f7 100644
|
|
||||||
--- a/src/main.cpp
|
|
||||||
+++ b/src/main.cpp
|
|
||||||
@@ -162,11 +162,6 @@ int main(int argc, char* argv[]) {
|
|
||||||
INFO("Initializing app");
|
|
||||||
appInit();
|
|
||||||
|
|
||||||
- const char* openedFilename = glfwGetOpenedFilename();
|
|
||||||
- if (openedFilename) {
|
|
||||||
- patchPath = openedFilename;
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
if (!settings::headless) {
|
|
||||||
APP->patch->init(patchPath);
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user