sorcer: fix build with lv2 1.18.0
This commit is contained in:
parent
5bb1c43fc6
commit
269b95810b
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user