Commit 378dfed1 authored by Ghislain MARY's avatar Ghislain MARY

Apply gtkrc patch when building Mac OS package.

parent 129c5527
......@@ -20,6 +20,10 @@
#
############################################################################
find_program(PATCH_PROGRAM
NAMES patch patch.exe
)
set(ENV{LINPHONE_INSTALL_PREFIX} "${LINPHONE_OUTPUT_DIR}")
set(ENV{MS2_PLUGINS_INSTALL_PREFIX} "${LINPHONE_OUTPUT_DIR}")
set(ENV{BUNDLE_PREFIX} "${CMAKE_INSTALL_PREFIX}")
......@@ -37,6 +41,10 @@ execute_process(
"${CMAKE_INSTALL_PREFIX}/Linphone.app/Contents/MacOS/Linphone-bin"
)
execute_process(
COMMAND ${PATCH_PROGRAM} -R "${CMAKE_INSTALL_PREFIX}/Linphone.app/Contents/Resources/share/themes/Quartz/gtk-2.0/gtkrc" "${LINPHONE_SOURCE_DIR}/build/macos/quartz-theme-gtkrc.patch"
)
execute_process(
COMMAND pkgbuild
--install-location /Applications
......
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