Browse Source

Update linux script

tags/1.9.6
falkTX 9 years ago
parent
commit
9426b5611a
1 changed files with 48 additions and 36 deletions
  1. +48
    -36
      data/linux/make-binary.sh

+ 48
- 36
data/linux/make-binary.sh View File

@@ -6,7 +6,7 @@ if [ -f Makefile ]; then
cd data/linux cd data/linux
fi fi


VERSION="1.9.5~git20141020.4"
VERSION="1.9.5~git20150119.2"


if [ ! -d carla-git-static_"$VERSION"_amd64.deb ]; then 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 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 rm -rf tmpfx
fi 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 \ 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.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 -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 \ 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.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 rm -r carla-git-static_"$VERSION"_amd64


cd Carla-2.0beta3-linux32
cd Carla-2.0beta4a-linux32
unzip Carla || true unzip Carla || true
rm -f Carla carla/*posix32 carla.lv2/*posix32 carla.vst/*posix32 rm -f Carla carla/*posix32 carla.lv2/*posix32 carla.vst/*posix32
cd .. cd ..


cd Carla-2.0beta3-linux64
cd Carla-2.0beta4a-linux64
unzip Carla || true unzip Carla || true
rm -f Carla carla/*posix64 carla.lv2/*posix64 carla.vst/*posix64 rm -f Carla carla/*posix64 carla.lv2/*posix64 carla.vst/*posix64
cd .. 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 zip --symlinks -r -9 carla.zip carla
cat ../unzipfx2cat32 carla.zip > Carla cat ../unzipfx2cat32 carla.zip > Carla
chmod +x Carla chmod +x Carla
rm -r carla carla.zip rm -r carla carla.zip
cd .. cd ..


cd Carla-2.0beta3-linux64
cd Carla-2.0beta4a-linux64
zip --symlinks -r -9 carla.zip carla zip --symlinks -r -9 carla.zip carla
cat ../unzipfx2cat64 carla.zip > Carla cat ../unzipfx2cat64 carla.zip > Carla
chmod +x Carla chmod +x Carla
rm -r carla carla.zip rm -r carla carla.zip
cd .. 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/

Loading…
Cancel
Save