13
0

Fix windows packaging (ctrl-interfaces)

This commit is contained in:
Robin Gareus 2022-11-19 19:31:39 +01:00
parent 1edc3d3e05
commit b7c385b8f2
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -143,6 +143,8 @@ cp build/libs/canvas/canvas-*.dll $DESTDIR/bin/
cp build/libs/widgets/widgets-*.dll $DESTDIR/bin/
cp build/libs/waveview/waveview-*.dll $DESTDIR/bin/
cp build/libs/pbd/pbd-*.dll $DESTDIR/bin/
cp build/libs/ctrl-interface/midi_surface/ardour*.dll $DESTDIR/bin/
cp build/libs/ctrl-interface/control_protocol/ardour*.dll $DESTDIR/bin/
cp build/libs/ptformat/ptformat-*.dll $DESTDIR/bin/
cp build/libs/audiographer/audiographer-*.dll $DESTDIR/bin/
cp build/libs/fst/ardour-vst-scanner.exe $DESTDIR/bin/ || true
@ -185,9 +187,6 @@ for file in $PREFIX/lib/lv2/*.lv2; do
cp $PREFIX/lib/lv2/${BN}/*.ttl $ALIBDIR/LV2/${BN}/
done
mv $ALIBDIR/surfaces/ardourcp*.dll $DESTDIR/bin/
# TODO use -static-libgcc -static-libstdc++ -- but for .exe files only
if update-alternatives --query ${XPREFIX}-gcc | grep Value: | grep -q win32; then
cp /usr/lib/gcc/${XPREFIX}/*-win32/libgcc_s_*.dll $DESTDIR/bin/