rbutilqt/themeeditor: Allow specifying the Apple code signing ID using an environment variable
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Wed, 29 Jul 2026 18:45:58 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit d42dcdcba22c1046cbee99154b3ed3ac9c7a6a39 Author: Vencislav Atanasov <[email protected]> Date: Wed Jul 29 22:07:38 2026 +0300 rbutilqt/themeeditor: Allow specifying the Apple code signing ID using an environment variable Co-authored-by: ChatGPT-5.5 Change-Id: Idd4624c7851f7fa37afac4de59f319e0087d0bc6 diff --git a/utils/cmake/deploy.cmake b/utils/cmake/deploy.cmake index ff21da4444..cfbae24d50 100644 --- a/utils/cmake/deploy.cmake +++ b/utils/cmake/deploy.cmake @@ -96,6 +96,17 @@ endif() if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") set(CODESIGN_IDENTITY "-" CACHE STRING "Code signing identity to use for macOS signing") + + if(DEFINED ENV{CODESIGN_IDENTITY}) + set(CODESIGN_IDENTITY "$ENV{CODESIGN_IDENTITY}") + endif() + + if("${CODESIGN_IDENTITY}" STREQUAL "-") + message("-- Using ad-hoc Apple code signing") + else() + message("-- Using Apple code signing identity: ${CODESIGN_IDENTITY}") + endif() + set(DMGBUILD_STAMP ${CMAKE_BINARY_DIR}/dmgbuild.stamp) add_custom_command( COMMENT "Setting up dmgbuild virtualenv" -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs