diff --git a/patches/blop-lv2/win32/01_use-wine.patch b/patches/blop-lv2/win32/01_use-wine.patch new file mode 100644 index 0000000..dc52efa --- /dev/null +++ b/patches/blop-lv2/win32/01_use-wine.patch @@ -0,0 +1,13 @@ +diff --git a/wscript b/wscript +index 2b69029..8784ac2 100644 +--- a/wscript ++++ b/wscript +@@ -160,7 +160,7 @@ def build(bld): + + # Waveform data source + for i in ['parabola', 'sawtooth', 'square']: +- bld(rule = '${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}' % ( ++ bld(rule = 'wine ${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}' % ( + Options.options.rate, i, i), + source = wavegen.link_task.outputs[0], + target = 'src/%s_data.c' % i, diff --git a/patches/blop-lv2/win64/01_use-wine.patch b/patches/blop-lv2/win64/01_use-wine.patch new file mode 100644 index 0000000..dc52efa --- /dev/null +++ b/patches/blop-lv2/win64/01_use-wine.patch @@ -0,0 +1,13 @@ +diff --git a/wscript b/wscript +index 2b69029..8784ac2 100644 +--- a/wscript ++++ b/wscript +@@ -160,7 +160,7 @@ def build(bld): + + # Waveform data source + for i in ['parabola', 'sawtooth', 'square']: +- bld(rule = '${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}' % ( ++ bld(rule = 'wine ${SRC} -r %d -f 12 -s 1 -m 128 -g 1.0 -w %s -p %s -o ${TGT}' % ( + Options.options.rate, i, i), + source = wavegen.link_task.outputs[0], + target = 'src/%s_data.c' % i,