[vlc-devel] commit: extras/package/macosx: Explain what i did to make universal binary, that (Pavlov Konstantin )

git version control git at videolan.org
Fri Oct 24 22:13:08 CEST 2008


vlc | branch: master | Pavlov Konstantin <thresh at videolan.org> | Sat Oct 25 00:10:52 2008 +0400| [2e640ac4e8e1990d12c7e10358edb19a68de1983] | committer: Pavlov Konstantin 

extras/package/macosx: Explain what i did to make universal binary, that
sacred knowledge shouldnt be forgotten by future generations of VLC
devs.

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

 extras/package/macosx/ub.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/extras/package/macosx/ub.sh b/extras/package/macosx/ub.sh
index b501625..dec1017 100644
--- a/extras/package/macosx/ub.sh
+++ b/extras/package/macosx/ub.sh
@@ -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'




More information about the vlc-devel mailing list