]> git.sesse.net Git - vlc/commitdiff
extras/package/macosx: Explain what i did to make universal binary, that
authorPavlov Konstantin <thresh@videolan.org>
Fri, 24 Oct 2008 20:10:52 +0000 (00:10 +0400)
committerPavlov Konstantin <thresh@videolan.org>
Fri, 24 Oct 2008 20:12:58 +0000 (00:12 +0400)
sacred knowledge shouldnt be forgotten by future generations of VLC
devs.

extras/package/macosx/ub.sh

index b5016254f2af9c75634bce7d434642007c78725d..dec10175135be9028e6045ab14738e3eb82521b7 100644 (file)
@@ -1,7 +1,11 @@
 #!/bin/bash
 
+# INTELROOT == path to VLC.app with intel build.
 INTELROOT=/Applications/VLC.app
+# PPCROOT   == path to VLC.app with powerpc build.
 PPCROOT=/Volumes/vlc-0.9.0-test3/VLC.app
+# UBROOT    == path to copied INTEL VLC.app
+# which will contain Universal Binary.
 UBROOT=/Users/fpk/VLC-release.app
 
 for i in `ls $INTELROOT/Contents/MacOS/lib/`
@@ -19,3 +23,6 @@ cp $INTELROOT/Contents/MacOS/modules/*mmx* $UBROOT/Contents/MacOS/modules/
 cp $INTELROOT/Contents/MacOS/modules/*sse* $UBROOT/Contents/MacOS/modules/
 cp $INTELROOT/Contents/MacOS/modules/*3dn* $UBROOT/Contents/MacOS/modules/
 cp $PPCROOT/Contents/MacOS/modules/*altivec* $UBROOT/Contents/MacOS/modules/
+
+# now you should copy resulting UBROOT dir into vlc build directory
+# and run 'make package-macosx'