mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Add a target to make a signed MacOSX bundle
This commit is contained in:
parent
57da1e2023
commit
48c4ee7a84
1 changed files with 8 additions and 1 deletions
|
|
@ -215,7 +215,7 @@ BUNDLEDIR=$(BUNDLEPREFIX)$(MACAPPNAME)
|
|||
#a path prefix where additional libs can be cherry-picked by the bundler.
|
||||
LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX=/usr/local
|
||||
|
||||
bundle:
|
||||
Linphone.app:
|
||||
rm -rf $(INSTALLDIR)
|
||||
$(MKDIR_P) $(INSTALLDIR)
|
||||
make install DESTDIR=$(INSTALLDIR)
|
||||
|
|
@ -230,9 +230,16 @@ bundle:
|
|||
cp -f $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig
|
||||
sed -e 's:@executable_path.*/::g' $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules.orig > $(BUNDLEDIR)/Contents/Resources/etc/pango/pango.modules
|
||||
patch -R ${BUNDLEDIR}/Contents/Resources/share/themes/Quartz/gtk-2.0/gtkrc ${srcdir}/build/macos/quartz-theme-gtkrc.patch
|
||||
|
||||
bundle: Linphone.app
|
||||
cd $(BUNDLEDIR)/.. && rm -f $(MACAPPZIP) && zip -r $(MACAPPZIP) $(MACAPPNAME) && cd -
|
||||
cd $(BUNDLEDIR)/.. && rm -f $(MAXAPPDMG) && hdiutil create $(MACAPPDMG) -srcfolder $(MACAPPNAME) -ov && cd -
|
||||
|
||||
signed-bundle: Linphone.app
|
||||
codesign --deep -s $(BUNDLE_SIGNING_ID) $(BUNDLEDIR)
|
||||
cd $(BUNDLEDIR)/.. && rm -f $(MAXAPPDMG) && hdiutil create $(MACAPPDMG) -srcfolder $(MACAPPNAME) -ov && cd -
|
||||
|
||||
|
||||
###
|
||||
### CLEAN
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue