]> git.sesse.net Git - vlc/blob - extras/package/macosx/ub.sh
macosx: go back to the IB2 nib file format
[vlc] / extras / package / macosx / ub.sh
1 #!/bin/bash
2
3 INTELROOT=/Applications/VLC.app
4 PPCROOT=/Volumes/vlc-0.9.0-test3/VLC.app
5 UBROOT=/Users/fpk/VLC-release.app
6
7 for i in `ls $INTELROOT/Contents/MacOS/lib/`
8 do
9         echo $i
10         lipo $INTELROOT/Contents/MacOS/lib/$i $PPCROOT/Contents/MacOS/lib/$i -create -output $UBROOT/Contents/MacOS/lib/$i
11 done
12 for i in `ls $INTELROOT/Contents/MacOS/modules/`
13 do
14         echo $i
15         lipo $INTELROOT/Contents/MacOS/modules/$i $PPCROOT/Contents/MacOS/modules/$i -create -output $UBROOT/Contents/MacOS/modules/$i
16 done
17 lipo $INTELROOT/Contents/MacOS/VLC $PPCROOT/Contents/MacOS/VLC -create -output $UBROOT/Contents/MacOS/VLC
18 cp $INTELROOT/Contents/MacOS/modules/*mmx* $UBROOT/Contents/MacOS/modules/
19 cp $INTELROOT/Contents/MacOS/modules/*sse* $UBROOT/Contents/MacOS/modules/
20 cp $INTELROOT/Contents/MacOS/modules/*3dn* $UBROOT/Contents/MacOS/modules/
21 cp $PPCROOT/Contents/MacOS/modules/*altivec* $UBROOT/Contents/MacOS/modules/