Browse Source

Add blop-lv2 patches for wine usage

tags/v1.0
falkTX 4 years ago
parent
commit
4ac1f77fb0
2 changed files with 26 additions and 0 deletions
  1. +13
    -0
      patches/blop-lv2/win32/01_use-wine.patch
  2. +13
    -0
      patches/blop-lv2/win64/01_use-wine.patch

+ 13
- 0
patches/blop-lv2/win32/01_use-wine.patch View File

@@ -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,

+ 13
- 0
patches/blop-lv2/win64/01_use-wine.patch View File

@@ -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,

Loading…
Cancel
Save