mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-05-21 05:40:49 +00:00
APPLE: Properly sign helper binaries in Sparkle
This commit is contained in:
@@ -10,6 +10,14 @@ do_make_bdir
|
||||
|
||||
do_http_fetch Sparkle "https://github.com/sparkle-project/Sparkle/releases/download/${SPARKLE_VERSION}/Sparkle-${SPARKLE_VERSION}.tar.xz" 'tar --one-top-level -xJf'
|
||||
|
||||
# Remove XPCServices
|
||||
rm "Sparkle.framework/XPCServices"
|
||||
rm -rf "Sparkle.framework/Versions/B/XPCServices"
|
||||
|
||||
# Sign remaining binaries: our codesign shim doesn't handle well deep binaries
|
||||
ldid -P -Cadhoc -Cruntime -S Sparkle.framework/Versions/B/Autoupdate
|
||||
ldid -P -Cadhoc -Cruntime -S Sparkle.framework/Versions/B/Updater.app
|
||||
|
||||
mkdir -p "${DESTDIR}/${PREFIX}/Library/Frameworks"
|
||||
|
||||
mv Sparkle.framework "${DESTDIR}/${PREFIX}/Library/Frameworks"
|
||||
|
||||
Reference in New Issue
Block a user