diff options
author | Jesús Eduardo <heckyel@hyperbola.info> | 2017-05-31 18:08:31 -0500 |
---|---|---|
committer | Jesús Eduardo <heckyel@hyperbola.info> | 2017-05-31 18:08:31 -0500 |
commit | e1180428ed3e7634fe1596103511fbb1da05f228 (patch) | |
tree | 13de9592bcde7050b089b9644839668024c518b3 /build.sh | |
download | librevideoconverter-e1180428ed3e7634fe1596103511fbb1da05f228.tar.lz librevideoconverter-e1180428ed3e7634fe1596103511fbb1da05f228.tar.xz librevideoconverter-e1180428ed3e7634fe1596103511fbb1da05f228.zip |
first commit
Diffstat (limited to 'build.sh')
-rw-r--r-- | build.sh | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..7052441 --- /dev/null +++ b/build.sh @@ -0,0 +1,27 @@ +#!/bin/bash + +set -e + +if [ -z ${SANDBOX_PATH} ]; then + echo "you must set SANDBOX_PATH to point to the built LibreVideoConverter sandbox" + exit 1 +fi + +if [ -z ${BKIT_PATH} ]; then + echo "you must set BKIT_PATH to point to the LibreVideoConverter binary kit" + exit +fi + +export MACOSX_DEPLOYMENT_TARGET=10.6 + +${SANDBOX_PATH}/Frameworks/Python.framework/Versions/2.7/bin/python setup.py develop + +${SANDBOX_PATH}/Frameworks/Python.framework/Versions/2.7/bin/python setup.py py2app + +if [ "$1" = "--sign" ]; then + source sign.sh +fi + +if [ "$2" = "--installer" ] ; then + source build_installer.sh +fi |