mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Add a target to build a MacOSX pkg file
This commit is contained in:
parent
f422cbc934
commit
bb1046fb87
1 changed files with 8 additions and 4 deletions
12
Makefile.am
12
Makefile.am
|
|
@ -210,6 +210,7 @@ Portfile-devel: $(top_srcdir)/scripts/Portfile-devel.tmpl dist
|
|||
MACAPPNAME=Linphone.app
|
||||
MACAPPZIP=$(PACKAGE)-$(GITVERSION).app.zip
|
||||
MACAPPDMG=$(PACKAGE)-$(GITVERSION).dmg
|
||||
MACAPPPKG=$(PACKAGE)-$(GITVERSION).pkg
|
||||
BUNDLEPREFIX=./
|
||||
BUNDLEDIR=$(BUNDLEPREFIX)$(MACAPPNAME)
|
||||
#a path prefix where additional libs can be cherry-picked by the bundler.
|
||||
|
|
@ -232,13 +233,16 @@ Linphone.app:
|
|||
patch -R ${BUNDLEDIR}/Contents/Resources/share/themes/Quartz/gtk-2.0/gtkrc ${srcdir}/build/macos/quartz-theme-gtkrc.patch
|
||||
rm -f ${BUNDLEDIR}/Contents/Resources/lib/libopenh264*
|
||||
|
||||
bundle: Linphone.app
|
||||
bundle: $(MACAPPNAME)
|
||||
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
|
||||
signed-bundle: $(MACAPPNAME)
|
||||
codesign --deep -s $(BUNDLE_SIGNING_ID) $(BUNDLEDIR)
|
||||
cd $(BUNDLEDIR)/.. && rm -f $(MAXAPPDMG) && hdiutil create $(MACAPPDMG) -srcfolder $(MACAPPNAME) -ov && cd -
|
||||
|
||||
pkg: $(MACAPPNAME)
|
||||
pkgbuild --install-location /Applications --component $(MACAPPNAME) $(MACAPPPKG)
|
||||
|
||||
|
||||
###
|
||||
|
|
@ -249,8 +253,8 @@ clean-local:
|
|||
discovery:
|
||||
touch specs.c
|
||||
$(CC) --include $(top_builddir)/config.h \
|
||||
$(TUNNEL_CFLAGS) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) $(SIPSTACK_CFLAGS) $(CUNIT_CFLAGS) -E -P -v -dD specs.c
|
||||
$(TUNNEL_CFLAGS) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) $(SIPSTACK_CFLAGS) $(CUNIT_CFLAGS) -E -P -v -dD specs.c
|
||||
|
||||
.PHONY: Linphone.app
|
||||
.PHONY: $(MACAPPNAME)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue