Browse Source

Fixup patches

tags/v1.0
falkTX 4 years ago
parent
commit
519b990051
3 changed files with 29 additions and 6 deletions
  1. +13
    -0
      patches/abGate/02_no-as-needed.patch
  2. +13
    -0
      patches/blop-lv2/01_no-wrapper.patch
  3. +3
    -6
      patches/blop-lv2/win32/02_use-wine.patch

+ 13
- 0
patches/abGate/02_no-as-needed.patch View File

@@ -0,0 +1,13 @@
diff --git a/Makefile b/Makefile
index 598b593..cae8787 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,7 @@ abGateQt/libabGateQt.so:
cd abGateQt; qmake; $(MAKE)
gate.so: gate.cpp
- $(CXX) $(LDFLAGS) $(CXXFLAGS) $(CFLAGS) -shared -fPIC -DPIC -Wl,--as-needed gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
+ $(CXX) $(LDFLAGS) $(CXXFLAGS) $(CFLAGS) -shared -fPIC -DPIC gate.cpp `pkg-config --cflags --libs lv2` -o gate.so
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 plugin_configuration.h
$(CXX) $(LDFLAGS) $(CXXFLAGS) $(CFLAGS) -shared -fPIC -DPIC -Wl,--as-needed 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

+ 13
- 0
patches/blop-lv2/01_no-wrapper.patch View File

@@ -0,0 +1,13 @@
diff --git a/wscript b/wscript
index a5bfd28..2cd8846 100644
--- a/wscript
+++ b/wscript
@@ -171,8 +171,6 @@ def build(bld):
# Waveform data source
for i in ['parabola', 'sawtooth', 'square']:
cmd = '${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}'
- if Options.options.test_wrapper:
- cmd = Options.options.test_wrapper + ' ' + cmd
bld(rule = cmd % (Options.options.rate, i, i),
source = wavegen.link_task.outputs[0],

patches/blop-lv2/win32/01_use-wine.patch → patches/blop-lv2/win32/02_use-wine.patch View File

@@ -1,16 +1,13 @@
diff --git a/wscript b/wscript
index a5bfd28..2421a3b 100644
index 2cd8846..426b5f9 100644
--- a/wscript
+++ b/wscript
@@ -170,10 +170,7 @@ def build(bld):
@@ -170,7 +170,7 @@ def build(bld):
# Waveform data source
for i in ['parabola', 'sawtooth', 'square']:
- cmd = '${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}'
- if Options.options.test_wrapper:
- cmd = Options.options.test_wrapper + ' ' + cmd
-
+ cmd = 'wine ${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}'
bld(rule = cmd % (Options.options.rate, i, i),
source = wavegen.link_task.outputs[0],
target = 'src/%s_data.c' % i,

Loading…
Cancel
Save