[vlc-commits] macOS codesign: Adapt to new packaging changes

David Fuhrmann git at videolan.org
Wed Mar 20 19:22:37 CET 2019


vlc | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Mon Mar 18 20:50:46 2019 +0100| [45e88665da454ab6447861cfedc910dc86dfb7a9] | committer: David Fuhrmann

macOS codesign: Adapt to new packaging changes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=45e88665da454ab6447861cfedc910dc86dfb7a9
---

 extras/package/macosx/codesign.sh | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/extras/package/macosx/codesign.sh b/extras/package/macosx/codesign.sh
index f6b5a3a8cc..2e4b2dc251 100755
--- a/extras/package/macosx/codesign.sh
+++ b/extras/package/macosx/codesign.sh
@@ -139,40 +139,27 @@ do
     sign "$i"
 done
 
-info "Signing the headers"
-for i in $(find VLC.app/Contents/MacOS/include -type f -exec echo {} \;)
-do
-    sign "$i"
-done
-
 info "Signing the modules"
 
-for i in $(find VLC.app/Contents/MacOS/plugins -type f \( -name "*.dylib" -o -name "*.jar" \)  -exec echo {} \;)
+for i in $(find VLC.app/Contents/Frameworks/plugins -type f \( -name "*.dylib" -o -name "*.jar" \)  -exec echo {} \;)
 do
     sign "$i"
 done
 
 if [ ! -z "$VLCCACHEGEN" ]; then
-    $VLCCACHEGEN VLC.app/Contents/MacOS/plugins
+    $VLCCACHEGEN VLC.app/Contents/Frameworks/plugins
 fi
 
-sign "VLC.app/Contents/MacOS/plugins/plugins.dat"
+sign "VLC.app/Contents/Frameworks/plugins/plugins.dat"
 
 info "Signing the libraries"
 
-for i in $(find VLC.app/Contents/MacOS/lib -type f -exec echo {} \;)
-do
-    sign "$i"
-done
-
-info "Signing share"
-
-for i in $(find VLC.app/Contents/MacOS/share -type f -exec echo {} \;)
+for i in $(find VLC.app/Contents/Frameworks -type f -name "*.dylib" -d 1 -exec echo {} \;)
 do
     sign "$i"
 done
 
-for i in $(find VLC.app/Contents/MacOS/lua -type f -exec echo {} \;)
+for i in $(find VLC.app/Contents/Frameworks/lua -type f -exec echo {} \;)
 do
     sign "$i"
 done



More information about the vlc-commits mailing list