diff options
author | Bart Brouns <bart@magnetophon.nl> | 2020-06-05 13:27:25 +0200 |
---|---|---|
committer | Bart Brouns <bart@magnetophon.nl> | 2020-06-11 17:08:20 +0200 |
commit | 269b95810b022a9728611bb31ecddceacf90e3d9 (patch) | |
tree | 7fdfb9054cfd082d52d052d9227937b724a9145d /pkgs/applications/audio/sorcer | |
parent | 5bb1c43fc6962b0625cbedf22a83939a12eaaa7b (diff) | |
download | nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar.gz nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar.bz2 nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar.lz nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar.xz nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.tar.zst nixpkgs-269b95810b022a9728611bb31ecddceacf90e3d9.zip |
sorcer: fix build with lv2 1.18.0
Diffstat (limited to 'pkgs/applications/audio/sorcer')
-rw-r--r-- | pkgs/applications/audio/sorcer/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/audio/sorcer/default.nix b/pkgs/applications/audio/sorcer/default.nix index 7601f942868..ad5f8fda1a9 100644 --- a/pkgs/applications/audio/sorcer/default.nix +++ b/pkgs/applications/audio/sorcer/default.nix @@ -14,6 +14,12 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; 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 = '' make install cp -a ../presets/* "$out/lib/lv2" |