Changeset 249

Show
Ignore:
Timestamp:
01/06/07 11:51:18 (2 years ago)
Author:
gbooker
Message:

Added support for building the a52codec external target.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk

    • Property svn:externals changed from
      ffmpeg svn://svn.mplayerhq.hu/ffmpeg/trunk
      libebml http://svn.matroska.org/svn/matroska/trunk/libebml
      libmatroska http://svn.matroska.org/svn/matroska/trunk/libmatroska
      to
      ffmpeg svn://svn.mplayerhq.hu/ffmpeg/trunk
      libebml http://svn.matroska.org/svn/matroska/trunk/libebml
      libmatroska http://svn.matroska.org/svn/matroska/trunk/libmatroska
      a52codec http://svn.cod3r.com/a52codec/trunk
  • trunk/Perian.xcodeproj/project.pbxproj

    r248 r249  
    4343                        name = CreatePrefPanePlist; 
    4444                        productName = CreatePrefPanePlist; 
     45                }; 
     46                F5CFD2DB0B5012AA00616865 /* A52Codec */ = { 
     47                        isa = PBXAggregateTarget; 
     48                        buildConfigurationList = F5CFD2EA0B5012E800616865 /* Build configuration list for PBXAggregateTarget "A52Codec" */; 
     49                        buildPhases = ( 
     50                                F5CFD2E00B5012BC00616865 /* CopyFiles */, 
     51                                F5CFD2E30B5012DB00616865 /* CopyFiles */, 
     52                        ); 
     53                        dependencies = ( 
     54                                F5CFD3BC0B50142C00616865 /* PBXTargetDependency */, 
     55                                F5CFD2DD0B5012B400616865 /* PBXTargetDependency */, 
     56                                F5CFD2DF0B5012B400616865 /* PBXTargetDependency */, 
     57                        ); 
     58                        name = A52Codec; 
     59                        productName = A52Codec; 
     60                }; 
     61                F5CFD3BA0B50142100616865 /* Setup Build Directories */ = { 
     62                        isa = PBXAggregateTarget; 
     63                        buildConfigurationList = F5CFD3C10B50144E00616865 /* Build configuration list for PBXAggregateTarget "Setup Build Directories" */; 
     64                        buildPhases = ( 
     65                                F5CFD3B90B50142100616865 /* ShellScript */, 
     66                        ); 
     67                        dependencies = ( 
     68                        ); 
     69                        name = "Setup Build Directories"; 
     70                        productName = "Setup Build Directories"; 
    4571                }; 
    4672/* End PBXAggregateTarget section */ 
     
    194220                F5CFD1C10B5000DF00616865 /* GBPerianPanePListGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = F5CFD1BD0B5000CE00616865 /* GBPerianPanePListGenerator.m */; }; 
    195221                F5CFD22A0B50087C00616865 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F5CFD2290B50087C00616865 /* Foundation.framework */; }; 
     222                F5CFD3B20B5013EA00616865 /* A52Codec.component in CopyFiles */ = {isa = PBXBuildFile; fileRef = F5CFD2D60B5012A100616865 /* A52Codec.component */; }; 
     223                F5CFD3B70B5013EC00616865 /* AC3MovieImport.component in CopyFiles */ = {isa = PBXBuildFile; fileRef = F5CFD2D80B5012A100616865 /* AC3MovieImport.component */; }; 
    196224/* End PBXBuildFile section */ 
    197225 
     
    238266                        remoteGlobalIDString = F5CFD2560B500B5E00616865 /* CreatePrefPanePlist */; 
    239267                        remoteInfo = CreatePrefPanePlist; 
     268                }; 
     269                F5CFD2C60B50128200616865 /* PBXContainerItemProxy */ = { 
     270                        isa = PBXContainerItemProxy; 
     271                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
     272                        proxyType = 1; 
     273                        remoteGlobalIDString = 11A70AC00A3D0105002058D4 /* Perian */; 
     274                        remoteInfo = Perian; 
     275                }; 
     276                F5CFD2D50B5012A100616865 /* PBXContainerItemProxy */ = { 
     277                        isa = PBXContainerItemProxy; 
     278                        containerPortal = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     279                        proxyType = 2; 
     280                        remoteGlobalIDString = F5BDACAD0A20A00000FF4884 /* A52Codec.component */; 
     281                        remoteInfo = "A52Codec (Upgraded)"; 
     282                }; 
     283                F5CFD2D70B5012A100616865 /* PBXContainerItemProxy */ = { 
     284                        isa = PBXContainerItemProxy; 
     285                        containerPortal = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     286                        proxyType = 2; 
     287                        remoteGlobalIDString = F5525DF70A3BF78A00F36B86 /* AC3MovieImport.component */; 
     288                        remoteInfo = AC3MovieImport; 
     289                }; 
     290                F5CFD2D90B5012A100616865 /* PBXContainerItemProxy */ = { 
     291                        isa = PBXContainerItemProxy; 
     292                        containerPortal = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     293                        proxyType = 2; 
     294                        remoteGlobalIDString = F50B7AB50AAB69C600065C78 /* Preferences.app */; 
     295                        remoteInfo = A52Preferences; 
     296                }; 
     297                F5CFD2DC0B5012B400616865 /* PBXContainerItemProxy */ = { 
     298                        isa = PBXContainerItemProxy; 
     299                        containerPortal = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     300                        proxyType = 1; 
     301                        remoteGlobalIDString = F5BDAC850A20A00000FF4884 /* A52Codec (Upgraded) */; 
     302                        remoteInfo = "A52Codec (Upgraded)"; 
     303                }; 
     304                F5CFD2DE0B5012B400616865 /* PBXContainerItemProxy */ = { 
     305                        isa = PBXContainerItemProxy; 
     306                        containerPortal = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     307                        proxyType = 1; 
     308                        remoteGlobalIDString = F5525DCA0A3BF78A00F36B86 /* AC3MovieImport */; 
     309                        remoteInfo = AC3MovieImport; 
     310                }; 
     311                F5CFD2F00B50132E00616865 /* PBXContainerItemProxy */ = { 
     312                        isa = PBXContainerItemProxy; 
     313                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
     314                        proxyType = 1; 
     315                        remoteGlobalIDString = F5CFD2DB0B5012AA00616865 /* A52Codec */; 
     316                        remoteInfo = A52Codec; 
     317                }; 
     318                F5CFD3BB0B50142C00616865 /* PBXContainerItemProxy */ = { 
     319                        isa = PBXContainerItemProxy; 
     320                        containerPortal = 089C1669FE841209C02AAC07 /* Project object */; 
     321                        proxyType = 1; 
     322                        remoteGlobalIDString = F5CFD3BA0B50142100616865 /* Setup Build Directories */; 
     323                        remoteInfo = "Setup Build Directories"; 
    240324                }; 
    241325/* End PBXContainerItemProxy section */ 
     
    249333                        files = ( 
    250334                                F59E09F10A670E570019A3F0 /* Perian.component in CopyFiles */, 
     335                        ); 
     336                        runOnlyForDeploymentPostprocessing = 0; 
     337                }; 
     338                F5CFD2E00B5012BC00616865 /* CopyFiles */ = { 
     339                        isa = PBXCopyFilesBuildPhase; 
     340                        buildActionMask = 2147483647; 
     341                        dstPath = CoreAudio; 
     342                        dstSubfolderSpec = 16; 
     343                        files = ( 
     344                                F5CFD3B20B5013EA00616865 /* A52Codec.component in CopyFiles */, 
     345                        ); 
     346                        runOnlyForDeploymentPostprocessing = 0; 
     347                }; 
     348                F5CFD2E30B5012DB00616865 /* CopyFiles */ = { 
     349                        isa = PBXCopyFilesBuildPhase; 
     350                        buildActionMask = 2147483647; 
     351                        dstPath = QuickTime; 
     352                        dstSubfolderSpec = 16; 
     353                        files = ( 
     354                                F5CFD3B70B5013EC00616865 /* AC3MovieImport.component in CopyFiles */, 
    251355                        ); 
    252356                        runOnlyForDeploymentPostprocessing = 0; 
     
    448552                F560DF0003D61D0101ABA332 /* FFusionCodec.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = FFusionCodec.c; sourceTree = "<group>"; }; 
    449553                F560DF0203D622D001ABA332 /* FFusionCodec.r */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.rez; path = FFusionCodec.r; sourceTree = "<group>"; }; 
    450                 F5CFD1B40B50009000616865 /* PerianPanePListGenerator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = PerianPanePListGenerator; path = build/Development/PerianPanePListGenerator; sourceTree = "<group>"; }; 
     554                F5CFD1B40B50009000616865 /* PerianPanePListGenerator */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PerianPanePListGenerator; sourceTree = BUILT_PRODUCTS_DIR; }; 
    451555                F5CFD1BC0B5000CE00616865 /* GBPerianPanePListGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GBPerianPanePListGenerator.h; sourceTree = "<group>"; }; 
    452556                F5CFD1BD0B5000CE00616865 /* GBPerianPanePListGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GBPerianPanePListGenerator.m; sourceTree = "<group>"; }; 
    453557                F5CFD2290B50087C00616865 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = "<absolute>"; }; 
     558                F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = A52Codec.xcodeproj; path = a52codec/A52Codec.xcodeproj; sourceTree = "<group>"; }; 
    454559/* End PBXFileReference section */ 
    455560 
     
    512617                                089C1671FE841209C02AAC07 /* External Frameworks and Libraries */, 
    513618                                19C28FB4FE9D528D11CA2CBB /* Products */, 
     619                                F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */, 
    514620                                11A709DA0A3CFCB6002058D4 /* Perian-Info.plist */, 
    515621                                83D1D6C90B4C794800E09EC9 /* PerianPane-Info.plist */, 
     
    859965                        sourceTree = "<group>"; 
    860966                }; 
     967                F5CFD2CA0B5012A100616865 /* Products */ = { 
     968                        isa = PBXGroup; 
     969                        children = ( 
     970                                F5CFD2D60B5012A100616865 /* A52Codec.component */, 
     971                                F5CFD2D80B5012A100616865 /* AC3MovieImport.component */, 
     972                                F5CFD2DA0B5012A100616865 /* Preferences.app */, 
     973                        ); 
     974                        name = Products; 
     975                        sourceTree = "<group>"; 
     976                }; 
    861977/* End PBXGroup section */ 
    862978 
     
    9991115                        ); 
    10001116                        dependencies = ( 
     1117                                F5CFD2C70B50128200616865 /* PBXTargetDependency */, 
     1118                                F5CFD2F10B50132E00616865 /* PBXTargetDependency */, 
    10011119                                F5CFD25E0B500B9400616865 /* PBXTargetDependency */, 
    10021120                        ); 
     
    10311149                        mainGroup = 089C166AFE841209C02AAC07 /* ffmpeg DivX */; 
    10321150                        projectDirPath = ""; 
     1151                        projectReferences = ( 
     1152                                { 
     1153                                        ProductGroup = F5CFD2CA0B5012A100616865 /* Products */; 
     1154                                        ProjectRef = F5CFD2C90B5012A100616865 /* A52Codec.xcodeproj */; 
     1155                                }, 
     1156                        ); 
    10331157                        targets = ( 
    10341158                                11A70AC00A3D0105002058D4 /* Perian */, 
     
    10401164                                F5CFD1B30B50009000616865 /* PerianPanePListGenerator */, 
    10411165                                F5CFD2560B500B5E00616865 /* CreatePrefPanePlist */, 
     1166                                F5CFD3BA0B50142100616865 /* Setup Build Directories */, 
     1167                                F5CFD2DB0B5012AA00616865 /* A52Codec */, 
    10421168                        ); 
    10431169                }; 
    10441170/* End PBXProject section */ 
     1171 
     1172/* Begin PBXReferenceProxy section */ 
     1173                F5CFD2D60B5012A100616865 /* A52Codec.component */ = { 
     1174                        isa = PBXReferenceProxy; 
     1175                        fileType = wrapper.cfbundle; 
     1176                        path = A52Codec.component; 
     1177                        remoteRef = F5CFD2D50B5012A100616865 /* PBXContainerItemProxy */; 
     1178                        sourceTree = BUILT_PRODUCTS_DIR; 
     1179                }; 
     1180                F5CFD2D80B5012A100616865 /* AC3MovieImport.component */ = { 
     1181                        isa = PBXReferenceProxy; 
     1182                        fileType = wrapper.cfbundle; 
     1183                        path = AC3MovieImport.component; 
     1184                        remoteRef = F5CFD2D70B5012A100616865 /* PBXContainerItemProxy */; 
     1185                        sourceTree = BUILT_PRODUCTS_DIR; 
     1186                }; 
     1187                F5CFD2DA0B5012A100616865 /* Preferences.app */ = { 
     1188                        isa = PBXReferenceProxy; 
     1189                        fileType = wrapper.application; 
     1190                        path = Preferences.app; 
     1191                        remoteRef = F5CFD2D90B5012A100616865 /* PBXContainerItemProxy */; 
     1192                        sourceTree = BUILT_PRODUCTS_DIR; 
     1193                }; 
     1194/* End PBXReferenceProxy section */ 
    10451195 
    10461196/* Begin PBXResourcesBuildPhase section */ 
     
    11361286                        shellPath = /bin/sh; 
    11371287                        shellScript = "cd \"$BUILT_PRODUCTS_DIR\"\n./PerianPanePListGenerator \"${SRCROOT}/PerianPane-Info.plist\" \"${BUILT_PRODUCTS_DIR}\n\" \"${SRCROOT}/PerianPaneReal-Info.plist\""; 
     1288                }; 
     1289                F5CFD3B90B50142100616865 /* ShellScript */ = { 
     1290                        isa = PBXShellScriptBuildPhase; 
     1291                        buildActionMask = 2147483647; 
     1292                        files = ( 
     1293                        ); 
     1294                        inputPaths = ( 
     1295                        ); 
     1296                        outputPaths = ( 
     1297                        ); 
     1298                        runOnlyForDeploymentPostprocessing = 0; 
     1299                        shellPath = /bin/sh; 
     1300                        shellScript = "cd \"${SRCROOT}/a52codec\"\nrm -Rf build\nln -s \"$BUILD_DIR\" build"; 
    11381301                }; 
    11391302/* End PBXShellScriptBuildPhase section */ 
     
    12771440                        targetProxy = F5CFD25D0B500B9400616865 /* PBXContainerItemProxy */; 
    12781441                }; 
     1442                F5CFD2C70B50128200616865 /* PBXTargetDependency */ = { 
     1443                        isa = PBXTargetDependency; 
     1444                        target = 11A70AC00A3D0105002058D4 /* Perian */; 
     1445                        targetProxy = F5CFD2C60B50128200616865 /* PBXContainerItemProxy */; 
     1446                }; 
     1447                F5CFD2DD0B5012B400616865 /* PBXTargetDependency */ = { 
     1448                        isa = PBXTargetDependency; 
     1449                        name = "A52Codec (Upgraded)"; 
     1450                        targetProxy = F5CFD2DC0B5012B400616865 /* PBXContainerItemProxy */; 
     1451                }; 
     1452                F5CFD2DF0B5012B400616865 /* PBXTargetDependency */ = { 
     1453                        isa = PBXTargetDependency; 
     1454                        name = AC3MovieImport; 
     1455                        targetProxy = F5CFD2DE0B5012B400616865 /* PBXContainerItemProxy */; 
     1456                }; 
     1457                F5CFD2F10B50132E00616865 /* PBXTargetDependency */ = { 
     1458                        isa = PBXTargetDependency; 
     1459                        target = F5CFD2DB0B5012AA00616865 /* A52Codec */; 
     1460                        targetProxy = F5CFD2F00B50132E00616865 /* PBXContainerItemProxy */; 
     1461                }; 
     1462                F5CFD3BC0B50142C00616865 /* PBXTargetDependency */ = { 
     1463                        isa = PBXTargetDependency; 
     1464                        target = F5CFD3BA0B50142100616865 /* Setup Build Directories */; 
     1465                        targetProxy = F5CFD3BB0B50142C00616865 /* PBXContainerItemProxy */; 
     1466                }; 
    12791467/* End PBXTargetDependency section */ 
    12801468 
     
    18452033                        name = Default; 
    18462034                }; 
     2035                F5CFD2EB0B5012E800616865 /* Development */ = { 
     2036                        isa = XCBuildConfiguration; 
     2037                        buildSettings = { 
     2038                                COPY_PHASE_STRIP = NO; 
     2039                                GCC_DYNAMIC_NO_PIC = NO; 
     2040                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 
     2041                                GCC_OPTIMIZATION_LEVEL = 0; 
     2042                                PRODUCT_NAME = A52Codec; 
     2043                        }; 
     2044                        name = Development; 
     2045                }; 
     2046                F5CFD2EC0B5012E800616865 /* Deployment */ = { 
     2047                        isa = XCBuildConfiguration; 
     2048                        buildSettings = { 
     2049                                COPY_PHASE_STRIP = YES; 
     2050                                GCC_ENABLE_FIX_AND_CONTINUE = NO; 
     2051                                GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 
     2052                                PRODUCT_NAME = A52Codec; 
     2053                                ZERO_LINK = NO; 
     2054                        }; 
     2055                        name = Deployment; 
     2056                }; 
     2057                F5CFD2ED0B5012E800616865 /* Default */ = { 
     2058                        isa = XCBuildConfiguration; 
     2059                        buildSettings = { 
     2060                                PRODUCT_NAME = A52Codec; 
     2061                        }; 
     2062                        name = Default; 
     2063                }; 
     2064                F5CFD3C20B50144E00616865 /* Development */ = { 
     2065                        isa = XCBuildConfiguration; 
     2066                        buildSettings = { 
     2067                                COPY_PHASE_STRIP = NO; 
     2068                                GCC_DYNAMIC_NO_PIC = NO; 
     2069                                GCC_GENERATE_DEBUGGING_SYMBOLS = YES; 
     2070                                GCC_OPTIMIZATION_LEVEL = 0; 
     2071                                PRODUCT_NAME = "Setup Build Directories"; 
     2072                        }; 
     2073                        name = Development; 
     2074                }; 
     2075                F5CFD3C30B50144E00616865 /* Deployment */ = { 
     2076                        isa = XCBuildConfiguration; 
     2077                        buildSettings = { 
     2078                                COPY_PHASE_STRIP = YES; 
     2079                                GCC_ENABLE_FIX_AND_CONTINUE = NO; 
     2080                                GCC_GENERATE_DEBUGGING_SYMBOLS = NO; 
     2081                                PRODUCT_NAME = "Setup Build Directories"; 
     2082                                ZERO_LINK = NO; 
     2083                        }; 
     2084                        name = Deployment; 
     2085                }; 
     2086                F5CFD3C40B50144E00616865 /* Default */ = { 
     2087                        isa = XCBuildConfiguration; 
     2088                        buildSettings = { 
     2089                                PRODUCT_NAME = "Setup Build Directories"; 
     2090                        }; 
     2091                        name = Default; 
     2092                }; 
    18472093/* End XCBuildConfiguration section */ 
    18482094 
     
    19382184                        defaultConfigurationName = Default; 
    19392185                }; 
     2186                F5CFD2EA0B5012E800616865 /* Build configuration list for PBXAggregateTarget "A52Codec" */ = { 
     2187                        isa = XCConfigurationList; 
     2188                        buildConfigurations = ( 
     2189                                F5CFD2EB0B5012E800616865 /* Development */, 
     2190                                F5CFD2EC0B5012E800616865 /* Deployment */, 
     2191                                F5CFD2ED0B5012E800616865 /* Default */, 
     2192                        ); 
     2193                        defaultConfigurationIsVisible = 0; 
     2194                        defaultConfigurationName = Default; 
     2195                }; 
     2196                F5CFD3C10B50144E00616865 /* Build configuration list for PBXAggregateTarget "Setup Build Directories" */ = { 
     2197                        isa = XCConfigurationList; 
     2198                        buildConfigurations = ( 
     2199                                F5CFD3C20B50144E00616865 /* Development */, 
     2200                                F5CFD3C30B50144E00616865 /* Deployment */, 
     2201                                F5CFD3C40B50144E00616865 /* Default */, 
     2202                        ); 
     2203                        defaultConfigurationIsVisible = 0; 
     2204                        defaultConfigurationName = Default; 
     2205                }; 
    19402206/* End XCConfigurationList section */ 
    19412207        }; 
  • trunk/archiveComponents.sh

    r237 r249  
    11#!/bin/sh -v 
    22PATH=$PATH:/usr/local/bin:/usr/bin:/sw/bin:/opt/local/bin 
     3 
     4function compressAndInsertComponent(){ 
     5itemName="$1" 
     6itemLength=${#itemName} 
     7item=${itemName:0:$itemLength-10} 
     8if [[ -d $itemName ]] ; then 
     9    ditto -c -k --rsrc --keepParent "$itemName" "${item}.zip" 
     10    cp "${item}.zip" "$2" 
     11fi 
     12} 
    313 
    414function compressComponents(){ 
     
    616cd $1 
    717for itemName in *.component ; do 
    8     itemLength=${#itemName} 
    9     item=${itemName:0:$itemLength-10} 
    10 #    echo $item 
    11     if [[ -d $itemName ]] ; then 
    12         ditto -c -k --rsrc --keepParent "$itemName" "${item}.zip" 
    13         cp "${item}.zip" "$2" 
    14     fi 
     18    compressAndInsertComponent $itemName $2 
    1519done 
    1620} 
    1721 
    18  
    19 compressComponents "${BUILT_PRODUCTS_DIR}" "${BUILT_PRODUCTS_DIR}/PerianPane.prefPane/Contents/Resources/Components/" 
     22cd "${BUILT_PRODUCTS_DIR}" 
     23compressAndInsertComponent "Perian.component" "${BUILT_PRODUCTS_DIR}/PerianPane.prefPane/Contents/Resources/Components/" 
    2024if [[ -d "${BUILT_PRODUCTS_DIR}/CoreAudio" ]] ; then 
    2125    compressComponents "${BUILT_PRODUCTS_DIR}/CoreAudio" "${BUILT_PRODUCTS_DIR}/PerianPane.prefPane/Contents/Resources/Components/CoreAudio"