Commit 69e02139 authored by Ronan's avatar Ronan

feat(linphone_package): better code for deal with customizations (app name, url...) and packaging

parent 6ab1fb83
set(EXECUTABLE_NAME linphone)
set(APPLICATION_NAME Linphone)
set(APPLICATION_DESCRIPTION "A libre SIP client")
set(APPLICATION_NAME Linphone)
set(APPLICATION_URL "https://www.linphone.org")
set(APPLICATION_VENDOR "Belledonne Communications")
set(EXECUTABLE_NAME linphone)
......@@ -11,7 +11,7 @@
<key>CFBundleExecutable</key>
<string>@EXECUTABLE_NAME@</string>
<key>CFBundleGetInfoString</key>
<string>@PACKAGE_VERSION@, (C) 2011-2018 The linphone team http://www.linphone.org</string>
<string>@PACKAGE_VERSION@, (C) 2011-2018 @APPLICATION_NAME@ @APPLICATION_URL@</string>
<key>CFBundleIconFile</key>
<string>linphone.icns</string>
<key>CFBundleIdentifier</key>
......@@ -27,7 +27,7 @@
<key>CFBundleVersion</key>
<string>@PACKAGE_VERSION@</string>
<key>NSHumanReadableCopyright</key>
<string>Copyright 2011-2018 Belledonne Communications</string>
<string>Copyright 2011-2018 @APPLICATION_VENDOR@</string>
<key>LSMinimumSystemVersion</key>
<string>@CMAKE_OSX_DEPLOYMENT_TARGET@</string>
<key>NSAppSleepDisabled</key>
......
......@@ -22,13 +22,13 @@
if (NOT "${CMAKE_INSTALL_PREFIX}" MATCHES .*/_CPack_Packages/.*)
execute_process(
COMMAND ${CMAKE_CPACK_COMMAND} -G NSIS
COMMAND ${CMAKE_CPACK_COMMAND} -G ${CPACK_GENERATOR}
RESULT_VARIABLE CPACK_COMMAND_SUCCESS
)
if (@PERFORM_SIGNING@)
execute_process(
COMMAND @SIGNTOOL_COMMAND@ @CMAKE_CURRENT_BINARY_DIR@/@CPACK_PACKAGE_FILE_NAME@.exe
COMMAND @SIGNTOOL_COMMAND@ @CMAKE_CURRENT_BINARY_DIR@/@CPACK_PACKAGE_FILE_NAME@.@PACKAGE_EXT@
)
endif ()
endif ()
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