From 9426b5611a6f02fe1d741b7556d949c193948f52 Mon Sep 17 00:00:00 2001 From: falkTX Date: Mon, 19 Jan 2015 17:49:57 +0000 Subject: [PATCH] Update linux script --- data/linux/make-binary.sh | 84 ++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 36 deletions(-) diff --git a/data/linux/make-binary.sh b/data/linux/make-binary.sh index c938820db..2dfa36a9e 100755 --- a/data/linux/make-binary.sh +++ b/data/linux/make-binary.sh @@ -6,7 +6,7 @@ if [ -f Makefile ]; then cd data/linux fi -VERSION="1.9.5~git20141020.4" +VERSION="1.9.5~git20150119.2" if [ ! -d carla-git-static_"$VERSION"_amd64.deb ]; then wget -c https://launchpad.net/~kxstudio-debian/+archive/ubuntu/testing/+files/carla-git-static_"$VERSION"_amd64.deb @@ -32,66 +32,78 @@ if [ ! -f unzipfx2cat64 ]; then rm -rf tmpfx fi -rm -rf Carla-2.0beta3-linux32 -mkdir Carla-2.0beta3-linux32 +rm -rf Carla-2.0beta4a-linux32 +mkdir Carla-2.0beta4a-linux32 cp -r carla-git-static_"$VERSION"_i386/opt/carla/Carla \ carla-git-static_"$VERSION"_i386/opt/carla/carla.lv2/ \ - carla-git-static_"$VERSION"_i386/opt/carla/carla.vst/ Carla-2.0beta3-linux32 + carla-git-static_"$VERSION"_i386/opt/carla/carla.vst/ Carla-2.0beta4a-linux32 rm -r carla-git-static_"$VERSION"_i386 -rm -rf Carla-2.0beta3-linux64 -mkdir Carla-2.0beta3-linux64 +rm -rf Carla-2.0beta4a-linux64 +mkdir Carla-2.0beta4a-linux64 cp -r carla-git-static_"$VERSION"_amd64/opt/carla/Carla \ carla-git-static_"$VERSION"_amd64/opt/carla/carla.lv2/ \ - carla-git-static_"$VERSION"_amd64/opt/carla/carla.vst/ Carla-2.0beta3-linux64 + carla-git-static_"$VERSION"_amd64/opt/carla/carla.vst/ Carla-2.0beta4a-linux64 rm -r carla-git-static_"$VERSION"_amd64 -cd Carla-2.0beta3-linux32 +cd Carla-2.0beta4a-linux32 unzip Carla || true rm -f Carla carla/*posix32 carla.lv2/*posix32 carla.vst/*posix32 cd .. -cd Carla-2.0beta3-linux64 +cd Carla-2.0beta4a-linux64 unzip Carla || true rm -f Carla carla/*posix64 carla.lv2/*posix64 carla.vst/*posix64 cd .. -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla/ -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla.lv2/ -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux32/carla.vst/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla.lv2/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux32/carla.vst/ - -cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla/ -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla/ -cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla/ -cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla/ -cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla.lv2/ -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla.lv2/ -cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla.lv2/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla.lv2/ -cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla.lv2/ -cp /usr/lib/carla/*posix32 Carla-2.0beta3-linux64/carla.vst/ -cp /usr/lib/carla/*win32.exe Carla-2.0beta3-linux64/carla.vst/ -cp /usr/lib/carla/*win64.exe Carla-2.0beta3-linux64/carla.vst/ -cp /usr/lib/carla/*wine32.dll Carla-2.0beta3-linux64/carla.vst/ -cp /usr/lib/carla/*wine64.dll Carla-2.0beta3-linux64/carla.vst/ - -cd Carla-2.0beta3-linux32 +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux32/carla/ +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux32/carla.lv2/ +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux32/carla.vst/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux32/carla/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux32/carla.lv2/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux32/carla.vst/ + +cp /usr/lib/carla/*posix32 Carla-2.0beta4a-linux64/carla/ +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux64/carla/ +cp /usr/lib/carla/*win64.exe Carla-2.0beta4a-linux64/carla/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux64/carla/ +cp /usr/lib/carla/*wine64.dll Carla-2.0beta4a-linux64/carla/ +cp /usr/lib/carla/*posix32 Carla-2.0beta4a-linux64/carla.lv2/ +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux64/carla.lv2/ +cp /usr/lib/carla/*win64.exe Carla-2.0beta4a-linux64/carla.lv2/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux64/carla.lv2/ +cp /usr/lib/carla/*wine64.dll Carla-2.0beta4a-linux64/carla.lv2/ +cp /usr/lib/carla/*posix32 Carla-2.0beta4a-linux64/carla.vst/ +cp /usr/lib/carla/*win32.exe Carla-2.0beta4a-linux64/carla.vst/ +cp /usr/lib/carla/*win64.exe Carla-2.0beta4a-linux64/carla.vst/ +cp /usr/lib/carla/*wine32.dll Carla-2.0beta4a-linux64/carla.vst/ +cp /usr/lib/carla/*wine64.dll Carla-2.0beta4a-linux64/carla.vst/ + +# FIXME +cp Carla-2.0beta4a-linux32/carla/libcarla_interposer-*.so Carla-2.0beta4a-linux32/carla.lv2/ +cp Carla-2.0beta4a-linux32/carla/libcarla_interposer-*.so Carla-2.0beta4a-linux32/carla.vst/ +cp Carla-2.0beta4a-linux32/carla/libcarla_utils.so Carla-2.0beta4a-linux32/carla.lv2/ +cp Carla-2.0beta4a-linux32/carla/libcarla_utils.so Carla-2.0beta4a-linux32/carla.vst/ + +# FIXME +cp Carla-2.0beta4a-linux64/carla/libcarla_interposer-*.so Carla-2.0beta4a-linux64/carla.lv2/ +cp Carla-2.0beta4a-linux64/carla/libcarla_interposer-*.so Carla-2.0beta4a-linux64/carla.vst/ +cp Carla-2.0beta4a-linux64/carla/libcarla_utils.so Carla-2.0beta4a-linux64/carla.lv2/ +cp Carla-2.0beta4a-linux64/carla/libcarla_utils.so Carla-2.0beta4a-linux64/carla.vst/ + +cd Carla-2.0beta4a-linux32 zip --symlinks -r -9 carla.zip carla cat ../unzipfx2cat32 carla.zip > Carla chmod +x Carla rm -r carla carla.zip cd .. -cd Carla-2.0beta3-linux64 +cd Carla-2.0beta4a-linux64 zip --symlinks -r -9 carla.zip carla cat ../unzipfx2cat64 carla.zip > Carla chmod +x Carla rm -r carla carla.zip cd .. -cp README Carla-2.0beta3-linux32/ -cp README Carla-2.0beta3-linux64/ +cp README Carla-2.0beta4a-linux32/ +cp README Carla-2.0beta4a-linux64/