mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Cleanup code signing of the LyX application bundle
This commit is contained in:
parent
6b9b07e6dc
commit
a47412b9de
@ -885,9 +885,14 @@ code_sign() {
|
|||||||
condir=$(content_directory "${target}"/lyx)
|
condir=$(content_directory "${target}"/lyx)
|
||||||
appdir=$(dirname "${condir}")
|
appdir=$(dirname "${condir}")
|
||||||
# have to sign frameworks first
|
# have to sign frameworks first
|
||||||
|
for fwname in Aspell Hunspell LibMagic ; do
|
||||||
|
fwitem="${condir}"/$(framework_name "${fwname}")
|
||||||
|
if [ -d "${fwitem}" ]; then
|
||||||
|
codesign --verbose --force --sign "${CODESIGN_IDENTITY}" "${fwitem}"
|
||||||
|
fi
|
||||||
|
done
|
||||||
for csitem in \
|
for csitem in \
|
||||||
"${condir}"/Frameworks/Qt*.framework/Versions/${QtFrameworkVersion} \
|
"${condir}"/Frameworks/Qt*.framework/Versions/${QtFrameworkVersion} \
|
||||||
"${condir}"/Frameworks/*.framework/lib*.dylib \
|
|
||||||
"${condir}"/PlugIns/*/lib*.dylib \
|
"${condir}"/PlugIns/*/lib*.dylib \
|
||||||
"${condir}"/Library/Spotlight/* \
|
"${condir}"/Library/Spotlight/* \
|
||||||
"${target}"/inkscape \
|
"${target}"/inkscape \
|
||||||
@ -1065,7 +1070,7 @@ build_package() {
|
|||||||
if [ ${LyxOnlyPackage:-"no"} = "no" ]; then
|
if [ ${LyxOnlyPackage:-"no"} = "no" ]; then
|
||||||
build_lyx
|
build_lyx
|
||||||
convert_universal
|
convert_universal
|
||||||
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
|
||||||
copy_dictionaries
|
copy_dictionaries
|
||||||
|
test -n "${CODESIGN_IDENTITY}" && code_sign "${LYX_BUNDLE_PATH}"
|
||||||
fi
|
fi
|
||||||
build_package
|
build_package
|
||||||
|
Loading…
Reference in New Issue
Block a user