Commit 34c66055 authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed the ub creation script for the new contribs

parent 013a3391
...@@ -25,10 +25,10 @@ cd $WD ...@@ -25,10 +25,10 @@ cd $WD
############################################# #############################################
# Config # Config
INTELROOT=$SRCROOT/build32/VLC.app INTELROOT=$SRCROOT/32bit/VLC.app
INTEL64ROOT=$SRCROOT/build64/VLC.app INTEL64ROOT=$SRCROOT/64bit/VLC.app
# PPCROOT # PPCROOT
UBROOT=$SRCROOT/build-fat/VLC.app UBROOT=$SRCROOT/VLC.app
# #
############################################# #############################################
...@@ -39,9 +39,15 @@ cp -Rf $INTEL64ROOT $UBROOT ...@@ -39,9 +39,15 @@ cp -Rf $INTEL64ROOT $UBROOT
LIBS=Contents/MacOS/lib LIBS=Contents/MacOS/lib
PLUGINS=Contents/MacOS/plugins PLUGINS=Contents/MacOS/plugins
rm -Rf $SRCROOT/build-fat/VLC.app/$LIBS/* FRAMEWORKS=Contents/Frameworks
rm -Rf $SRCROOT/build-fat/VLC.app/Contents/MacOS/VLC rm -Rf $SRCROOT/VLC.app/$LIBS/*
rm -Rf $SRCROOT/build-fat/VLC.app/$PLUGINS/* rm -Rf $SRCROOT/VLC.app/Contents/MacOS/VLC
rm -Rf $SRCROOT/VLC.app/$PLUGINS/*
rm -Rf $SRCROOT/VLC.app/$FRAMEWORKS/Growl.framework/Versions/A/Growl
rm -Rf $SRCROOT/VLC.app/$FRAMEWORKS/BGHUDAppKit.framework/BGHUDAppKit
rm -Rf $SRCROOT/VLC.app/$FRAMEWORKS/BGHUDAppKit.framework/Versions/A/BGHUDAppKit
rm -Rf $SRCROOT/VLC.app/$FRAMEWORKS/Sparkle.framework/Versions/A/Sparkle
rm -Rf $SRCROOT/VLC.app/$FRAMEWORKS/Sparkle.framework/Resources/relaunch
function do_lipo { function do_lipo {
file="$1" file="$1"
...@@ -79,6 +85,12 @@ do ...@@ -79,6 +85,12 @@ do
do_lipo $PLUGINS/$i do_lipo $PLUGINS/$i
done done
echo "Installing frameworks"
do_lipo $FRAMEWORKS/Growl.framework/Versions/A/Growl
do_lipo $FRAMEWORKS/BGHUDAppKit.framework/BGHUDAppKit
do_lipo $FRAMEWORKS/BGHUDAppKit.framework/Versions/A/BGHUDAppKit
do_lipo $FRAMEWORKS/Sparkle.framework/Versions/A/Sparkle
do_lipo $FRAMEWORKS/Sparkle.framework/Resources/relaunch
echo "Installing VLC" echo "Installing VLC"
do_lipo Contents/MacOS/VLC do_lipo Contents/MacOS/VLC
......
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