diff options
author | Bart Brouns <bart@magnetophon.nl> | 2020-08-28 13:47:04 +0200 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2020-09-02 04:56:57 +0000 |
commit | e0baa46feac7bd99c07407624ef3edbe29eb8919 (patch) | |
tree | 4768538166b865c9c4450aa79a37ccd41942cacd /pkgs/applications/audio/surge | |
parent | f68e68497fa6e44a6b7e6e24be918eb94e4025c4 (diff) |
surge: 1.6.6 -> 1.7.1
Diffstat (limited to 'pkgs/applications/audio/surge')
-rw-r--r-- | pkgs/applications/audio/surge/default.nix | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/pkgs/applications/audio/surge/default.nix b/pkgs/applications/audio/surge/default.nix index 014134c43fb73..216caec9b1c62 100644 --- a/pkgs/applications/audio/surge/default.nix +++ b/pkgs/applications/audio/surge/default.nix @@ -1,22 +1,22 @@ { stdenv, fetchFromGitHub, premake5, pkgconfig, cmake ,cairo, libxkbcommon, libxcb, xcb-util-cursor, xcbutilkeysyms, ncurses, which, getopt -,python, gnome3, lato }: +,python, gnome3, lato, pcre, libpthreadstubs, libXdmcp, xcbutilrenderutil, xcbutilimage, libsndfile }: stdenv.mkDerivation rec { pname = "surge"; - version = "1.6.6"; + version = "1.7.1"; src = fetchFromGitHub { owner = "surge-synthesizer"; repo = pname; rev = "release_${version}"; - sha256 = "0al021f516ybhnp3lhqx8i6c6hpfaw3gqfwwxx3lx3hh4b8kjfjw"; + sha256 = "1jhk8iaqh89dnci4446b47315v2lc8gclraygk8m9jl20zpjxl0l"; fetchSubmodules = true; }; nativeBuildInputs = [ premake5 pkgconfig cmake ncurses which getopt python ]; - buildInputs = [ cairo libxkbcommon libxcb xcb-util-cursor xcbutilkeysyms gnome3.zenity lato ]; + buildInputs = [ cairo libxkbcommon libxcb xcb-util-cursor xcbutilkeysyms gnome3.zenity lato pcre libpthreadstubs libXdmcp xcbutilrenderutil xcbutilimage libsndfile ]; buildFlags = [ "config=release_x64" ]; @@ -29,16 +29,15 @@ stdenv.mkDerivation rec { substituteInPlace src/common/gui/PopupEditorDialog.cpp --replace zenity ${gnome3.zenity}/bin/zenity ''; - configurePhase = '' - ./build-linux.sh premake - python scripts/linux/emit-vector-piggy.py . - ''; + buildPhase = '' + ./build-linux.sh build; + ''; installPhase = '' mkdir -p $out/lib/lv2 - cp -r target/lv2/Release/Surge.lv2/ $out/lib/lv2 - mkdir -p $out/lib/vst - cp target/vst3/Release/Surge.so $out/lib/vst + cp -r buildlin/surge_products/Surge.lv2/ $out/lib/lv2 + mkdir -p $out/lib/vst3 + cp -r buildlin/surge_products/Surge.vst3/ $out/lib/vst3 mkdir -p $out/share/surge cp -r resources/data/* $out/share/surge/ ''; @@ -46,7 +45,7 @@ stdenv.mkDerivation rec { doInstallCheck = true; installCheckPhase = '' ./build-linux.sh build -p headless - ./target/headless/Release/Surge/Surge-Headless + ./buildlin/surge-headless ''; meta = with stdenv.lib; { |