Skip to content

Commit

Permalink
AU: 3 updated - cmake cmake.install Opera
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Feb 15, 2018
1 parent 4b84d18 commit 775dfbd
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 18 deletions.
3 changes: 2 additions & 1 deletion automatic/cmake.install/cmake.install.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"3.8": "3.8.2",
"3.9": "3.9.6",
"3.10": "3.10.2"
"3.10": "3.10.2",
"3.11": "3.11.0-rc1"
}
2 changes: 1 addition & 1 deletion automatic/cmake.install/cmake.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake.install</id>
<version>3.10.2</version>
<version>3.11.0-rc1</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/cmake.install</packageSourceUrl>
<owners>chocolatey, dtgm</owners>
<title>CMake (Install)</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/cmake.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://cmake.org/download/>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.2-win32-x86.msi>
64-Bit software: <https://cmake.org/files/v3.10/cmake-3.10.2-win64-x64.msi>
32-Bit software: <https://cmake.org/files/v3.11/cmake-3.11.0-rc1-win32-x86.msi>
64-Bit software: <https://cmake.org/files/v3.11/cmake-3.11.0-rc1-win64-x64.msi>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum32: B3103B5868189FF7589F66CFD95EF4E6DC550095F1D242D5BDCBB8A56A047D01
checksum64: F8602B6258AD900BB7850D5958E8585A6902751B5C28D8ECCE58D3BE9710AA94
checksum32: 62D16D97EE6BCCFBCE4861C9AE45A38C504E46C359268553DD78E4C196B2C7C6
checksum64: 12983982E6B290C7AA6735D102A473B0E308C9BAAFFD4A830DF868AE79796627

The file 'LICENSE.txt' has been obtained from <https://gitlab.kitware.com/cmake/cmake/blob/master/Copyright.txt>
4 changes: 2 additions & 2 deletions automatic/cmake.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'msi'
file = "$toolsPath\cmake-3.10.2-win32-x86.msi"
file64 = "$toolsPath\cmake-3.10.2-win64-x64.msi"
file = "$toolsPath\cmake-3.11.0-rc1-win32-x86.msi"
file64 = "$toolsPath\cmake-3.11.0-rc1-win64-x64.msi"
softwareName = 'CMake'
silentArgs = "/qn /norestart /l*v `"$($env:TEMP)\$($env:chocolateyPackageName).$($env:chocolateyPackageVersion).MsiInstall.log`""
validExitCodes = @(0, 3010, 1641)
Expand Down
3 changes: 2 additions & 1 deletion automatic/cmake/cmake.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"3.8": "3.8.2",
"3.9": "3.9.6",
"3.10": "3.10.2"
"3.10": "3.10.2",
"3.11": "3.11.0-rc1"
}
4 changes: 2 additions & 2 deletions automatic/cmake/cmake.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>cmake</id>
<version>3.10.2</version>
<version>3.11.0-rc1</version>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/cmake</packageSourceUrl>
<owners>chocolatey, dtgm</owners>
<title>CMake</title>
Expand Down Expand Up @@ -44,7 +44,7 @@ For example: `choco install cmake --installargs 'ADD_CMAKE_TO_PATH=User'`
* [News](https://blog.kitware.com/tag/CMake/)
* [Changelog](https://www.cmake.org/download/#latest)</releaseNotes>
<dependencies>
<dependency id="cmake.install" version="[3.10.2]" />
<dependency id="cmake.install" version="[3.11.0-rc1]" />
</dependencies>
</metadata>
<files />
Expand Down
4 changes: 2 additions & 2 deletions automatic/opera/opera.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Opera</id>
<version>51.0.2830.26</version>
<version>51.0.2830.34</version>
<title>Opera</title>
<owners>chocolatey</owners>
<authors>Opera</authors>
Expand All @@ -16,7 +16,7 @@ The Opera web browser makes the Web fast and fun, giving you a better web browse
]]></description>
<summary>The Opera web browser makes the Web fast and fun, giving you a better web browser experience on any computer.</summary>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-51/#b2830.26</releaseNotes>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-51/#b2830.34</releaseNotes>
<tags>browser opera cross-platform internet admin</tags>
<packageSourceUrl>https://github.com/chocolatey/chocolatey-coreteampackages/tree/master/automatic/opera</packageSourceUrl>
</metadata>
Expand Down
10 changes: 5 additions & 5 deletions automatic/opera/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@ $toolsPath = (Split-Path -Parent $MyInvocation.MyCommand.Definition)
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://get.geo.opera.com/pub/opera/desktop/51.0.2830.26/win/Opera_51.0.2830.26_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera/desktop/51.0.2830.26/win/Opera_51.0.2830.26_Setup_x64.exe'
checksum = 'cc111e0e370da871a8b4ef8cf7d8b6fa5e861e6c1cd06c0109dee16d67c6b80f'
checksum64 = '19bae79f04688e34563031b2e11b888b1e22c7242e2b104309b6b7fcc6e9d7e4'
url = 'https://get.geo.opera.com/pub/opera/desktop/51.0.2830.34/win/Opera_51.0.2830.34_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera/desktop/51.0.2830.34/win/Opera_51.0.2830.34_Setup_x64.exe'
checksum = 'f6e9f1c3ba37b25476f6bd0da8e13a14ab175f021d48914546d4ce830f27e86a'
checksum64 = '74bcfc1ab8c8adbe105e4e0200f0ff36147e4dacb51d6f8fbb7fe894bf3751eb'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/install /silent /launchopera 0 /setdefaultbrowser 0'
validExitCodes = @(0)
}

$version = '51.0.2830.26'
$version = '51.0.2830.34'
if (!$Env:ChocolateyForce -and (IsVersionAlreadyInstalled $version)) {
Write-Output "Opera $version is already installed. Skipping download and installation."
} else {
Expand Down

0 comments on commit 775dfbd

Please sign in to comment.