Browse Source

Update dpf, fix get script to work under macOS

Signed-off-by: falkTX <falktx@falktx.com>
main
falkTX 2 days ago
parent
commit
cb1e397cf4
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 20 additions and 3 deletions
  1. +19
    -2
      dpf/utils/package-osx-bundles.sh
  2. +1
    -1
      get-plugins.sh

+ 19
- 2
dpf/utils/package-osx-bundles.sh View File

@@ -158,5 +158,22 @@ productbuild \
"${PKG_SIGN_ARGS[@]}" \ "${PKG_SIGN_ARGS[@]}" \
${MACOS_PKG_SNAME}-macOS.pkg ${MACOS_PKG_SNAME}-macOS.pkg


# xcrun notarytool submit build/*-macOS.pkg --keychain-profile "build-notary" --wait
# xcrun notarytool log --keychain-profile "build-notary" 00000000-0000-0000-0000-000000000000
if [ -n "${MACOS_NOTARIZATION_USER}" ] && [ -n "${MACOS_NOTARIZATION_PASS}" ] && [ -n "${MACOS_NOTARIZATION_TEAM}" ]; then
# Notarize using credentials
xcrun notarytool submit ${MACOS_PKG_SNAME}-macOS.pkg \
--apple-id ${MACOS_NOTARIZATION_USER} \
--password ${MACOS_NOTARIZATION_PASS} \
--team-id ${MACOS_NOTARIZATION_TEAM} \
--wait
xcrun stapler staple ${MACOS_PKG_SNAME}-macOS.pkg
elif [ -n "${MACOS_KEYCHAIN_PROFILE}" ]; then
# Notarize using keychain profile
xcrun notarytool submit ${MACOS_PKG_SNAME}-macOS.pkg \
--keychain-profile ${MACOS_KEYCHAIN_PROFILE} \
--wait
xcrun stapler staple ${MACOS_PKG_SNAME}-macOS.pkg
fi

# To get logs of your notarization note the notarization id (of the form `00000000-0000-0000-0000-000000000000`)
# and use either your credentials or keychain profile:
# xcrun notarytool log --keychain-profile ${MACOS_KEYCHAIN_PROFILE} ${NOTARIZATION_ID}

+ 1
- 1
get-plugins.sh View File

@@ -68,7 +68,7 @@ rm -f dpf/distrho/extra/Runner.hpp
rm -f dpf/distrho/extra/Time.hpp rm -f dpf/distrho/extra/Time.hpp
rm -f dpf/distrho/extra/WebView* rm -f dpf/distrho/extra/WebView*


sed -i '/ $(BUILD_DIR)\/dgl\/Layout.cpp.o \\/d' dpf/dgl/Makefile
sed -i -e '/ $(BUILD_DIR)\/dgl\/Layout.cpp.o \\/d' dpf/dgl/Makefile


for PLUGIN in ${PLUGINS[@]}; do for PLUGIN in ${PLUGINS[@]}; do
for f in $(ls repos/${PLUGIN}/plugins/); do for f in $(ls repos/${PLUGIN}/plugins/); do


Loading…
Cancel
Save