ir.lv2: fix build with lv2 1.18.0

gstqt5
Bart Brouns 2020-06-05 13:17:46 +02:00
parent 269b95810b
commit 002e3cfbce
1 changed files with 7 additions and 0 deletions

View File

@ -15,6 +15,13 @@ stdenv.mkDerivation rec {
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";
installPhase = ''