Commit 8abadb36 authored by François Grisez's avatar François Grisez

MacOS bundle: change LC_RPATH to @executable and add some localization files

parent ba716f5e
......@@ -27,6 +27,14 @@ execute_process(
COMMAND ${MAC_BUNDLER} linphone.bundle
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/mac-bundler
)
execute_process(
COMMAND install_name_tool
-delete_rpath ${LINPHONE_OUTPUT_DIR}/lib
-add_rpath @executable/../Resources/lib
${CMAKE_INSTALL_PREFIX}/Linphone.app/Contents/MacOS/Linphone-bin
)
execute_process(
COMMAND pkgbuild
--install-location /Applications
......@@ -35,3 +43,4 @@ execute_process(
./linphone-${LINPHONE_GIT_REVISION}.pkg
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)
......@@ -100,6 +100,17 @@
${prefix}/share/locale
</translations>
<data name="linphone">
${prefix:linphone}/share/locale
</data>
<translations name="gdk-pixbuf">
${prefix}/share/locale
</translations>
<translations name="glib20">
${prefix}/share/locale
</translations>
<!-- Data to copy in, usually Glade/UI files, images, sounds files
etc. The destination inside the bundle can be specified if the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment