mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-30 15:49:41 +02:00
This greatly improves the LV2 host to the point where all (non-midi) plugins distributed with Ubuntu 18.04 and Fedora 30 are supported.
21 lines
423 B
Bash
Executable File
21 lines
423 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
for waf in $(find . -type f -name waf); do
|
|
if grep -q '^#==>$' "${waf}"
|
|
then
|
|
pushd "${waf%/*}"
|
|
python3 ./waf --help > /dev/null
|
|
if [ -e .waf* ]
|
|
then
|
|
mv .waf*/* .
|
|
sed -i '/^#==>$/,$d' waf
|
|
rmdir .waf*
|
|
fi
|
|
find waflib -name "*.pyc" -o -name "__pycache__" | xargs rm -rf
|
|
popd
|
|
fi
|
|
done
|
|
|
|
echo "All waf scripts extracted successfully."
|