diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-17 15:28:05 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2013-04-22 08:35:45 +0200 |
commit | f42cf5a8438d317252ce70ba27defebbb76c9cdf (patch) | |
tree | 77063eccc30f90b29250a4b732e89a25bd2a4907 | |
parent | 8a834311e75e388e2e6654734ece2e0a2862e181 (diff) |
gstreamer-1.0: Update VS integration for 1.0
-rw-r--r-- | data/vs-1.0/gst-sdk-template/Scripts/1033/default.js | 332 | ||||
-rw-r--r-- | data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj | 90 | ||||
-rw-r--r-- | data/vs-1.0/msvc/common.props | 22 | ||||
-rw-r--r-- | data/vs-1.0/msvc/config.props | 14 | ||||
-rw-r--r-- | data/vs-1.0/msvc/msvcrt.props | 35 | ||||
-rw-r--r-- | data/vs-1.0/msvc/release.props | 21 | ||||
-rw-r--r-- | data/vs-1.0/msvc/x86.props | 16 | ||||
-rw-r--r-- | data/vs-1.0/msvc/x86_64.props | 16 | ||||
-rw-r--r-- | data/vs-1.0/wizard/gst-sdk-template.ico | bin | 0 -> 5430 bytes | |||
-rw-r--r-- | data/vs-1.0/wizard/gst-sdk-template.vsdir | 1 | ||||
-rw-r--r-- | data/vs-1.0/wizard/gst-sdk-template.vsz | 8 | ||||
-rw-r--r-- | packages/gstreamer-1.0-sdk/gstreamer-1.0-sdk.package | 8 | ||||
-rw-r--r-- | packages/vsintegration-1.0.package | 18 | ||||
-rw-r--r-- | recipes/vsintegration-1.0.recipe | 49 |
14 files changed, 626 insertions, 4 deletions
diff --git a/data/vs-1.0/gst-sdk-template/Scripts/1033/default.js b/data/vs-1.0/gst-sdk-template/Scripts/1033/default.js new file mode 100644 index 0000000..f6e0128 --- /dev/null +++ b/data/vs-1.0/gst-sdk-template/Scripts/1033/default.js @@ -0,0 +1,332 @@ +
+function OnFinish(selProj, selObj)
+{
+ try
+ {
+ var strProjectPath = wizard.FindSymbol('PROJECT_PATH');
+ var strProjectName = wizard.FindSymbol('PROJECT_NAME');
+
+ selProj = CreateCustomProject(strProjectName, strProjectPath);
+ AddFilters(selProj);
+
+ selProj.Object.Save();
+ }
+ catch(e)
+ {
+ if (e.description.length != 0)
+ SetErrorInfo(e);
+ return e.number
+ }
+}
+
+function CreateCustomProject(strProjectName, strProjectPath)
+{
+ try
+ {
+ var strProjTemplatePath = wizard.FindSymbol('PROJECT_TEMPLATE_PATH');
+ var strProjTemplate = '';
+ strProjTemplate = strProjTemplatePath + '\\gst-sdk-template\\gst-sdk-template.vcxproj';
+
+ var Solution = dte.Solution;
+ var strSolutionName = "";
+ if (wizard.FindSymbol("CLOSE_SOLUTION"))
+ {
+ Solution.Close();
+ strSolutionName = wizard.FindSymbol("VS_SOLUTION_NAME");
+ if (strSolutionName.length)
+ {
+ var strSolutionPath = strProjectPath.substr(0, strProjectPath.length - strProjectName.length);
+ Solution.Create(strSolutionPath, strSolutionName);
+ }
+ }
+
+ var strProjectNameWithExt = '';
+ strProjectNameWithExt = strProjectName + '.vcxproj';
+
+ var oTarget = wizard.FindSymbol("TARGET");
+ var prj;
+ if (wizard.FindSymbol("WIZARD_TYPE") == vsWizardAddSubProject) // vsWizardAddSubProject
+ {
+ var prjItem = oTarget.AddFromTemplate(strProjTemplate, strProjectNameWithExt);
+ prj = prjItem.SubProject;
+ }
+ else
+ {
+ prj = oTarget.AddFromTemplate(strProjTemplate, strProjectPath, strProjectNameWithExt);
+ }
+ var fxtarget = wizard.FindSymbol("TARGET_FRAMEWORK_VERSION");
+ if (fxtarget != null && fxtarget != "")
+ {
+ fxtarget = fxtarget.split('.', 2);
+ if (fxtarget.length == 2)
+ prj.Object.TargetFrameworkVersion = parseInt(fxtarget[0]) * 0x10000 + parseInt(fxtarget[1])
+ }
+ return prj;
+ }
+ catch(e)
+ {
+ throw e;
+ }
+}
+
+function AddFilters(proj)
+{
+ try
+ {
+ var group = proj.Object.AddFilter('Source Files');
+ group.Filter = "cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx";
+ group = proj.Object.AddFilter('Header Files');
+ group.Filter = "h;hpp;hxx;hm;inl;inc;xsd";
+ group = proj.Object.AddFilter('Resource Files');
+ group.Filter = "rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav";
+ }
+ catch(e)
+ {
+ throw e;
+ }
+}
+
+
+function GetTargetName(strName, strProjectName)
+{
+ try
+ {
+ // TODO: set the name of the rendered file based on the template filename
+ var strTarget = strName;
+
+ if (strName == 'readme.txt')
+ strTarget = 'ReadMe.txt';
+
+ if (strName == 'sample.txt')
+ strTarget = 'Sample.txt';
+
+ return strTarget;
+ }
+ catch(e)
+ {
+ throw e;
+ }
+}
+
+function AddFilesToCustomProj(proj, strProjectName, strProjectPath, InfFile)
+{
+ try
+ {
+ var projItems = proj.ProjectItems
+
+ var strTemplatePath = wizard.FindSymbol('TEMPLATES_PATH');
+
+ var strTpl = '';
+ var strName = '';
+
+ var strTextStream = InfFile.OpenAsTextStream(1, -2);
+ while (!strTextStream.AtEndOfStream)
+ {
+ strTpl = strTextStream.ReadLine();
+ if (strTpl != '')
+ {
+ strName = strTpl;
+ var strTarget = GetTargetName(strName, strProjectName);
+ var strTemplate = strTemplatePath + '\\' + strTpl;
+ var strFile = strProjectPath + '\\' + strTarget;
+
+ var bCopyOnly = false; //"true" will only copy the file from strTemplate to strTarget without rendering/adding to the project
+ var strExt = strName.substr(strName.lastIndexOf("."));
+ if(strExt==".bmp" || strExt==".ico" || strExt==".gif" || strExt==".rtf" || strExt==".css")
+ bCopyOnly = true;
+ wizard.RenderTemplate(strTemplate, strFile, bCopyOnly);
+ proj.Object.AddFile(strFile);
+ }
+ }
+ strTextStream.Close();
+ }
+ catch(e)
+ {
+ throw e;
+ }
+}
+
+
+// SIG // Begin signature block
+// SIG // MIIXPgYJKoZIhvcNAQcCoIIXLzCCFysCAQExCzAJBgUr
+// SIG // DgMCGgUAMGcGCisGAQQBgjcCAQSgWTBXMDIGCisGAQQB
+// SIG // gjcCAR4wJAIBAQQQEODJBs441BGiowAQS9NQkAIBAAIB
+// SIG // AAIBAAIBAAIBADAhMAkGBSsOAwIaBQAEFP9REkc7iEsy
+// SIG // MTaCMZhRfDelVKKzoIISMTCCBGAwggNMoAMCAQICCi6r
+// SIG // EdxQ/1ydy8AwCQYFKw4DAh0FADBwMSswKQYDVQQLEyJD
+// SIG // b3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENvcnAu
+// SIG // MR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24x
+// SIG // ITAfBgNVBAMTGE1pY3Jvc29mdCBSb290IEF1dGhvcml0
+// SIG // eTAeFw0wNzA4MjIyMjMxMDJaFw0xMjA4MjUwNzAwMDBa
+// SIG // MHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5n
+// SIG // dG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVN
+// SIG // aWNyb3NvZnQgQ29ycG9yYXRpb24xIzAhBgNVBAMTGk1p
+// SIG // Y3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBMIIBIjANBgkq
+// SIG // hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAt3l91l2zRTmo
+// SIG // NKwx2vklNUl3wPsfnsdFce/RRujUjMNrTFJi9JkCw03Y
+// SIG // SWwvJD5lv84jtwtIt3913UW9qo8OUMUlK/Kg5w0jH9FB
+// SIG // JPpimc8ZRaWTSh+ZzbMvIsNKLXxv2RUeO4w5EDndvSn0
+// SIG // ZjstATL//idIprVsAYec+7qyY3+C+VyggYSFjrDyuJSj
+// SIG // zzimUIUXJ4dO3TD2AD30xvk9gb6G7Ww5py409rQurwp9
+// SIG // YpF4ZpyYcw2Gr/LE8yC5TxKNY8ss2TJFGe67SpY7UFMY
+// SIG // zmZReaqth8hWPp+CUIhuBbE1wXskvVJmPZlOzCt+M26E
+// SIG // RwbRntBKhgJuhgCkwIffUwIDAQABo4H6MIH3MBMGA1Ud
+// SIG // JQQMMAoGCCsGAQUFBwMDMIGiBgNVHQEEgZowgZeAEFvQ
+// SIG // cO9pcp4jUX4Usk2O/8uhcjBwMSswKQYDVQQLEyJDb3B5
+// SIG // cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0IENvcnAuMR4w
+// SIG // HAYDVQQLExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xITAf
+// SIG // BgNVBAMTGE1pY3Jvc29mdCBSb290IEF1dGhvcml0eYIP
+// SIG // AMEAizw8iBHRPvZj7N9AMA8GA1UdEwEB/wQFMAMBAf8w
+// SIG // HQYDVR0OBBYEFMwdznYAcFuv8drETppRRC6jRGPwMAsG
+// SIG // A1UdDwQEAwIBhjAJBgUrDgMCHQUAA4IBAQB7q65+Siby
+// SIG // zrxOdKJYJ3QqdbOG/atMlHgATenK6xjcacUOonzzAkPG
+// SIG // yofM+FPMwp+9Vm/wY0SpRADulsia1Ry4C58ZDZTX2h6t
+// SIG // KX3v7aZzrI/eOY49mGq8OG3SiK8j/d/p1mkJkYi9/uEA
+// SIG // uzTz93z5EBIuBesplpNCayhxtziP4AcNyV1ozb2AQWtm
+// SIG // qLu3u440yvIDEHx69dLgQt97/uHhrP7239UNs3DWkuNP
+// SIG // tjiifC3UPds0C2I3Ap+BaiOJ9lxjj7BauznXYIxVhBoz
+// SIG // 9TuYoIIMol+Lsyy3oaXLq9ogtr8wGYUgFA0qvFL0QeBe
+// SIG // MOOSKGmHwXDi86erzoBCcnYOMIIEejCCA2KgAwIBAgIK
+// SIG // YQHPPgAAAAAADzANBgkqhkiG9w0BAQUFADB5MQswCQYD
+// SIG // VQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4G
+// SIG // A1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0
+// SIG // IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3NvZnQg
+// SIG // Q29kZSBTaWduaW5nIFBDQTAeFw0wOTEyMDcyMjQwMjla
+// SIG // Fw0xMTAzMDcyMjQwMjlaMIGDMQswCQYDVQQGEwJVUzET
+// SIG // MBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVk
+// SIG // bW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0
+// SIG // aW9uMQ0wCwYDVQQLEwRNT1BSMR4wHAYDVQQDExVNaWNy
+// SIG // b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEB
+// SIG // AQUAA4IBDwAwggEKAoIBAQC9MIn7RXKoU2ueiU8AI8C+
+// SIG // 1B09sVlAOPNzkYIm5pYSAFPZHIIOPM4du733Qo2X1Pw4
+// SIG // GuS5+ePs02EDv6DT1nVNXEap7V7w0uJpWxpz6rMcjQTN
+// SIG // KUSgZFkvHphdbserGDmCZcSnvKt1iBnqh5cUJrN/Jnak
+// SIG // 1Dg5hOOzJtUY+Svp0skWWlQh8peNh4Yp/vRJLOaL+AQ/
+// SIG // fc3NlpKGDXED4tD+DEI1/9e4P92ORQp99tdLrVvwdnId
+// SIG // dyN9iTXEHF2yUANLR20Hp1WImAaApoGtVE7Ygdb6v0LA
+// SIG // Mb5VDZnVU0kSMOvlpYh8XsR6WhSHCLQ3aaDrMiSMCOv5
+// SIG // 1BS64PzN6qQVAgMBAAGjgfgwgfUwEwYDVR0lBAwwCgYI
+// SIG // KwYBBQUHAwMwHQYDVR0OBBYEFDh4BXPIGzKbX5KGVa+J
+// SIG // usaZsXSOMA4GA1UdDwEB/wQEAwIHgDAfBgNVHSMEGDAW
+// SIG // gBTMHc52AHBbr/HaxE6aUUQuo0Rj8DBEBgNVHR8EPTA7
+// SIG // MDmgN6A1hjNodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20v
+// SIG // cGtpL2NybC9wcm9kdWN0cy9DU1BDQS5jcmwwSAYIKwYB
+// SIG // BQUHAQEEPDA6MDgGCCsGAQUFBzAChixodHRwOi8vd3d3
+// SIG // Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL0NTUENBLmNy
+// SIG // dDANBgkqhkiG9w0BAQUFAAOCAQEAKAODqxMN8f4Rb0J2
+// SIG // 2EOruMZC+iRlNK51sHEwjpa2g/py5P7NN+c6cJhRIA66
+// SIG // cbTJ9NXkiugocHPV7eHCe+7xVjRagILrENdyA+oSTuzd
+// SIG // DYx7RE8MYXX9bpwH3c4rWhgNObBg/dr/BKoCo9j6jqO7
+// SIG // vcFqVDsxX+QsbsvxTSoc8h52e4avxofWsSrtrMwOwOSf
+// SIG // f+jP6IRyVIIYbirInpW0Gh7Bb5PbYqbBS2utye09kuOy
+// SIG // L6t6dzlnagB7gp0DEN5jlUkmQt6VIsGHC9AUo1/cczJy
+// SIG // Nh7/yCnFJFJPZkjJHR2pxSY5aVBOp+zCBmwuchvxIdpt
+// SIG // JEiAgRVAfJ/MdDhKTzCCBJ0wggOFoAMCAQICEGoLmU/A
+// SIG // ACWrEdtFH1h6Z6IwDQYJKoZIhvcNAQEFBQAwcDErMCkG
+// SIG // A1UECxMiQ29weXJpZ2h0IChjKSAxOTk3IE1pY3Jvc29m
+// SIG // dCBDb3JwLjEeMBwGA1UECxMVTWljcm9zb2Z0IENvcnBv
+// SIG // cmF0aW9uMSEwHwYDVQQDExhNaWNyb3NvZnQgUm9vdCBB
+// SIG // dXRob3JpdHkwHhcNMDYwOTE2MDEwNDQ3WhcNMTkwOTE1
+// SIG // MDcwMDAwWjB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMK
+// SIG // V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG
+// SIG // A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYD
+// SIG // VQQDExpNaWNyb3NvZnQgVGltZXN0YW1waW5nIFBDQTCC
+// SIG // ASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANw3
+// SIG // bvuvyEJKcRjIzkg+U8D6qxS6LDK7Ek9SyIPtPjPZSTGS
+// SIG // KLaRZOAfUIS6wkvRfwX473W+i8eo1a5pcGZ4J2botrfv
+// SIG // hbnN7qr9EqQLWSIpL89A2VYEG3a1bWRtSlTb3fHev5+D
+// SIG // x4Dff0wCN5T1wJ4IVh5oR83ZwHZcL322JQS0VltqHGP/
+// SIG // gHw87tUEJU05d3QHXcJc2IY3LHXJDuoeOQl8dv6dbG56
+// SIG // 4Ow+j5eecQ5fKk8YYmAyntKDTisiXGhFi94vhBBQsvm1
+// SIG // Go1s7iWbE/jLENeFDvSCdnM2xpV6osxgBuwFsIYzt/iU
+// SIG // W4RBhFiFlG6wHyxIzG+cQ+Bq6H8mjmsCAwEAAaOCASgw
+// SIG // ggEkMBMGA1UdJQQMMAoGCCsGAQUFBwMIMIGiBgNVHQEE
+// SIG // gZowgZeAEFvQcO9pcp4jUX4Usk2O/8uhcjBwMSswKQYD
+// SIG // VQQLEyJDb3B5cmlnaHQgKGMpIDE5OTcgTWljcm9zb2Z0
+// SIG // IENvcnAuMR4wHAYDVQQLExVNaWNyb3NvZnQgQ29ycG9y
+// SIG // YXRpb24xITAfBgNVBAMTGE1pY3Jvc29mdCBSb290IEF1
+// SIG // dGhvcml0eYIPAMEAizw8iBHRPvZj7N9AMBAGCSsGAQQB
+// SIG // gjcVAQQDAgEAMB0GA1UdDgQWBBRv6E4/l7k0q0uGj7yc
+// SIG // 6qw7QUPG0DAZBgkrBgEEAYI3FAIEDB4KAFMAdQBiAEMA
+// SIG // QTALBgNVHQ8EBAMCAYYwDwYDVR0TAQH/BAUwAwEB/zAN
+// SIG // BgkqhkiG9w0BAQUFAAOCAQEAlE0RMcJ8ULsRjqFhBwEO
+// SIG // jHBFje9zVL0/CQUt/7hRU4Uc7TmRt6NWC96Mtjsb0fus
+// SIG // p8m3sVEhG28IaX5rA6IiRu1stG18IrhG04TzjQ++B4o2
+// SIG // wet+6XBdRZ+S0szO3Y7A4b8qzXzsya4y1Ye5y2PENtEY
+// SIG // Ib923juasxtzniGI2LS0ElSM9JzCZUqaKCacYIoPO8cT
+// SIG // ZXhIu8+tgzpPsGJY3jDp6Tkd44ny2jmB+RMhjGSAYwYE
+// SIG // lvKaAkMve0aIuv8C2WX5St7aA3STswVuDMyd3ChhfEjx
+// SIG // F5wRITgCHIesBsWWMrjlQMZTPb2pid7oZjeN9CKWnMyw
+// SIG // d1RROtZyRLIj9jCCBKowggOSoAMCAQICCmEFojAAAAAA
+// SIG // AAgwDQYJKoZIhvcNAQEFBQAweTELMAkGA1UEBhMCVVMx
+// SIG // EzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1Jl
+// SIG // ZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh
+// SIG // dGlvbjEjMCEGA1UEAxMaTWljcm9zb2Z0IFRpbWVzdGFt
+// SIG // cGluZyBQQ0EwHhcNMDgwNzI1MTkwMTE1WhcNMTMwNzI1
+// SIG // MTkxMTE1WjCBszELMAkGA1UEBhMCVVMxEzARBgNVBAgT
+// SIG // Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAc
+// SIG // BgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjENMAsG
+// SIG // A1UECxMETU9QUjEnMCUGA1UECxMebkNpcGhlciBEU0Ug
+// SIG // RVNOOjg1RDMtMzA1Qy01QkNGMSUwIwYDVQQDExxNaWNy
+// SIG // b3NvZnQgVGltZS1TdGFtcCBTZXJ2aWNlMIIBIjANBgkq
+// SIG // hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8AQtspbAGoFn
+// SIG // JbEmYrMTS84wusASOPyBZTQHxDayJGj2BwTAB5f0t/F7
+// SIG // HmIsRtlLpFE0t9Ns7Vo7tIOhRz0RCC41a0XmwjyMAmYC
+// SIG // qRhp60rtJyzuPHdbpNRwmUtXhBDQry34iR3m6im058+e
+// SIG // BmKnclTCO8bPP7jhsFgQbOWl18PCdTe99IXhgego2Bvx
+// SIG // 8q7xgqPW1wOinxWE+z36q+G2MsigAmTz5v8aJnEIU4oV
+// SIG // AvKDJ3ZJgnGn760yeMbXbBZPImWXYk1GL/8jr4XspnC9
+// SIG // A8va2DIFxSuQQLae1SyGbLfLEzJ9jcZ+rhcvMvxmux2w
+// SIG // RVX4rfotZ4NnKZOE0lqhIwIDAQABo4H4MIH1MB0GA1Ud
+// SIG // DgQWBBTol/b374zx5mnjWWhO95iKet2bLjAfBgNVHSME
+// SIG // GDAWgBRv6E4/l7k0q0uGj7yc6qw7QUPG0DBEBgNVHR8E
+// SIG // PTA7MDmgN6A1hjNodHRwOi8vY3JsLm1pY3Jvc29mdC5j
+// SIG // b20vcGtpL2NybC9wcm9kdWN0cy90c3BjYS5jcmwwSAYI
+// SIG // KwYBBQUHAQEEPDA6MDgGCCsGAQUFBzAChixodHRwOi8v
+// SIG // d3d3Lm1pY3Jvc29mdC5jb20vcGtpL2NlcnRzL3RzcGNh
+// SIG // LmNydDATBgNVHSUEDDAKBggrBgEFBQcDCDAOBgNVHQ8B
+// SIG // Af8EBAMCBsAwDQYJKoZIhvcNAQEFBQADggEBAA0/d1+R
+// SIG // PL6lNaTbBQWEH1by75mmxwiNL7PNP3HVhnx3H93rF7K9
+// SIG // fOP5mfIKRUitFLtpLPI+Z2JU8u5/JxGSOezO2YdOiPdg
+// SIG // RyN7JxVACJ+/DTEEgtg1tgycANOLqnhhxbWIQZ0+NtxY
+// SIG // pCebOtq9Bl0UprIPTMGOPIvyYpn4Zu3V8xwosDLbyjEJ
+// SIG // vPsiaEZM+tNzIucpjiIA+1a/Bq6BoBW6NPkojh9KYgWh
+// SIG // ifWBR+kNkQjXWDuPHmsJaanASHxVgj9fADhDnAbMP9gv
+// SIG // v09zCT39ul70x+w3wmRhoE3UPXDMW7ATgcHUozEavWTW
+// SIG // ltJ6PypbRlMJPM0D+T9ZAMyJU2ExggR5MIIEdQIBATCB
+// SIG // hzB5MQswCQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGlu
+// SIG // Z3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMV
+// SIG // TWljcm9zb2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpN
+// SIG // aWNyb3NvZnQgQ29kZSBTaWduaW5nIFBDQQIKYQHPPgAA
+// SIG // AAAADzAJBgUrDgMCGgUAoIGkMBkGCSqGSIb3DQEJAzEM
+// SIG // BgorBgEEAYI3AgEEMBwGCisGAQQBgjcCAQsxDjAMBgor
+// SIG // BgEEAYI3AgEVMCMGCSqGSIb3DQEJBDEWBBRD573odGht
+// SIG // DuvZD+9oREp/ubzpsDBEBgorBgEEAYI3AgEMMTYwNKAa
+// SIG // gBgAYwB1AHMAdABvAG0AdwBpAHoALgBqAHOhFoAUaHR0
+// SIG // cDovL21pY3Jvc29mdC5jb20wDQYJKoZIhvcNAQEBBQAE
+// SIG // ggEARB6u45hpHcw9dJ1kVqrdxQKIDXpHqE5ug51VwhkY
+// SIG // KUgWTmI5ra0+ufLmKXYQOLNPSnNgWonKeG0w8K5QD4UW
+// SIG // J9C0JG5nAqlyfJIaaq6htLw2cz5Ke453xiNP1LNuwWtP
+// SIG // VdKQLmdPul5VW/SYXkxJ4VKZ/eUM6WoXanYD+NiLvcWj
+// SIG // uSoQhohdvXnN8f6z6Xxzta7xQ+GdVShJFPa1a9IQDmLd
+// SIG // g3KbK8pvBzCWZLp7XuF9OsxlNd6iFxZU78FPbN5YtGnR
+// SIG // cLxR4MzBxavVh9pyEHscP4EwPkeaetMYIh2ufrbEr98R
+// SIG // SL/gEjT4hsxwiwE04QkgQqNcRKTPC047gbeYqqGCAh8w
+// SIG // ggIbBgkqhkiG9w0BCQYxggIMMIICCAIBATCBhzB5MQsw
+// SIG // CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQ
+// SIG // MA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9z
+// SIG // b2Z0IENvcnBvcmF0aW9uMSMwIQYDVQQDExpNaWNyb3Nv
+// SIG // ZnQgVGltZXN0YW1waW5nIFBDQQIKYQWiMAAAAAAACDAH
+// SIG // BgUrDgMCGqBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0B
+// SIG // BwEwHAYJKoZIhvcNAQkFMQ8XDTEwMDMxOTEzMDA1OFow
+// SIG // IwYJKoZIhvcNAQkEMRYEFI2my6oEaZuQ5u31IF2xpaLt
+// SIG // 0zomMA0GCSqGSIb3DQEBBQUABIIBABZaWeWNnLDWxt8t
+// SIG // t0w1E1e+LMEzC1oELO1CyyPJ/z4mYrbtJkEjVO4n9Qrh
+// SIG // WRCwiFVMEbBnb0fqvXncDMwBvuu7ODjLhXDAsaZgHOof
+// SIG // IWhvUTgFb+iJmq3E9wd/9xAwppwHemW8xXy76cT1BH3G
+// SIG // O5F/PlW/DVeMau1E0QmCdWGR3Y648/p9p2v2cwPWGy/z
+// SIG // Sry8HYjS2ZfSapOtqJ3WQnEmu5YEhwq6++o9IWROK76I
+// SIG // cT3oZoK/097drHGC/LTC+L4NRxRv22MgH16QtBhCWVOd
+// SIG // cu0pTmQwz2DjlkcxKF2/pBGnNAWs05oEqr4WLasds3IH
+// SIG // pD24xF79NyE/6vam6LQ=
+// SIG // End signature block
diff --git a/data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj b/data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj new file mode 100644 index 0000000..32f731b --- /dev/null +++ b/data/vs-1.0/gst-sdk-template/gst-sdk-template.vcxproj @@ -0,0 +1,90 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|Win32">
+ <Configuration>Debug</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Debug|x64">
+ <Configuration>Debug</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|Win32">
+ <Configuration>Release</Configuration>
+ <Platform>Win32</Platform>
+ </ProjectConfiguration>
+ <ProjectConfiguration Include="Release|x64">
+ <Configuration>Release</Configuration>
+ <Platform>x64</Platform>
+ </ProjectConfiguration>
+ </ItemGroup>
+ <PropertyGroup Label="Globals">
+ <Keyword>Win32Proj</Keyword>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>true</UseDebugLibraries>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
+ <ConfigurationType>Application</ConfigurationType>
+ <UseDebugLibraries>false</UseDebugLibraries>
+ <WholeProgramOptimization>true</WholeProgramOptimization>
+ <CharacterSet>Unicode</CharacterSet>
+ </PropertyGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
+ <ImportGroup Label="ExtensionSettings">
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='Win32'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\libs\gstreamer-1.0.props')" />
+ <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86)\share\vs\2010\msvc\x86.props')" />
+ </ImportGroup>
+ <ImportGroup Label="PropertySheets" Condition="'$(Platform)'=='x64'">
+ <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
+ <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\libs\gstreamer-1.0.props')" />
+ <Import Project="$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props" Condition="exists('$(GSTREAMER_1_0_SDK_ROOT_X86_64)\share\vs\2010\msvc\x86_64.props')" />
+ </ImportGroup>
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup Condition="'$(Configuration)'=='Debug'">
+ <LinkIncremental>true</LinkIncremental>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)'=='Release'">
+ <LinkIncremental>false</LinkIncremental>
+ </PropertyGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
+ <ClCompile>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <WarningLevel>Level3</WarningLevel>
+ <Optimization>Disabled</Optimization>
+ <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>true</GenerateDebugInformation>
+ <AdditionalDependencies>%(AdditionalDependencies)</AdditionalDependencies>
+ <AdditionalLibraryDirectories>%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
+ <ClCompile>
+ <WarningLevel>Level3</WarningLevel>
+ <PrecompiledHeader>
+ </PrecompiledHeader>
+ <Optimization>MaxSpeed</Optimization>
+ <FunctionLevelLinking>true</FunctionLevelLinking>
+ <IntrinsicFunctions>true</IntrinsicFunctions>
+ <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <SubSystem>Console</SubSystem>
+ <GenerateDebugInformation>false</GenerateDebugInformation>
+ <EnableCOMDATFolding>true</EnableCOMDATFolding>
+ </Link>
+ </ItemDefinitionGroup>
+ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
+ <ImportGroup Label="ExtensionTargets">
+ </ImportGroup>
+</Project>
diff --git a/data/vs-1.0/msvc/common.props b/data/vs-1.0/msvc/common.props new file mode 100644 index 0000000..e0d8334 --- /dev/null +++ b/data/vs-1.0/msvc/common.props @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup> + <GenerateManifest>false</GenerateManifest> + <EmbedManifest>false</EmbedManifest> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>WINVER=0x0501;WIN32;_WINDOWS;_USRDLL;HAVE_WIN32</PreprocessorDefinitions> + </ClCompile> + <Link> + <GenerateDebugInformation>true</GenerateDebugInformation> + </Link> + <Link> + <!-- http://sourceware.org/bugzilla/show_bug.cgi?id=12633 --> + <OptimizeReferences>false</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + </ItemGroup> +</Project> diff --git a/data/vs-1.0/msvc/config.props b/data/vs-1.0/msvc/config.props new file mode 100644 index 0000000..0edb6bf --- /dev/null +++ b/data/vs-1.0/msvc/config.props @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup Label="UserMacros"> + <WINDOWS_DRIVER_KIT>C:\WinDDK\7600.16385.1</WINDOWS_DRIVER_KIT> + </PropertyGroup> + <PropertyGroup /> + <ItemDefinitionGroup /> + <ItemGroup> + <BuildMacro Include="WINDOWS_DRIVER_KIT"> + <Value>$(WINDOWS_DRIVER_KIT)</Value> + </BuildMacro> + </ItemGroup> +</Project> diff --git a/data/vs-1.0/msvc/msvcrt.props b/data/vs-1.0/msvc/msvcrt.props new file mode 100644 index 0000000..984b32f --- /dev/null +++ b/data/vs-1.0/msvc/msvcrt.props @@ -0,0 +1,35 @@ +<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <ImportGroup Label="PropertySheets" />
+ <PropertyGroup Label="UserMacros" />
+ <PropertyGroup />
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <AdditionalIncludeDirectories>%(AdditionalIncludeDirectories);$(WINDOWS_DRIVER_KIT)\inc\crt\;$(WINDOWS_DRIVER_KIT)\inc\atl71\</AdditionalIncludeDirectories>
+ <PreprocessorDefinitions>WIN32_LEAN_AND_MEAN=1;_MBCS=1;WHISTLER_DDK=1;_DLL=1;_MT=1;__NO_MINGW_LFS;__MSVCRT_VERSION__=0x0601;__MSVCRT__;_CRT_NONSTDC_FORCE_DEPRECATE;_CRT_SECURE_FORCE_DEPRECATE; _CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
+ </ClCompile>
+ <Link>
+ <IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
+ <OptimizeReferences>false</OptimizeReferences>
+ </Link>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition=" '$(PlatformName)' == 'Win32' ">
+ <Link>
+ <AdditionalLibraryDirectories>$(WINDOWS_DRIVER_KIT)\lib\crt\i386;$(WINDOWS_DRIVER_KIT)\lib\win7\i386;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>libmoldname.a;msvcrt.lib;msvcrt_winxp.obj;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ <ClCompile>
+ <BasicRuntimeChecks>Default</BasicRuntimeChecks>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition=" '$(PlatformName)' == 'x64' ">
+ <Link>
+ <AdditionalLibraryDirectories>$(WINDOWS_DRIVER_KIT)\lib\crt\amd64;$(WINDOWS_DRIVER_KIT)\lib\win7\amd64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
+ <AdditionalDependencies>oldnames.lib;msvcrt.lib;%(AdditionalDependencies)</AdditionalDependencies>
+ </Link>
+ <ClCompile>
+ <BasicRuntimeChecks>Default</BasicRuntimeChecks>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup />
+</Project>
diff --git a/data/vs-1.0/msvc/release.props b/data/vs-1.0/msvc/release.props new file mode 100644 index 0000000..92118c8 --- /dev/null +++ b/data/vs-1.0/msvc/release.props @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup> + <LinkIncremental>true</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <Optimization>MinSpace</Optimization> + <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> + <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations> + <WholeProgramOptimization>true</WholeProgramOptimization> + </ClCompile> + <Link> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + </Link> + </ItemDefinitionGroup> + <ItemGroup /> +</Project> diff --git a/data/vs-1.0/msvc/x86.props b/data/vs-1.0/msvc/x86.props new file mode 100644 index 0000000..1c9a5ac --- /dev/null +++ b/data/vs-1.0/msvc/x86.props @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets"> + <Import Project="common.props" /> + <Import Project="msvcrt.props" /> + <Import Project="config.props" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup /> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>WIN32;_WIN32_WINNT=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup /> +</Project> diff --git a/data/vs-1.0/msvc/x86_64.props b/data/vs-1.0/msvc/x86_64.props new file mode 100644 index 0000000..53ccdb0 --- /dev/null +++ b/data/vs-1.0/msvc/x86_64.props @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ImportGroup Label="PropertySheets"> + <Import Project="common.props" /> + <Import Project="msvcrt.props" /> + <Import Project="config.props" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup /> + <ItemDefinitionGroup> + <ClCompile> + <PreprocessorDefinitions>WIN64;_WIN64_WINNT=0x0501;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemGroup /> +</Project> diff --git a/data/vs-1.0/wizard/gst-sdk-template.ico b/data/vs-1.0/wizard/gst-sdk-template.ico Binary files differnew file mode 100644 index 0000000..70ac8d9 --- /dev/null +++ b/data/vs-1.0/wizard/gst-sdk-template.ico diff --git a/data/vs-1.0/wizard/gst-sdk-template.vsdir b/data/vs-1.0/wizard/gst-sdk-template.vsdir new file mode 100644 index 0000000..2ccdac7 --- /dev/null +++ b/data/vs-1.0/wizard/gst-sdk-template.vsdir @@ -0,0 +1 @@ +gst-sdk-template.vsz| |GStreamer SDK Project|1|Create GStreamer projects easily.| |6777| |GstProject
diff --git a/data/vs-1.0/wizard/gst-sdk-template.vsz b/data/vs-1.0/wizard/gst-sdk-template.vsz new file mode 100644 index 0000000..8495e30 --- /dev/null +++ b/data/vs-1.0/wizard/gst-sdk-template.vsz @@ -0,0 +1,8 @@ +VSWIZARD 7.0
+Wizard=VsWizard.VsWizardEngine.10.0
+
+Param="WIZARD_NAME = gst-sdk-template"
+Param="RELATIVE_PATH = VCWizards"
+Param="FALLBACK_LCID = 1033"
+Param="WIZARD_UI = FALSE"
+Param="SOURCE_FILTER = txt"
diff --git a/packages/gstreamer-1.0-sdk/gstreamer-1.0-sdk.package b/packages/gstreamer-1.0-sdk/gstreamer-1.0-sdk.package index c4a7a4d..aeb2d71 100644 --- a/packages/gstreamer-1.0-sdk/gstreamer-1.0-sdk.package +++ b/packages/gstreamer-1.0-sdk/gstreamer-1.0-sdk.package @@ -33,9 +33,9 @@ class SDKPackage(package.SDKPackage): ('gstreamer-1.0-encoding', False, False), ('gstreamer-1.0-capture', False, False), ] - #platform_packages = { - # Platform.WINDOWS: [('vsintegration', True, False)], - # } + platform_packages = { + Platform.WINDOWS: [('vsintegration-1.0', True, False)], + } install_dir = { Platform.WINDOWS: 'gstreamer-sdk', @@ -43,7 +43,7 @@ class SDKPackage(package.SDKPackage): Platform.DARWIN: '/Library/Frameworks/GStreamer.framework/', Platform.IOS: '/Library/Developer/GStreamer/iPhone.sdk'} - root_env_var = 'GSTREAMER_SDK_ROOT_%(arch)s' + root_env_var = 'GSTREAMER_1_0_SDK_ROOT_%(arch)s' wix_upgrade_code = { PackageType.DEVEL: { Architecture.X86 : 'c0c6126d-1f4a-4577-9598-e900f594fd06', diff --git a/packages/vsintegration-1.0.package b/packages/vsintegration-1.0.package new file mode 100644 index 0000000..b7349c0 --- /dev/null +++ b/packages/vsintegration-1.0.package @@ -0,0 +1,18 @@ +# vi:si:et:sw=4:sts=4:ts=4:syntax=python +# -*- Mode: Python -*- + + +class Package(package.Package): + + name = 'vsintegration-1.0' + shortdesc = 'Visual Studio Integration' + longdesc = 'Visual Studio Integration' + url = "http://www.gstreamer.com" + version = '2013.04' + codename = 'Congo' + license = License.LGPL + vendor = 'GStreamer Project' + org = 'com.gstreamer' + uuid = '0d032a12-05b0-42a3-9b79-6b31d070dfca' + + files = ['vsintegration-1.0'] diff --git a/recipes/vsintegration-1.0.recipe b/recipes/vsintegration-1.0.recipe new file mode 100644 index 0000000..dfdbb98 --- /dev/null +++ b/recipes/vsintegration-1.0.recipe @@ -0,0 +1,49 @@ +# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python + + +class Recipe(recipe.Recipe): + name = 'vsintegration-1.0' + version = '0.1' + licenses = [License.LGPL] + btype = BuildType.CUSTOM + stype = SourceType.CUSTOM + + files_devel = ['share/vs/2010', 'lib/libmoldname.a'] + + def install(self): + import shutil + from cerbero.commands.genvsprops import GenVSProps + env_var = ('GSTREAMER_1_0_SDK_ROOT_%s' % self.config.target_arch).upper() + vspropsdir = os.path.join(self.config.prefix, self.files_devel[0], 'libs') + if not os.path.exists(vspropsdir): + os.makedirs(vspropsdir) + genvsprops = GenVSProps() + genvsprops.runargs(self.config, vspropsdir, env_var) + filename = os.path.basename(self.files_devel[1]) + mingw_libdir = os.path.join(self.config.toolchain_prefix, 'mingw', 'lib') + if not os.path.exists(mingw_libdir): + os.makedirs(mingw_libdir) + shutil.copy(os.path.join(mingw_libdir, filename), + os.path.join(self.config.prefix, 'lib', filename)) + # Copy msvc + propsdir = os.path.join(self.config.prefix, 'share/vs/2010/msvc') + if not os.path.exists(propsdir): + os.makedirs(propsdir) + datapropsdir = os.path.join(self.config.data_dir, 'vs-1.0', 'msvc') + for f in os.listdir(datapropsdir): + path = os.path.join(datapropsdir, f) + shutil.copy(path, os.path.join(propsdir, f)) + # Copy Wizard files + propsdir = os.path.join(self.config.prefix, 'share/vs/2010/wizard') + if not os.path.exists(propsdir): + os.makedirs(propsdir) + datapropsdir = os.path.join(self.config.data_dir, 'vs-1.0', 'wizard') + for f in os.listdir(datapropsdir): + path = os.path.join(datapropsdir, f) + shutil.copy(path, os.path.join(propsdir, f)) + # Copy Wizard template files + propsdir = os.path.join(self.config.prefix, 'share/vs/2010/gst-sdk-template') + if os.path.exists(propsdir): + shutil.rmtree(propsdir) + datapropsdir = os.path.join(self.config.data_dir, 'vs-1.0', 'gst-sdk-template') + shutil.copytree(datapropsdir, propsdir) |