* commit Jean-Baptiste's universal binary script to svn, so you don't have to browse...
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 Jan 2007 16:14:05 +0000 (16:14 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 14 Jan 2007 16:14:05 +0000 (16:14 +0000)
extras/MacOSX/ub.sh [new file with mode: 0644]

diff --git a/extras/MacOSX/ub.sh b/extras/MacOSX/ub.sh
new file mode 100644 (file)
index 0000000..4471fce
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+INTELROOT=/Volumes/vlc-0.8.6a/VLC.app
+PPCROOT=/Applications/VLC.app
+UBROOT=/Users/fpk/0.8.6a/VLC-release.app
+
+for i in `ls $INTELROOT/Contents/MacOS/lib/`
+do
+        echo $i
+        lipo $INTELROOT/Contents/MacOS/lib/$i $PPCROOT/Contents/MacOS/lib/$i -create -output $UBROOT/Contents/MacOS/lib/$i
+done
+for i in `ls $INTELROOT/Contents/MacOS/modules/`
+do
+        echo $i
+        lipo $INTELROOT/Contents/MacOS/modules/$i $PPCROOT/Contents/MacOS/modules/$i -create -output $UBROOT/Contents/MacOS/modules/$i
+done
+lipo $INTELROOT/Contents/MacOS/VLC $PPCROOT/Contents/MacOS/VLC -create -output $UBROOT/Contents/MacOS/VLC