summaryrefslogtreecommitdiff
path: root/indra/newview/SignPackageMmxSse2.cmake.in
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2026-06-14 13:53:25 +0800
committerErik Kundiman <erik@megapahit.org>2026-06-14 13:53:25 +0800
commit893b93bbbcb2ffc4948f2ebca9dd86be55e79237 (patch)
treea0e270333a85b050b48412aada9d86f2642d3b08 /indra/newview/SignPackageMmxSse2.cmake.in
parent47b583e9caa3388cd41f70e8de0a5a950082979d (diff)
Separate VLC MMX & SSE2 plugins signing for macOS
as they are available only for x86-64. The PACKAGE=ON parity files are done too in case we switch it on (and use CPack for macOS too, again) in the future.
Diffstat (limited to 'indra/newview/SignPackageMmxSse2.cmake.in')
-rw-r--r--indra/newview/SignPackageMmxSse2.cmake.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/newview/SignPackageMmxSse2.cmake.in b/indra/newview/SignPackageMmxSse2.cmake.in
new file mode 100644
index 0000000000..9a1c22cf68
--- /dev/null
+++ b/indra/newview/SignPackageMmxSse2.cmake.in
@@ -0,0 +1,11 @@
+message("By default, the situation is assumed to be the strictest, an Apple Silicon Mac with the default security settings. Codesigning requires administrative access. If you believe you're not in such a situation, you can remove the sudos in this file.")
+execute_process(
+ COMMAND sudo codesign -f -s ${SIGNING_IDENTITY} --timestamp -o runtime --runtime-version ${CMAKE_OSX_DEPLOYMENT_TARGET}
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_rgb_mmx_plugin.dylib
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_rgb_sse2_plugin.dylib
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_yuy2_mmx_plugin.dylib
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi420_yuy2_sse2_plugin.dylib
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi422_yuy2_mmx_plugin.dylib
+ Resources/SLPlugin.app/Contents/Frameworks/plugins/libi422_yuy2_sse2_plugin.dylib
+ WORKING_DIRECTORY ${CMAKE_CACHEFILE_DIR}/_CPack_Packages/${CMAKE_SYSTEM_NAME}/Bundle/${CPACK_BUNDLE_NAME}-${CPACK_PACKAGE_VERSION}-${CMAKE_SYSTEM_NAME}/${CPACK_BUNDLE_NAME}.app/Contents
+ )