Issue #2268 - Fix Mac packaging by making the individual parts configurable. Add --with-macbundle-entitlement= to specify alternate entitlements or "none" Add --with-macbundle-type=hybrid to use the old DMG format.

This commit is contained in:
Brian Smith 2023-07-07 17:46:55 -05:00 committed by roytam1
commit eb2cca7242
3 changed files with 50 additions and 8 deletions

View file

@ -5010,6 +5010,16 @@ fi
AC_DEFINE_UNQUOTED(MOZ_MACBUNDLE_ID,$MOZ_MACBUNDLE_ID)
AC_SUBST(MOZ_MACBUNDLE_ID)
dnl ========================================================
dnl = Mac bundle codesign entitlements
dnl ========================================================
MOZ_ARG_WITH_STRING(macbundle-entitlement,
[ --with-macbundle-entitlement=entitlementname
Entitlements to add to the Mac application bundle],
[ MOZ_MACBUNDLE_ENTITLEMENT="$withval"])
AC_SUBST(MOZ_MACBUNDLE_ENTITLEMENT)
dnl ========================================================
dnl = Mac bundle codesign identity
dnl ========================================================
@ -5020,6 +5030,17 @@ MOZ_ARG_WITH_STRING(macbundle-identity,
AC_SUBST(MOZ_MACBUNDLE_IDENTITY)
dnl ========================================================
dnl = Mac bundle DMG type
dnl ========================================================
MOZ_ARG_WITH_STRING(macbundle-type,
[ --with-macbundle-type=hybrid
Method to use to create the DMG],
[ MOZ_MACBUNDLE_TYPE="$withval"])
AC_SUBST(MOZ_MACBUNDLE_TYPE)
dnl ========================================================
dnl = Child Process Name for IPC
dnl ========================================================