Cross-Platform build scripts for audio plugins
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.3KB

  1. Description: Port to LV2's new release.
  2. Author: Alessio Treglia <alessio@debian.org>
  3. Forwarded: Antanas Bružas <antanas@hippie.lt>
  4. ---
  5. Makefile | 4 ++--
  6. 1 file changed, 2 insertions(+), 2 deletions(-)
  7. Index: abgate/Makefile
  8. ===================================================================
  9. --- abgate.orig/Makefile 2014-02-01 21:48:06.998316241 +0100
  10. +++ abgate/Makefile 2014-02-01 21:48:06.994316226 +0100
  11. @@ -13,10 +13,10 @@
  12. cd abGateQt; qmake-qt4; make
  13. gate.so: gate.cpp
  14. - g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2core` -o gate.so
  15. + g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -D_LV2_Descriptor=LV2_Descriptor -o gate.so
  16. gate_gui.so: gate_gui.cpp main_window.cpp main_window.h knob.cpp knob.h toggle.cpp toggle.h preset_widget.cpp preset_widget.h presets.cpp presets.h preset.cpp preset.h gate_const.h ui.h plugin_configuration.h
  17. - g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2core gthread-2.0` -o gate_gui.so
  18. + g++ $(LDFLAGS) -O3 -shared -fPIC -DPIC gate_gui.cpp main_window.cpp knob.cpp toggle.cpp preset_widget.cpp presets.cpp preset.cpp `pkg-config --cflags gtkmm-2.4 --libs lv2 gthread-2.0` -o gate_gui.so
  19. install: $(BUNDLE)
  20. mkdir -p $(INSTALL_DIR)