vlc | branch: master | David Fuhrmann <[email protected]> | 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

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to