Changeset 224

Show
Ignore:
Timestamp:
01/04/07 10:40:56 (2 years ago)
Author:
gbooker
Message:

Added a script which will create the zip files for the components (if they exist) and insert them within the PrefPane?.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Perian.xcodeproj/project.pbxproj

    r222 r224  
    953953                                83D1D6C50B4C794700E09EC9 /* Sources */, 
    954954                                83D1D6C60B4C794700E09EC9 /* Frameworks */, 
     955                                F535FCD50B4D605900F00D14 /* ShellScript */, 
    955956                        ); 
    956957                        buildRules = ( 
     
    10491050                        shellPath = /bin/sh; 
    10501051                        shellScript = "# Xcode auto-versioning script for Subversion\n# by Axel Andersson, modified by Daniel Jalkut to add\n# \"--revision HEAD\" to the svn info line, which allows\n# the latest revision to always be used.\n\n# further modified by Augie Fackler to be gross and sh-based in places\n# so that you can have svn installed anywhere\nPATH=$PATH:/usr/local/bin:/usr/bin:/sw/bin:/opt/local/bin\nffmpeg_rev=`cat \"$SYMROOT/Universal/buildid\"`\nREV=`svnversion -n ./`\necho $REV\n\necho | perl <<EOF\nuse strict;\ndie \"\\$0: Must be run from Xcode\" unless \\$ENV{\"BUILT_PRODUCTS_DIR\"};\n\nmy \\$INFO = \"\\$ENV{BUILT_PRODUCTS_DIR}/\\$ENV{WRAPPER_NAME}/Contents/Info.plist\";\n\nmy \\$version = \"$REV\";\n\n# (Match the last group of digits and optional letter M/S):\n\n# ugly yet functional (barely) regex by Daniel Jalkut:\n#$version =~ s/([\\d]*:)(\\d+[M|S]*).*/$2/;\n\n# better yet still functional regex via Kevin \"Regex Nerd\" Ballard\n(\\$version =~ m/\\d+[MS]*\\$/) && (\\$version = \\$&);\n\nopen(FH, \"\\$INFO\") or die \"\\$0: \\$INFO: $!\";\nmy \\$info = join(\"\", <FH>);\nclose(FH);\n\n#\\$info =~ s/([\\t ]+<key>CFBundleVersion<\\/key>\\n[\\t ]+<string>).*?(<\\/string>)/\\$1\\$version\\$2/;\n\\$info =~ s/SVNREVISION/\\$version/;\n\\$info =~ s/FFMPEGREVISION/$ffmpeg_rev/;\n\nopen(FH, \">\\$INFO\") or die \"\\$0: \\$INFO: \\$!\";\nprint FH \\$info;\nclose(FH);\nEOF\n"; 
     1052                }; 
     1053                F535FCD50B4D605900F00D14 /* ShellScript */ = { 
     1054                        isa = PBXShellScriptBuildPhase; 
     1055                        buildActionMask = 2147483647; 
     1056                        files = ( 
     1057                        ); 
     1058                        inputPaths = ( 
     1059                        ); 
     1060                        outputPaths = ( 
     1061                        ); 
     1062                        runOnlyForDeploymentPostprocessing = 0; 
     1063                        shellPath = /bin/sh; 
     1064                        shellScript = "source $SRCROOT/archiveComponents.sh"; 
    10511065                }; 
    10521066/* End PBXShellScriptBuildPhase section */