X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=BuildContribsDarwin.sh;h=f9faecac1cb4627b87beb370be8597a3c6394ccb;hb=3506dd0e4c866aa9ea00aa071286052963f6e1f6;hp=aabf6d85ad2bee9c39091662e5bfe5f6cb824821;hpb=d092f97a2f9b77c992d23bf7026546d0a890d50d;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/BuildContribsDarwin.sh b/BuildContribsDarwin.sh index aabf6d85..f9faecac 100755 --- a/BuildContribsDarwin.sh +++ b/BuildContribsDarwin.sh @@ -1,8 +1,8 @@ #!/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: @@ -21,7 +21,7 @@ # 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 @@ -33,11 +33,11 @@ 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.m0k.org/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 @@ -54,12 +54,13 @@ echo the foreign build is done, transferring files to native computer: 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