From a76068c63241e0a9fb61ccfe82887d24cd2a6f0f Mon Sep 17 00:00:00 2001 From: essej Date: Wed, 15 Jun 2022 13:42:01 -0400 Subject: [PATCH] update mac release scripts for CLAP support --- release/codesign.sh | 8 + release/distmac.sh | 4 + release/macpkg/PaulXStretch.pkgproj | 581 +++++++++++++++++++++++++++- 3 files changed, 589 insertions(+), 4 deletions(-) diff --git a/release/codesign.sh b/release/codesign.sh index b9925aa..a995643 100755 --- a/release/codesign.sh +++ b/release/codesign.sh @@ -11,6 +11,7 @@ AOPTS="--strict --force --options=runtime --sign C7AF15C3BCF2AD2E5C102B9DB6502C codesign ${AOPTS} --entitlements ${MAINNAME}.entitlements ${MAINNAME}/${MAINNAME}.app codesign ${POPTS} --entitlements ${MAINNAME}.entitlements ${MAINNAME}/${MAINNAME}.component codesign ${POPTS} --entitlements ${MAINNAME}.entitlements ${MAINNAME}/${MAINNAME}.vst3 +codesign ${POPTS} --entitlements ${MAINNAME}.entitlements ${MAINNAME}/${MAINNAME}.clap # AAX is special @@ -33,6 +34,7 @@ mkdir -p tmp ./notarize-app.sh --submit=tmp/sbapp.uuid ${MAINNAME}/${MAINNAME}.app ./notarize-app.sh --submit=tmp/sbau.uuid ${MAINNAME}/${MAINNAME}.component ./notarize-app.sh --submit=tmp/sbvst3.uuid ${MAINNAME}/${MAINNAME}.vst3 +./notarize-app.sh --submit=tmp/sbclap.uuid ${MAINNAME}/${MAINNAME}.clap #./notarize-app.sh --submit=tmp/sbinstvst3.uuid SonoBus/SonoBusInstrument.vst3 #./notarize-app.sh --submit=tmp/sbvst2.uuid SonoBus/SonoBus.vst @@ -51,4 +53,10 @@ if ! ./notarize-app.sh --resume=tmp/sbvst3.uuid ${MAINNAME}/${MAINNAME}.vst3 ; t exit 2 fi +if ! ./notarize-app.sh --resume=tmp/sbclap.uuid ${MAINNAME}/${MAINNAME}.clap ; then + echo Notarization CLAP failed + exit 2 +fi + + diff --git a/release/distmac.sh b/release/distmac.sh index 1789f17..83334e4 100755 --- a/release/distmac.sh +++ b/release/distmac.sh @@ -24,6 +24,10 @@ mkdir -p ${MAINNAME} cp -pLRv ${BUILDDIR}/Standalone/${MAINNAME}.app ${MAINNAME}/ cp -pLRv ${BUILDDIR}/AU/${MAINNAME}.component ${MAINNAME}/ cp -pLRv ${BUILDDIR}/VST3/${MAINNAME}.vst3 ${MAINNAME}/ +cp -pLRv ${BUILDDIR}/CLAP/${MAINNAME}.clap ${MAINNAME}/ +# needed because clap build doesn't make correct ones - ugh +cp ${MAINNAME}/${MAINNAME}.vst3/Contents/PkgInfo ${MAINNAME}/${MAINNAME}.clap/Contents/ +cp ${MAINNAME}/${MAINNAME}.vst3/Contents/Info.plist ${MAINNAME}/${MAINNAME}.clap/Contents/ cp -pRHv ${AAXBUILDDIR}/AAX/${MAINNAME}.aaxplugin ${MAINNAME}/ diff --git a/release/macpkg/PaulXStretch.pkgproj b/release/macpkg/PaulXStretch.pkgproj index e7b0d92..6ec4432 100644 --- a/release/macpkg/PaulXStretch.pkgproj +++ b/release/macpkg/PaulXStretch.pkgproj @@ -22,7 +22,7 @@ BUNDLE_CAN_DOWNGRADE - + BUNDLE_POSTINSTALL_PATH PATH_TYPE @@ -565,7 +565,7 @@ BUNDLE_CAN_DOWNGRADE - + BUNDLE_POSTINSTALL_PATH PATH_TYPE @@ -1089,7 +1089,7 @@ BUNDLE_CAN_DOWNGRADE - + BUNDLE_POSTINSTALL_PATH PATH_TYPE @@ -1640,7 +1640,7 @@ BUNDLE_CAN_DOWNGRADE - + BUNDLE_POSTINSTALL_PATH PATH_TYPE @@ -2086,6 +2086,21 @@ VERSION 5 + PACKAGE_SCRIPTS + + POSTINSTALL_PATH + + PATH_TYPE + 0 + + PREINSTALL_PATH + + PATH_TYPE + 0 + + RESOURCES + + PACKAGE_SETTINGS AUTHENTICATION @@ -2118,6 +2133,543 @@ UUID 4e2d6b27-ad75-4fb4-b465-f7951c7b1048 + + MUST-CLOSE-APPLICATION-ITEMS + + MUST-CLOSE-APPLICATIONS + + PACKAGE_FILES + + DEFAULT_INSTALL_LOCATION + / + HIERARCHY + + CHILDREN + + + CHILDREN + + GID + 80 + PATH + Applications + PATH_TYPE + 0 + PERMISSIONS + 509 + TYPE + 1 + UID + 0 + + + CHILDREN + + + CHILDREN + + GID + 80 + PATH + Application Support + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + + CHILDREN + + + CHILDREN + + + BUNDLE_CAN_DOWNGRADE + + BUNDLE_POSTINSTALL_PATH + + PATH_TYPE + 1 + + BUNDLE_PREINSTALL_PATH + + PATH_TYPE + 1 + + CHILDREN + + GID + 0 + PATH + ../PaulXStretch/PaulXStretch.clap + PATH_TYPE + 1 + PERMISSIONS + 493 + TYPE + 3 + UID + 0 + + + GID + 0 + PATH + CLAP + PATH_TYPE + 2 + PERMISSIONS + 509 + TYPE + 2 + UID + 0 + + + GID + 0 + PATH + Plug-Ins + PATH_TYPE + 2 + PERMISSIONS + 509 + TYPE + 2 + UID + 0 + + + GID + 0 + PATH + Audio + PATH_TYPE + 2 + PERMISSIONS + 509 + TYPE + 2 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Automator + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Documentation + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Extensions + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Filesystems + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Frameworks + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Input Methods + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Internet Plug-Ins + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + LaunchAgents + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + LaunchDaemons + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + PreferencePanes + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Preferences + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 80 + PATH + Printers + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + PrivilegedHelperTools + PATH_TYPE + 0 + PERMISSIONS + 1005 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + QuickLook + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + QuickTime + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Screen Savers + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Scripts + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Services + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + GID + 0 + PATH + Widgets + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + GID + 0 + PATH + Library + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + CHILDREN + + + CHILDREN + + GID + 0 + PATH + Shared + PATH_TYPE + 0 + PERMISSIONS + 1023 + TYPE + 1 + UID + 0 + + + GID + 80 + PATH + Users + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + + GID + 0 + PATH + / + PATH_TYPE + 0 + PERMISSIONS + 493 + TYPE + 1 + UID + 0 + + PAYLOAD_TYPE + 0 + PRESERVE_EXTENDED_ATTRIBUTES + + SHOW_INVISIBLE + + SPLIT_FORKS + + TREAT_MISSING_FILES_AS_WARNING + + VERSION + 5 + + PACKAGE_SETTINGS + + AUTHENTICATION + 1 + CONCLUSION_ACTION + 0 + FOLLOW_SYMBOLIC_LINKS + + IDENTIFIER + com.sonosaurus.paulxstretch.pkg.clap + LOCATION + 0 + NAME + CLAP Plugin + OVERWRITE_PERMISSIONS + + PAYLOAD_SIZE + -1 + REFERENCE_PATH + + RELOCATABLE + + USE_HFS+_COMPRESSION + + VERSION + 1.0 + + TYPE + 0 + UUID + 33A871D9-AFDA-4FBC-B60B-15B1032927E2 + PROJECT @@ -2233,6 +2785,27 @@ UUID c25a3faf-335f-4a45-a66c-f8410ccf1892 + + CHILDREN + + DESCRIPTION + + OPTIONS + + HIDDEN + + STATE + 2 + + PACKAGE_UUID + 33A871D9-AFDA-4FBC-B60B-15B1032927E2 + TITLE + + TYPE + 0 + UUID + E5E94FEF-DC0F-4367-AB0A-264C3C40576D + REMOVED