Audio plugin host https://kx.studio/carla
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

make-binary.sh 3.6KB

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #!/bin/bash
  2. set -e
  3. if [ -f Makefile ]; then
  4. cd data/linux
  5. fi
  6. VERSION="1.9.5~git20141020.4"
  7. if [ ! -d carla-git-static_"$VERSION"_amd64.deb ]; then
  8. wget -c https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/carla-git-static_"$VERSION"_amd64.deb
  9. dpkg -x carla-git-static_"$VERSION"_amd64.deb carla-git-static_"$VERSION"_amd64
  10. fi
  11. if [ ! -d carla-git-static_"$VERSION"_i386.deb ]; then
  12. wget -c https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/carla-git-static_"$VERSION"_i386.deb
  13. dpkg -x carla-git-static_"$VERSION"_i386.deb carla-git-static_"$VERSION"_i386
  14. fi
  15. if [ ! -f unzipfx2cat32 ]; then
  16. wget -c https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/unzipfx-carla_1.9.5-1kxstudio1_i386.deb
  17. dpkg -x unzipfx-carla_1.9.5-1kxstudio1_i386.deb tmpfx
  18. mv tmpfx/opt/carla/unzipfx2cat unzipfx2cat32
  19. rm -rf tmpfx
  20. fi
  21. if [ ! -f unzipfx2cat64 ]; then
  22. wget -c https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/unzipfx-carla_1.9.5-1kxstudio1_amd64.deb
  23. dpkg -x unzipfx-carla_1.9.5-1kxstudio1_amd64.deb tmpfx
  24. mv tmpfx/opt/carla/unzipfx2cat unzipfx2cat64
  25. rm -rf tmpfx
  26. fi
  27. rm -rf Carla-2.0beta3-linux32
  28. mkdir Carla-2.0beta3-linux32
  29. cp -r carla-git-static_"$VERSION"_i386/opt/carla/Carla \
  30. carla-git-static_"$VERSION"_i386/opt/carla/carla.lv2/ \
  31. carla-git-static_"$VERSION"_i386/opt/carla/carla.vst/ Carla-2.0beta3-linux32
  32. rm -r carla-git-static_"$VERSION"_i386
  33. rm -rf Carla-2.0beta3-linux64
  34. mkdir Carla-2.0beta3-linux64
  35. cp -r carla-git-static_"$VERSION"_amd64/opt/carla/Carla \
  36. carla-git-static_"$VERSION"_amd64/opt/carla/carla.lv2/ \
  37. carla-git-static_"$VERSION"_amd64/opt/carla/carla.vst/ Carla-2.0beta3-linux64
  38. rm -r carla-git-static_"$VERSION"_amd64
  39. cd Carla-2.0beta3-linux32
  40. unzip Carla || true
  41. rm -f Carla carla/*posix32 carla.lv2/*posix32 carla.vst/*posix32
  42. cd ..
  43. cd Carla-2.0beta3-linux64
  44. unzip Carla || true
  45. rm -f Carla carla/*posix64 carla.lv2/*posix64 carla.vst/*posix64
  46. cd ..
  47. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla/
  48. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla.lv2/
  49. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla.vst/
  50. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla/
  51. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla.lv2/
  52. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla.vst/
  53. cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla/
  54. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla/
  55. cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla/
  56. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla/
  57. cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla/
  58. cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla.lv2/
  59. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla.lv2/
  60. cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla.lv2/
  61. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla.lv2/
  62. cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla.lv2/
  63. cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla.vst/
  64. cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla.vst/
  65. cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla.vst/
  66. cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla.vst/
  67. cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla.vst/
  68. cd Carla-2.0beta3-linux32
  69. zip --symlinks -r -9 carla.zip carla
  70. cat ../unzipfx2cat32 carla.zip > Carla
  71. chmod +x Carla
  72. rm -r carla carla.zip
  73. cd ..
  74. cd Carla-2.0beta3-linux64
  75. zip --symlinks -r -9 carla.zip carla
  76. cat ../unzipfx2cat64 carla.zip > Carla
  77. chmod +x Carla
  78. rm -r carla carla.zip
  79. cd ..
  80. cp README Carla-2.0beta3-linux32/
  81. cp README Carla-2.0beta3-linux64/