From 1baa97a7f7bca016a7d67ce132098756adf7b8cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Grisez?= Date: Mon, 4 May 2015 16:41:39 +0200 Subject: [PATCH] Display licences while installing Linphone on MacOSX --- Makefile.am | 5 ++++- build/macos/pkg-distribution.xml.in | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 build/macos/pkg-distribution.xml.in diff --git a/Makefile.am b/Makefile.am index c50c5b9b7..ae5ec2271 100644 --- a/Makefile.am +++ b/Makefile.am @@ -242,7 +242,10 @@ signed-bundle: $(MACAPPNAME) cd $(BUNDLEDIR)/.. && rm -f $(MAXAPPDMG) && hdiutil create $(MACAPPDMG) -srcfolder $(MACAPPNAME) -ov && cd - pkg: $(MACAPPNAME) - pkgbuild --install-location /Applications --scripts ${srcdir}/build/macos/pkg-scripts --sign "$(BUNDLE_SIGNING_ID)" --component $(MACAPPNAME) $(MACAPPPKG) + rm -rf ${srcdir}/packaging + mkdir ${srcdir}/packaging + pkgbuild --install-location /Applications --scripts ${srcdir}/build/macos/pkg-scripts --sign "$(BUNDLE_SIGNING_ID)" --component $(MACAPPNAME) ${srcdir}/packaging/linphone.pkg + productbuild --distribution ${srcdir}/build/macos/pkg-distribution.xml --resources ${srcdir}/packaging $(MACAPPPKG} ### diff --git a/build/macos/pkg-distribution.xml.in b/build/macos/pkg-distribution.xml.in new file mode 100644 index 000000000..547fc5e05 --- /dev/null +++ b/build/macos/pkg-distribution.xml.in @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + linphone.pkg + + +