forked from mirrors/linphone-iphone
allow passing of directory prefix where to pickup dependencies when running the mac bundler.
This commit is contained in:
parent
754f4657cd
commit
b67b596f39
2 changed files with 4 additions and 2 deletions
|
|
@ -205,7 +205,8 @@ MACAPPZIP=$(PACKAGE)-$(VERSION).app.zip
|
|||
MACAPPDMG=$(PACKAGE)-$(VERSION).dmg
|
||||
BUNDLEPREFIX=./
|
||||
BUNDLEDIR=$(BUNDLEPREFIX)$(MACAPPNAME)
|
||||
|
||||
#a path prefix where additional libs can be cherry-picked by the bundler.
|
||||
LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX=/usr/local
|
||||
|
||||
bundle:
|
||||
rm -rf $(INSTALLDIR)
|
||||
|
|
@ -215,6 +216,7 @@ bundle:
|
|||
LINPHONE_INSTALL_PREFIX=$(INSTALLDIR_WITH_PREFIX) \
|
||||
LIBLINPHONE_INSTALL_PREFIX=$(INSTALLDIR_WITH_PREFIX) \
|
||||
MS2_PLUGINS_INSTALL_PREFIX=$(prefix) \
|
||||
LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX=$(LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX) \
|
||||
gtk-mac-bundler $(PACKAGE_BUNDLE_FILE)
|
||||
printf "[Pango]\nModuleFiles=./etc/pango/pango.modules\n" \
|
||||
> $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
<prefix name="linphone">${env:LINPHONE_INSTALL_PREFIX}</prefix>
|
||||
<prefix name="ms2plugins">${env:MS2_PLUGINS_INSTALL_PREFIX}</prefix>
|
||||
<!-- This prefix definition is necessary if some dependencies are to be taken from /usr/local/lib -->
|
||||
<prefix name="local">/usr/local</prefix>
|
||||
<prefix name="local">${env:LINPHONE_ADDITIONAL_DEPENDENCIES_PREFIX}</prefix>
|
||||
<!-- The project directory is the default location of the created
|
||||
app. If you leave out the path, the current directory is
|
||||
used. Note the usage of an environment variable here again.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue