Skip to content

Commit

Permalink
AU: 1 updated - friture
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed May 16, 2018
1 parent 7bf337d commit 078b570
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 19 deletions.
2 changes: 1 addition & 1 deletion automatic/friture/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/00b72bedcfc84a5d4013ed3992b3255f3f64f718/icons/friture.png" height="48" width="48" /> ![Friture](https://img.shields.io/chocolatey/v/friture.svg?label=friture&style=for-the-badge)](https://chocolatey.org/packages/friture)
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/c8c234b70afd4149b32252df3947de209d092e16/icons/friture.png" height="48" width="48" /> ![Friture](https://img.shields.io/chocolatey/v/friture.svg?label=friture&style=for-the-badge)](https://chocolatey.org/packages/friture)

Friture is an application to visualize and analyze live audio data in real-time.
Friture displays audio data in several widgets, such as a scope, a spectrum analyzer, or a rolling 2D spectrogram.
Expand Down
4 changes: 3 additions & 1 deletion automatic/friture/friture.json
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"0.35": "0.35"
}
19 changes: 11 additions & 8 deletions automatic/friture/friture.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>friture</id>
<version>0.0</version>
<version>0.35</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/friture</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>Friture</title>
<authors>tlecomte</authors>
<projectUrl>http://friture.org</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/00b72bedcfc84a5d4013ed3992b3255f3f64f718/icons/friture.png</iconUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/c8c234b70afd4149b32252df3947de209d092e16/icons/friture.png</iconUrl>
<copyright><![CDATA[Copyright (C) 2009 Timothée Lecomte]]></copyright>
<licenseUrl>https://github.com/tlecomte/friture/blob/master/COPYING.txt</licenseUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
Expand All @@ -19,7 +19,7 @@
<tags>friture audio analyzer foss cross-platform</tags>
<summary>A real-time audio analyzer</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>Friture is an application to visualize and analyze live audio data in real-time.
<description><![CDATA[Friture is an application to visualize and analyze live audio data in real-time.
Friture displays audio data in several widgets, such as a scope, a spectrum analyzer, or a rolling 2D spectrogram.
This program can be useful to analyze and equalize the audio response of a hall, or for educational purposes, etc.
The name Friture is a french word for frying, also used for noise in a sound.
Expand All @@ -32,11 +32,14 @@ Friture helps you to understand audio data with several [widgets](http://friture
- delay estimator
- [More](http://friture.org/features.html)
![Friture Screenshot](http://friture.org/images/friture_20150824_small.png)</description>
<releaseNotes>
[Software Changelog](https://github.com/tlecomte/friture/releases/tag/v0.35)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/friture/Changelog.md)
</releaseNotes>
## Notes
- The uninstall is not completely silent, a dialog asking to remove Friture settings shows up
![Friture Screenshot](http://friture.org/images/friture_20150824_small.png)
]]></description>
<releaseNotes>[Software Changelog](https://github.com/tlecomte/friture/releases/tag/v0.35)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/friture/Changelog.md)</releaseNotes>
<dependencies>
<dependency id="chocolatey-core.extension" version="1.3.3" />
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions automatic/friture/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ The embedded software have been downloaded from the listed download
location on <https://github.com/tlecomte/friture/releases>
and can be verified by doing the following:

1. Download the following <>
1. Download the following <https://github.com/tlecomte/friture/releases/download/v0.35/friture-0.35-20180401.exe>
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:
checksum:
checksum type: sha256
checksum: 2AA05E1093924652B96C88C8F3A2DEB179485B4AAA67B92B45D7BC27BABACD1F

The file 'LICENSE.txt' has been obtained from <https://github.com/tlecomte/friture/blob/98a8aac4edaa0db9d0da3974c6b13abebea0954e/COPYING.txt>
6 changes: 3 additions & 3 deletions automatic/friture/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsPath\"
softwareName = 'friture*'
file = "$toolsPath\friture-0.35-20180401.exe"
softwareName = 'Friture*'
silentArgs = '/S'
validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

ls $toolsPath\*. | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" } }
Get-ChildItem $toolsPath\*. | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
6 changes: 3 additions & 3 deletions automatic/friture/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'friture*'
softwareName = 'Friture*'
fileType = 'exe'
silentArgs = '/S'
validExitCodes = @(0)
Expand All @@ -13,7 +13,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"

Uninstall-ChocolateyPackage @packageArgs
Expand All @@ -26,5 +26,5 @@ elseif ($key.Count -gt 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

0 comments on commit 078b570

Please sign in to comment.