Browse Source

OSX working nicely :)

tags/1.9.4
falkTX 10 years ago
parent
commit
cdfc63fb6c
2 changed files with 18 additions and 15 deletions
  1. +13
    -14
      data/macos/build.sh
  2. +5
    -1
      data/macos/bundle.py

+ 13
- 14
data/macos/build.sh View File

@@ -13,20 +13,19 @@ export CC=clang
export CXX=clang++
export CXFREEZE=/opt/kxstudio/bin/cxfreeze

# # Build python stuff
# export PATH=/opt/kxstudio/bin:/opt/kxstudio64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
# export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:/opt/kxstudio64/lib/pkgconfig
# make $JOBS UI RES WIDGETS
#
# # Build theme
# make -C source/modules/theme clean
# make $JOBS theme
#
# # Build everything else
# export PATH=/opt/kxstudio64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
# export PKG_CONFIG_PATH=/opt/kxstudio64/lib/pkgconfig
# make backend $JOBS
# make $JOBS
# Build python stuff
export PATH=/opt/kxstudio/bin:/opt/kxstudio64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:/opt/kxstudio64/lib/pkgconfig
make $JOBS UI RES WIDGETS

# Build theme
make $JOBS theme

# Build everything else
export PATH=/opt/kxstudio64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin
export PKG_CONFIG_PATH=/opt/kxstudio64/lib/pkgconfig
make backend $JOBS
make $JOBS

# Build Mac App
export PATH=/opt/kxstudio/bin:/opt/kxstudio64/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin


+ 5
- 1
data/macos/bundle.py View File

@@ -17,10 +17,14 @@ options = {
"packages": ["re", "sip", "subprocess", "inspect"]
}

boptions = {
"iconfile": "./resources/ico/carla.icns"
}

setup(name = "Carla",
version = VERSION,
description = "Carla Plugin Host",
options = {"build_exe": options},
options = {"build_exe": options, "bdist_mac": boptions},
executables = [Executable("./source/Carla.pyw")])

# ------------------------------------------------------------------------------------------------------------

Loading…
Cancel
Save