| @@ -458,7 +458,7 @@ fi | |||||
| # sip | # sip | ||||
| if [ ! -d sip-${SIP_VERSION} ]; then | if [ ! -d sip-${SIP_VERSION} ]; then | ||||
| /opt/local/bin/aria2c https://www.riverbankcomputing.com/static/Downloads/sip/${SIP_VERSION}/sip-${SIP_VERSION}.tar.gz | |||||
| /opt/local/bin/aria2c https://files.kde.org/krita/build/dependencies/sip-${SIP_VERSION}.tar.gz | |||||
| tar -xf sip-${SIP_VERSION}.tar.gz | tar -xf sip-${SIP_VERSION}.tar.gz | ||||
| fi | fi | ||||
| @@ -475,7 +475,7 @@ fi | |||||
| # pyqt5 | # pyqt5 | ||||
| if [ ! -d PyQt5_gpl-${PYQT5_VERSION} ]; then | if [ ! -d PyQt5_gpl-${PYQT5_VERSION} ]; then | ||||
| /opt/local/bin/aria2c https://www.riverbankcomputing.com/static/Downloads/PyQt5/${PYQT5_VERSION}/PyQt5_gpl-${PYQT5_VERSION}.tar.gz | |||||
| /opt/local/bin/aria2c https://files.kde.org/krita/build/dependencies/PyQt5_gpl-${PYQT5_VERSION}.tar.gz | |||||
| tar -xf PyQt5_gpl-${PYQT5_VERSION}.tar.gz | tar -xf PyQt5_gpl-${PYQT5_VERSION}.tar.gz | ||||
| fi | fi | ||||
| @@ -269,3 +269,39 @@ mv build/Carla.app ${PKG_FOLDER}/ | |||||
| mv build/Carla-Control.app ${PKG_FOLDER}/ | mv build/Carla-Control.app ${PKG_FOLDER}/ | ||||
| ############################################################################################## | ############################################################################################## | ||||
| # Build Mac plugin installer | |||||
| pkgbuild \ | |||||
| --identifier "studio.kx.carla.lv2" \ | |||||
| --install-location "/Library/Audio/Plug-Ins/LV2/carla.lv2/" \ | |||||
| --root "${PKG_FOLDER}/carla.lv2/" \ | |||||
| "${PKG_FOLDER}/carla-lv2.pkg" | |||||
| pkgbuild \ | |||||
| --identifier "studio.kx.carla.vst2fx" \ | |||||
| --install-location "/Library/Audio/Plug-Ins/VST/carlafx.vst/" \ | |||||
| --root "${PKG_FOLDER}/carlafx.vst/" \ | |||||
| "${PKG_FOLDER}/carla-vst2fx.pkg" | |||||
| pkgbuild \ | |||||
| --identifier "studio.kx.carla.vst2syn" \ | |||||
| --install-location "/Library/Audio/Plug-Ins/VST/carla.vst/" \ | |||||
| --root "${PKG_FOLDER}/carla.vst/" \ | |||||
| "${PKG_FOLDER}/carla-vst2syn.pkg" | |||||
| productbuild \ | |||||
| --distribution data/macos/package.xml \ | |||||
| --identifier studio.kx.carla \ | |||||
| --package-path "${PKG_FOLDER}" \ | |||||
| --version ${VERSION} \ | |||||
| "${PKG_FOLDER}/Carla-Plugins.pkg" | |||||
| rm -r ${PKG_FOLDER}/carla.lv2 | |||||
| rm -r ${PKG_FOLDER}/carla.vst | |||||
| rm -r ${PKG_FOLDER}/carlafx.vst | |||||
| rm ${PKG_FOLDER}/carla-lv2.pkg | |||||
| rm ${PKG_FOLDER}/carla-vst2fx.pkg | |||||
| rm ${PKG_FOLDER}/carla-vst2syn.pkg | |||||
| ############################################################################################## | |||||
| @@ -0,0 +1,18 @@ | |||||
| <?xml version="1.0" encoding="utf-8" standalone="no"?> | |||||
| <installer-gui-script minSpecVersion="1"> | |||||
| <title>Carla Plugin</title> | |||||
| <domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" /> | |||||
| <options customize="always" hostArchitectures="x86_64" require-scripts="false" rootVolumeOnly="true" /> | |||||
| <pkg-ref id="studio.kx.carla" /> | |||||
| <choice id="studio.kx.carla.lv2" title="LV2 plugin" visible="true"> | |||||
| <pkg-ref id="studio.kx.carla.lv2" version="0">carla-lv2.pkg</pkg-ref> | |||||
| </choice> | |||||
| <choice id="studio.kx.carla.vst2" title="VST2 plugin" visible="true"> | |||||
| <pkg-ref id="studio.kx.carla.vst2fx" version="0">carla-vst2fx.pkg</pkg-ref> | |||||
| <pkg-ref id="studio.kx.carla.vst2syn" version="0">carla-vst2syn.pkg</pkg-ref> | |||||
| </choice> | |||||
| <choices-outline> | |||||
| <line choice="studio.kx.carla.lv2"/> | |||||
| <line choice="studio.kx.carla.vst2"/> | |||||
| </choices-outline> | |||||
| </installer-gui-script> | |||||