- ige-mac-bundler $(PACKAGE_BUNDLE_FILE)
- cd $$HOME/Desktop && zip -r Linphone-$(VERSION).app.zip Linphone.app
-
-
-
+ MS2_PLUGINS_INSTALL_PREFIX=$(prefix) \
+ gtk-mac-bundler $(PACKAGE_BUNDLE_FILE)
+ printf "[Pango]\nModuleFiles=./etc/pango/pango.modules\n" \
+ > $(BUNDLEDIR)/Contents/Resources/etc/pango/pangorc
+ 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
+ cp -f $(LIBICONV_HACK) $(BUNDLEDIR)/Contents/Resources/lib/.
+ cd $(BUNDLEDIR)/.. && rm -f $(MACAPPZIP) && zip -r $(MACAPPZIP) $(MACAPPNAME) && cd -
+
+###
+### CLEAN
+
+clean-local:
+ rm -rf $(BUNDLEDIR)
+discovery:
+ touch specs.cpp
+ $(CC) --include $(top_builddir)/config.h \
+ $(TUNNEL_CFLAGS) $(CFLAGS) $(MEDIASTREAMER2_CFLAGS) $(ORTP_CFLAGS) -E -P -v -dD specs.cpp