guitarix: 0.40.0 -> 0.41.0

Unbundle zita resampler and convolver.
This commit is contained in:
Orivej Desh 2020-07-17 14:47:30 +00:00
parent 942b6411da
commit 7ef26ae64b
2 changed files with 2 additions and 17 deletions

View file

@ -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; {

View file

@ -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);
}