mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-09 20:29:10 +02:00
Use nproc in the example installation script
Although 8 should be plenty on any system.
This commit is contained in:
@@ -83,7 +83,7 @@ VST plugins.
|
|||||||
yabridge_home=~/.local/share/yabridge
|
yabridge_home=~/.local/share/yabridge
|
||||||
|
|
||||||
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 |
|
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 |
|
||||||
xargs -0 -P8 -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" |
|
xargs -0 -P$(nproc) -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" |
|
||||||
sed -z 's/\.dll$/.so/' |
|
sed -z 's/\.dll$/.so/' |
|
||||||
xargs -0 -n1 ln -sf "$yabridge_home/libyabridge.so"
|
xargs -0 -n1 ln -sf "$yabridge_home/libyabridge.so"
|
||||||
```
|
```
|
||||||
@@ -119,7 +119,7 @@ previous section to install yabridge for all of you VST plugins at once:
|
|||||||
yabridge_home=~/.local/share/yabridge
|
yabridge_home=~/.local/share/yabridge
|
||||||
|
|
||||||
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 |
|
find "$HOME/.wine/drive_c/Program Files/Steinberg/VstPlugins" -type f -iname '*.dll' -print0 |
|
||||||
xargs -0 -P8 -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" |
|
xargs -0 -P$(nproc) -I{} bash -c "(winedump -j export '{}' | grep -qE 'VSTPluginMain|main|main_plugin') && printf '{}\0'" |
|
||||||
sed -z 's/\.dll$/.so/' |
|
sed -z 's/\.dll$/.so/' |
|
||||||
xargs -0 -n1 cp "$yabridge_home/libyabridge.so"
|
xargs -0 -n1 cp "$yabridge_home/libyabridge.so"
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user