X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;ds=sidebyside;f=BuildContribsDarwin.sh;h=736d7cd1cb543a95b4ba373d9a5abef8c28cdbae;hb=533776bbad20db93fe964bc69975f108b2a30888;hp=0631cc74678ebd71a7a2564b33527c7be3f1762b;hpb=52d45181a7d1df6016d32c1842622660224538e0;p=handbrake-jp%2Fhandbrake-jp-git.git diff --git a/BuildContribsDarwin.sh b/BuildContribsDarwin.sh index 0631cc74..736d7cd1 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://svn.m0k.org/HandBrake/branches/0.8.0_beta2_5.1 +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 @@ -54,23 +54,15 @@ 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 -rp $USERNAME@$IP:/Users/$USERNAME/MFBUILDTMP/contrib/lib/libquicktime . +scp $USERNAME@$IP:/Users/$USERNAME/HBBUILDTMP/contrib/lib/*a . for lib in `ls *.a` do echo ... lipo contrib libraries: $lib lipo -create $lib ../../native/lib/$lib -output ../../lib/$lib done; -mkdir ../../lib/libquicktime -cd libquicktime -for lib in `ls *.so` -do - echo ... lipo libquicktime plugins: $lib - lipo -create $lib ../../../native/lib/libquicktime/$lib -output ../../../lib/libquicktime/$lib -done; -cd ../../.. +cd ../.. echo $VERSION > DarwinContribVersion.txt echo Creating contribbin-darwin-$VERSION.tar.gz tar zcvf contribbin-darwin-$VERSION.tar.gz lib include DarwinContribVersion.txt