Commit 2e640ac4 authored by Konstantin Pavlov's avatar Konstantin Pavlov

extras/package/macosx: Explain what i did to make universal binary, that

sacred knowledge shouldnt be forgotten by future generations of VLC
devs.
parent 9cff8cf1
#!/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'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment