From 7ef26ae64bb62d0c7a5bf356f8cb65e1907d94ee Mon Sep 17 00:00:00 2001 From: Orivej Desh Date: Fri, 17 Jul 2020 14:47:30 +0000 Subject: [PATCH] guitarix: 0.40.0 -> 0.41.0 Unbundle zita resampler and convolver. --- pkgs/applications/audio/guitarix/default.nix | 9 ++------- pkgs/applications/audio/guitarix/fix-build.patch | 10 ---------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 pkgs/applications/audio/guitarix/fix-build.patch diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 9b8475006cc..d74f1c8728f 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -42,16 +42,13 @@ in stdenv.mkDerivation rec { pname = "guitarix"; - version = "0.40.0"; + version = "0.41.0"; src = fetchurl { url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz"; - sha256 = "0q9050499hcj19hvbxb069vxh5yclawjg04vryh46lxm4sfy9g57"; + sha256 = "0qsfbyrrpb3bbdyq68k28mjql7kglxh8nqcw9jvja28x6x9ik5a0"; }; - # see: https://sourceforge.net/p/guitarix/bugs/105 - patches = [ ./fix-build.patch ]; - nativeBuildInputs = [ gettext hicolor-icon-theme @@ -101,8 +98,6 @@ stdenv.mkDerivation rec { "--no-desktop-update" "--enable-nls" "--install-roboto-font" - "--includeresampler" - "--includeconvolver" ] ++ optional optimizationSupport "--optimization"; meta = with stdenv.lib; { diff --git a/pkgs/applications/audio/guitarix/fix-build.patch b/pkgs/applications/audio/guitarix/fix-build.patch deleted file mode 100644 index 4a0e4267776..00000000000 --- a/pkgs/applications/audio/guitarix/fix-build.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/src/LV2/xputty/xfilepicker.cpp -+++ b/src/LV2/xputty/xfilepicker.cpp -@@ -191,6 +191,6 @@ - filepicker->selected_file = NULL; - filepicker->path = NULL; - filepicker->filter = NULL; -- asprintf(&filepicker->path, path); -+ asprintf(&filepicker->path, "%s", path); - assert(filepicker->path != NULL); - }