Commit 6ed2d4fa authored by Felix Paul Kühne's avatar Felix Paul Kühne

macosx: fixed the ub creation script for the new contribs

(cherry picked from commit 34c66055d35e62d5347f03c5f06f25e1db5a576b)
parent 779e24dc
......@@ -25,10 +25,10 @@ cd $WD
#############################################
# Config
INTELROOT=$SRCROOT/build32/VLC.app
INTEL64ROOT=$SRCROOT/build64/VLC.app
INTELROOT=$SRCROOT/32bit/VLC.app
INTEL64ROOT=$SRCROOT/64bit/VLC.app
# PPCROOT
UBROOT=$SRCROOT/build-fat/VLC.app
UBROOT=$SRCROOT/VLC.app
#
#############################################
......@@ -39,9 +39,15 @@ cp -Rf $INTEL64ROOT $UBROOT
LIBS=Contents/MacOS/lib
PLUGINS=Contents/MacOS/plugins
rm -Rf $SRCROOT/build-fat/VLC.app/$LIBS/*
rm -Rf $SRCROOT/build-fat/VLC.app/Contents/MacOS/VLC
rm -Rf $SRCROOT/build-fat/VLC.app/$PLUGINS/*
FRAMEWORKS=Contents/Frameworks
rm -Rf $SRCROOT/VLC.app/$LIBS/*
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 {
file="$1"
......@@ -79,6 +85,12 @@ do
do_lipo $PLUGINS/$i
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"
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