Browse Source

Update windows scripts

tags/1.9.5
falkTX 10 years ago
parent
commit
1835e799c0
3 changed files with 14 additions and 16 deletions
  1. +3
    -3
      data/windows/build-win32.sh
  2. +5
    -7
      data/windows/build-win64.sh
  3. +6
    -6
      data/windows/create-wineprefixes.sh

+ 3
- 3
data/windows/build-win32.sh View File

@@ -48,14 +48,14 @@ make $JOBS backend
# make $JOBS bridges

# Build UI bridges
# make $JOBS -C source/bridges ui_lv2-win32 ui_vst-hwnd
make $JOBS -C source/bridges-ui ui_lv2-windows

export PYTHONPATH=`pwd`/source

rm -rf ./data/windows/Carla
cp ./source/carla ./source/carla.pyw
cp ./source/carla ./source/Carla.pyw
$PYTHON_EXE ./data/windows/app.py build_exe
rm -f ./source/carla.pyw
rm -f ./source/Carla.pyw
mv build data/windows/Carla

cd data/windows/


+ 5
- 7
data/windows/build-win64.sh View File

@@ -38,27 +38,25 @@ make clean
# Build PyQt5 resources
make $JOBS UI RES WIDGETS

# FIXME: linuxsampler fails to link on 64bit

# Build discovery
make $JOBS discovery HAVE_LINUXSAMPLER=false
make $JOBS discovery
mv bin/carla-discovery-native.exe bin/carla-discovery-win64.exe

# Build backend
make $JOBS backend HAVE_LINUXSAMPLER=false
make $JOBS backend

# Build Plugin bridges
# make $JOBS bridges

# Build UI bridges
# make $JOBS -C source/bridges ui_lv2-win32 ui_vst-hwnd
make $JOBS -C source/bridges-ui ui_lv2-windows

export PYTHONPATH=`pwd`/source

rm -rf ./data/windows/Carla
cp ./source/carla ./source/carla.pyw
cp ./source/carla ./source/Carla.pyw
$PYTHON_EXE ./data/windows/app.py build_exe
rm -f ./source/carla.pyw
rm -f ./source/Carla.pyw
mv build data/windows/Carla

cd data/windows/


+ 6
- 6
data/windows/create-wineprefixes.sh View File

@@ -13,9 +13,9 @@ winetricks corefonts
winetricks fontsmooth=rgb

# cd data/windows/python
# msiexec /i python-3.4.1.msi /qn
# msiexec /i cx_Freeze-4.3.3.win32-py3.4.msi /qn
# wine PyQt5-5.3.1-gpl-Py3.4-Qt5.3.1-x32.exe
# msiexec /i python-3.4.2.msi /qn
# wine cx_Freeze-4.3.3.win32-py3.4.exe
# wine PyQt5-5.3.2-gpl-Py3.4-Qt5.3.1-x32.exe
# cd ../../..

export WINEARCH=win64
@@ -28,7 +28,7 @@ winetricks corefonts
winetricks fontsmooth=rgb

# cd data/windows/python
# msiexec /i python-3.4.1.amd64.msi /qn
# msiexec /i cx_Freeze-4.3.3.win-amd64-py3.4.msi /qn
# wine PyQt5-5.3.1-gpl-Py3.4-Qt5.3.1-x64.exe
# msiexec /i python-3.4.2.amd64.msi /qn
# wine cx_Freeze-4.3.3.win-amd64-py3.4.exe
# wine PyQt5-5.3.2-gpl-Py3.4-Qt5.3.1-x64.exe
# cd ../../..

Loading…
Cancel
Save