Merge pull request #89545 from magnetophon/lv2_1_18_0
This commit is contained in:
commit
e7e68b2d8a
@ -2,13 +2,14 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "artyFX";
|
pname = "artyFX";
|
||||||
version = "1.3";
|
# Fix build with lv2 1.18: https://github.com/openAVproductions/openAV-ArtyFX/pull/41/commits/492587461b50d140455aa3c98d915eb8673bebf0
|
||||||
|
version = "unstable-2020-04-28";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "openAVproductions";
|
owner = "openAVproductions";
|
||||||
repo = "openAV-ArtyFX";
|
repo = "openAV-ArtyFX";
|
||||||
rev = "release-${version}";
|
rev = "492587461b50d140455aa3c98d915eb8673bebf0";
|
||||||
sha256 = "012hcy1mxl7gs2lipfcqp5x0xv1azb9hjrwf0h59yyxnzx96h7c9";
|
sha256 = "0wwg8ivnpyy0235bapjy4g0ij85zq355jwi6c1nkrac79p4z9ail";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
|
{ stdenv, fetchurl, fetchpatch, alsaLib, expat, glib, libjack2, libXext, libX11, libpng
|
||||||
, libpthreadstubs, libsmf, libsndfile, lv2, pkgconfig, zita-resampler
|
, libpthreadstubs, libsmf, libsndfile, lv2, pkgconfig, zita-resampler
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0bpbkzcr3znbwfdk79c14n5k5hh80iqlk2nc03q95vhimbadk8k7";
|
sha256 = "0bpbkzcr3znbwfdk79c14n5k5hh80iqlk2nc03q95vhimbadk8k7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Fix build for lv2 1.18.0
|
||||||
|
(fetchpatch {
|
||||||
|
url = "http://cgit.drumgizmo.org/plugingizmo.git/patch/?id=be64ddf9da525cd5c6757464efc966052731ba71";
|
||||||
|
sha256 = "17w8g78i5avssc7m8rpw64ka3rai8dff81wfzir9cpxp8s2h44qf";
|
||||||
|
extraPrefix = "plugin/plugingizmo/";
|
||||||
|
stripLen = 1;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
configureFlags = [ "--enable-lv2" ];
|
configureFlags = [ "--enable-lv2" ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -19,6 +19,12 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Fix build with lv2 1.18: https://sourceforge.net/p/eq10q/bugs/23/
|
||||||
|
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
||||||
|
-exec sed -i {} -e 's/const _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
||||||
|
'';
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=$(out)" ];
|
installFlags = [ "DESTDIR=$(out)" ];
|
||||||
|
|
||||||
fixupPhase = ''
|
fixupPhase = ''
|
||||||
|
@ -20,19 +20,19 @@ with stdenv.lib.strings;
|
|||||||
|
|
||||||
let
|
let
|
||||||
|
|
||||||
version = "unstable-2020-03-20";
|
version = "unstable-2020-06-08";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grame-cncm";
|
owner = "grame-cncm";
|
||||||
repo = "faust";
|
repo = "faust";
|
||||||
rev = "2782088d4485f1c572755f41e7a072b41cb7148a";
|
rev = "f0037e289987818b65d3f6fb1ad943aaad2a2b28";
|
||||||
sha256 = "1l7bi2mq10s5wm8g4cdipg8gndd478x897qv0h7nqi1s2q9nq99p";
|
sha256 = "0h08902rgx7rhzpng4h1qw8i2nzv50f79vrlbzdk5d35wa4zibh4";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = "http://faust.grame.fr/";
|
homepage = "http://faust.grame.fr/";
|
||||||
downloadPage = "https://sourceforge.net/projects/faudiostream/files/";
|
downloadPage = "https://github.com/grame-cncm/faust/";
|
||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ magnetophon pmahoney ];
|
maintainers = with maintainers; [ magnetophon pmahoney ];
|
||||||
|
@ -12,7 +12,6 @@ faust.wrapWithBuildEnv {
|
|||||||
|
|
||||||
scripts = [
|
scripts = [
|
||||||
"faust2jack"
|
"faust2jack"
|
||||||
"faust2jackinternal"
|
|
||||||
"faust2jackconsole"
|
"faust2jackconsole"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1,8 +1,38 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, faust, gettext, intltool, pkgconfig, python2
|
{ stdenv
|
||||||
, avahi, bluez, boost, eigen, fftw, glib, glib-networking
|
, fetchurl
|
||||||
, glibmm, gsettings-desktop-schemas, gtkmm2, libjack2
|
, avahi
|
||||||
, ladspaH, libav, libsndfile, lilv, lrdf, lv2, serd, sord, sratom
|
, bluez
|
||||||
, wrapGAppsHook, zita-convolver, zita-resampler, curl, wafHook
|
, boost
|
||||||
|
, curl
|
||||||
|
, eigen
|
||||||
|
, fftw
|
||||||
|
, gettext
|
||||||
|
, glib
|
||||||
|
, glib-networking
|
||||||
|
, glibmm
|
||||||
|
, gnome3
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, gtk3
|
||||||
|
, gtkmm3
|
||||||
|
, hicolor-icon-theme
|
||||||
|
, intltool
|
||||||
|
, ladspaH
|
||||||
|
, libav
|
||||||
|
, libjack2
|
||||||
|
, libsndfile
|
||||||
|
, lilv
|
||||||
|
, lrdf
|
||||||
|
, lv2
|
||||||
|
, pkgconfig
|
||||||
|
, python2
|
||||||
|
, sassc
|
||||||
|
, serd
|
||||||
|
, sord
|
||||||
|
, sratom
|
||||||
|
, wafHook
|
||||||
|
, wrapGAppsHook
|
||||||
|
, zita-convolver
|
||||||
|
, zita-resampler
|
||||||
, optimizationSupport ? false # Enable support for native CPU extensions
|
, optimizationSupport ? false # Enable support for native CPU extensions
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -12,43 +42,67 @@ in
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "guitarix";
|
pname = "guitarix";
|
||||||
version = "0.39.0";
|
version = "0.40.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
|
url = "mirror://sourceforge/guitarix/guitarix2-${version}.tar.xz";
|
||||||
sha256 = "1nn80m1qagfhvv69za60f0w6ck87vmk77qmqarj7fbr8avwg63s9";
|
sha256 = "0q9050499hcj19hvbxb069vxh5yclawjg04vryh46lxm4sfy9g57";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
# see: https://sourceforge.net/p/guitarix/bugs/105
|
||||||
(fetchpatch {
|
patches = [ ./fix-build.patch ];
|
||||||
url = "https://git.archlinux.org/svntogit/community.git/plain/trunk/guitarix-0.39.0-fix_faust_and_lv2_plugins.patch?id=8579b4dfe85e04303ad2d9771ed699f04ea7b7cf";
|
|
||||||
stripLen = 1;
|
|
||||||
sha256 = "0pgkhi4v4vrzjnig0ggmz207q4x5iyk2n6rjj8s5lv15fia7qzp4";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ faust gettext intltool wrapGAppsHook pkgconfig python2 wafHook ];
|
nativeBuildInputs = [
|
||||||
|
gettext
|
||||||
|
hicolor-icon-theme
|
||||||
|
intltool
|
||||||
|
pkgconfig
|
||||||
|
python2
|
||||||
|
wafHook
|
||||||
|
wrapGAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
avahi bluez boost eigen fftw glib glibmm glib-networking.out
|
avahi
|
||||||
gsettings-desktop-schemas gtkmm2 libjack2 ladspaH libav
|
bluez
|
||||||
libsndfile lilv lrdf lv2 serd sord sratom zita-convolver
|
boost
|
||||||
zita-resampler curl
|
curl
|
||||||
|
eigen
|
||||||
|
fftw
|
||||||
|
glib
|
||||||
|
glib-networking.out
|
||||||
|
glibmm
|
||||||
|
gnome3.adwaita-icon-theme
|
||||||
|
gsettings-desktop-schemas
|
||||||
|
gtk3
|
||||||
|
gtkmm3
|
||||||
|
ladspaH
|
||||||
|
libav
|
||||||
|
libjack2
|
||||||
|
libsndfile
|
||||||
|
lilv
|
||||||
|
lrdf
|
||||||
|
lv2
|
||||||
|
sassc
|
||||||
|
serd
|
||||||
|
sord
|
||||||
|
sratom
|
||||||
|
zita-convolver
|
||||||
|
zita-resampler
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
# this doesnt build, probably because we have the wrong faust version:
|
||||||
# Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72
|
# "--faust"
|
||||||
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
# aproved versions are 2.20.2 and 2.15.11
|
||||||
-exec sed -i {} -e 's/const struct _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
|
||||||
'';
|
|
||||||
|
|
||||||
wafConfigureFlags = [
|
wafConfigureFlags = [
|
||||||
|
"--no-faust"
|
||||||
|
"--no-font-cache-update"
|
||||||
"--shared-lib"
|
"--shared-lib"
|
||||||
"--no-desktop-update"
|
"--no-desktop-update"
|
||||||
"--enable-nls"
|
"--enable-nls"
|
||||||
"--install-roboto-font"
|
"--install-roboto-font"
|
||||||
"--includeresampler"
|
"--includeresampler"
|
||||||
"--convolver-ffmpeg"
|
"--includeconvolver"
|
||||||
] ++ optional optimizationSupport "--optimization";
|
] ++ optional optimizationSupport "--optimization";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
10
pkgs/applications/audio/guitarix/fix-build.patch
Normal file
10
pkgs/applications/audio/guitarix/fix-build.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
--- 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);
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, pkgconfig, cairomm, cmake, lv2, libpthreadstubs, libXdmcp, libXft, ntk, pcre, fftwFloat, zita-resampler }:
|
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, cairomm, cmake, lv2, libpthreadstubs, libXdmcp, libXft, ntk, pcre, fftwFloat, zita-resampler }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "infamousPlugins";
|
pname = "infamousPlugins";
|
||||||
@ -11,6 +11,12 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1r72agk5nxf5k0mghcc2j90z43j5d9i7rqjmf49jfyqnd443isip";
|
sha256 = "1r72agk5nxf5k0mghcc2j90z43j5d9i7rqjmf49jfyqnd443isip";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/ssj71/infamousPlugins/commit/06dd967b4736ea886dc1dc07f882cb1563961582.patch";
|
||||||
|
sha256 = "08xwh6px13y1gykaw103nhvjms7vgbgkcm0avh9f5d2d7aadq0l2";
|
||||||
|
})
|
||||||
|
];
|
||||||
nativeBuildInputs = [ pkgconfig cmake ];
|
nativeBuildInputs = [ pkgconfig cmake ];
|
||||||
buildInputs = [ cairomm lv2 libpthreadstubs libXdmcp libXft ntk pcre fftwFloat zita-resampler ];
|
buildInputs = [ cairomm lv2 libpthreadstubs libXdmcp libXft ntk pcre fftwFloat zita-resampler ];
|
||||||
|
|
||||||
|
@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Fix build with lv2 1.18: https://github.com/tomszilagyi/ir.lv2/pull/20
|
||||||
|
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
||||||
|
-exec sed -i {} -e 's/const struct _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
||||||
|
'';
|
||||||
|
|
||||||
|
|
||||||
postBuild = "make convert4chan";
|
postBuild = "make convert4chan";
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -1,29 +1,19 @@
|
|||||||
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, makeWrapper
|
{ stdenv, fetchFromGitHub, pkgconfig, makeWrapper
|
||||||
, libsndfile, jack2Full
|
, libsndfile, jack2Full
|
||||||
, libGLU, libGL, lv2, cairo
|
, libGLU, libGL, lv2, cairo
|
||||||
, ladspaH, php }:
|
, ladspaH, php }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "lsp-plugins";
|
pname = "lsp-plugins";
|
||||||
version = "1.1.19";
|
version = "1.1.22";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "sadko4u";
|
owner = "sadko4u";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "${pname}-${version}";
|
rev = "${pname}-${version}";
|
||||||
sha256 = "1wiph3vxhydc6mr9hn2c6crd4cx592l2zv0wrzgmpnlm1lflzpbg";
|
sha256 = "0s0i0kf5nqxxywckg03fds1w7696ly60rnlljzqvp7qfgzps1r6c";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
|
||||||
# Fix build
|
|
||||||
# https://github.com/sadko4u/lsp-plugins/issues/104
|
|
||||||
(fetchpatch {
|
|
||||||
url = "https://github.com/sadko4u/lsp-plugins/commit/4d901135fb82fa95e668b4d55d05e405f5e620d2.patch";
|
|
||||||
excludes = [ "TODO.txt" ];
|
|
||||||
sha256 = "1s028gqvahvwm1px4xxxawrw2zrwyszb1aq93f0kspf3g7lq27f1";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig php makeWrapper ];
|
nativeBuildInputs = [ pkgconfig php makeWrapper ];
|
||||||
buildInputs = [ jack2Full libsndfile libGLU libGL lv2 cairo ladspaH ];
|
buildInputs = [ jack2Full libsndfile libGLU libGL lv2 cairo ladspaH ];
|
||||||
|
|
||||||
|
@ -14,6 +14,12 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ boost cairomm cmake libsndfile lv2 ntk python ];
|
buildInputs = [ boost cairomm cmake libsndfile lv2 ntk python ];
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Fix build with lv2 1.18: https://github.com/brummer10/guitarix/commit/c0334c72
|
||||||
|
find . -type f -exec fgrep -q LV2UI_Descriptor {} \; \
|
||||||
|
-exec sed -i {} -e 's/const struct _\?LV2UI_Descriptor/const LV2UI_Descriptor/' \;
|
||||||
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install
|
make install
|
||||||
cp -a ../presets/* "$out/lib/lv2"
|
cp -a ../presets/* "$out/lib/lv2"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk, pcre
|
{ stdenv, fetchFromGitHub , alsaLib, boost, cairo, cmake, fftwSinglePrec, fltk, pcre
|
||||||
, libjack2, libsndfile, libXdmcp, readline, lv2, libGLU, libGL, minixml, pkgconfig, zlib, xorg
|
, libjack2, libsndfile, libXdmcp, readline, lv2, libGLU, libGL, minixml, pkgconfig, zlib, xorg
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -6,13 +6,15 @@ assert stdenv ? glibc;
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "yoshimi";
|
pname = "yoshimi";
|
||||||
version = "1.7.0.1";
|
# Fix build with lv2 1.18: https://github.com/Yoshimi/yoshimi/pull/102/commits/86996cbb235f0fe138ae814a6758c2c8ba1c2a38
|
||||||
|
version = "unstable-2020-05-10";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchFromGitHub {
|
||||||
url = "mirror://sourceforge/yoshimi/${pname}-${version}.tar.bz2";
|
owner = "Yoshimi";
|
||||||
sha256 = "1pkqrrr51vlxh96vy0c0rf5ijjvymys4brsw9rv1bdp1bb8izw6c";
|
repo = pname;
|
||||||
|
rev = "86996cbb235f0fe138ae814a6758c2c8ba1c2a38";
|
||||||
|
sha256 = "0bgcc5fbgwpdjircq00wlii30pakf45yzligpbnf02a554hh4j01";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
alsaLib boost cairo fftwSinglePrec fltk libjack2 libsndfile libXdmcp readline lv2 libGLU libGL
|
alsaLib boost cairo fftwSinglePrec fltk libjack2 libsndfile libXdmcp readline lv2 libGLU libGL
|
||||||
minixml zlib xorg.libpthreadstubs pcre
|
minixml zlib xorg.libpthreadstubs pcre
|
||||||
|
@ -25582,7 +25582,7 @@ in
|
|||||||
faust1 = callPackage ../applications/audio/faust/faust1.nix { };
|
faust1 = callPackage ../applications/audio/faust/faust1.nix { };
|
||||||
|
|
||||||
faust2 = callPackage ../applications/audio/faust/faust2.nix {
|
faust2 = callPackage ../applications/audio/faust/faust2.nix {
|
||||||
llvm = llvm_9;
|
llvm = llvm_10;
|
||||||
};
|
};
|
||||||
|
|
||||||
faust2alqt = callPackage ../applications/audio/faust/faust2alqt.nix { };
|
faust2alqt = callPackage ../applications/audio/faust/faust2alqt.nix { };
|
||||||
|
Loading…
Reference in New Issue
Block a user