#!/bin/sh
# This script build the contrib libs
# This used on MaxOs X to generate a universal version of the contrib libraries
-# The new building process for MediaFork is to download a precompiled universal contrib folder
-# and use them to build universal binaries of MediaFork
+# The new building process for HandBrake is to download a precompiled universal contrib folder
+# and use them to build universal binaries of HandBrake
# pri: 01/28/07
# ########################################################################
# Parameters:
# to assemble both versions and put a universal binary version of the library in contrib/lib folder
#
# Once all of the contrib libraries are builded, a contribbin-darwin-${version}.tar.gz file is created, this file must
-# be uploaded to the ftp server so Xcode will be able to build universal binaries of the MediaFork, MediaForkCLI and libmediafork
+# be uploaded to the ftp server so Xcode will be able to build universal binaries of the HandBrake, HandBrakeCLI and libhb
#
# ##########################################################################
# SSH passwordless setup instructions
export VERSION=$1
export IP=$2
export USERNAME=$3
-export REPOS=svn://multics.dynalias.com/HandBrake/trunk/MediaFork_0.8.0_mpeg4ip
+export REPOS=svn://svn.handbrake.fr/HandBrake/trunk
# ##########################################################################
# Launch the build on the foreign system
# ##########################################################################
-ssh $USERNAME@$IP "rm -rf MFBUILDTMP ; mkdir MFBUILDTMP ; svn co $REPOS MFBUILDTMP ; cd MFBUILDTMP ; ./configure ; cd contrib ; cp ../config.jam . ; ../jam ; touch BUILDTERMINATED" &
+ssh $USERNAME@$IP "rm -rf HBBUILDTMP ; mkdir HBBUILDTMP ; svn co $REPOS HBBUILDTMP ; cd HBBUILDTMP ; ./configure ; cd contrib ; cp ../config.jam . ; ../jam ; touch BUILDTERMINATED" &
./configure
cd contrib
rm -rf lib include *tar.gz bin share man native foreign
cd foreign
mkdir lib
cd lib
-scp $USERNAME@$IP:/Users/$USERNAME/MFBUILDTMP/contrib/lib/*a .
+scp $USERNAME@$IP:/Users/$USERNAME/HBBUILDTMP/contrib/lib/*a .
for lib in `ls *.a`
do
- echo ... lipo: $lib
+ echo ... lipo contrib libraries: $lib
lipo -create $lib ../../native/lib/$lib -output ../../lib/$lib
done;
+
cd ../..
echo $VERSION > DarwinContribVersion.txt