Skip to content

Commit

Permalink
AU: 3 updated - qnapi qnapi.install qnapi.portable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 8, 2018
1 parent 4bbc178 commit 6e7ab9b
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 45 deletions.
3 changes: 3 additions & 0 deletions automatic/qnapi.install/Changelog.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
## Version: 0.2.3 (2018-01-08)
- Added new package

# ![QNapi (Install) Changelog](https://img.shields.io/badge/QNapi%20(Install)-Package%20Changelog-blue.svg?style=for-the-badge)
2 changes: 1 addition & 1 deletion automatic/qnapi.install/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/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png" height="48" width="48" /> ![QNapi (Install)](https://img.shields.io/chocolatey/v/qnapi.install.svg?label=QNapi%20(Install)&style=for-the-badge)](https://chocolatey.org/packages/qnapi.install)
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png" height="48" width="48" /> ![QNapi (Install)](https://img.shields.io/chocolatey/v/qnapi.install.svg?label=QNapi%20(Install)&style=for-the-badge)](https://chocolatey.org/packages/qnapi.install)

QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.

Expand Down
6 changes: 3 additions & 3 deletions automatic/qnapi.install/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://qnapi.github.io/#download>
and can be verified by doing the following:

1. Download the following <>
1. Download the following <https://github.com/QNapi/qnapi/releases/download/0.2.3/QNapi-0.2.3-setup.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: 3E5A0CDEE29B9F103F95FDC79E711E6986C4EE990F9DBE5C68E661A57C2E530E

The file 'LICENSE.txt' has been obtained from <https://github.com/QNapi/qnapi/blob/master/doc/LICENSE>
15 changes: 6 additions & 9 deletions automatic/qnapi.install/qnapi.install.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>qnapi.install</id>
<version>0.0</version>
<version>0.2.3</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/qnapi</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>QNapi (Install)</title>
<authors>Piotr Krzemiński</authors>
<projectUrl>https://qnapi.github.io/</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png</iconUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png</iconUrl>
<copyright>© QNapi 2008-2017. All rights reserved.</copyright>
<licenseUrl>https://github.com/QNapi/qnapi/blob/master/doc/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -18,8 +18,7 @@
<tags>qnapi subtitles movies</tags>
<summary>A software for downloading and automatic matching subtitles to movies.</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>
QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
<description><![CDATA[QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
## Features
- matching subtitles for specific movie file
Expand All @@ -30,11 +29,9 @@ QNapi is free software for automatic fetching subtitles for given movie file. It
- directory scanning and batch subtitles download
- subtitles post-processing: change file encoding, set file permissions
- provides nice command-line interface
</description>
<releaseNotes>
[Software Changelog](https://github.com/QNapi/qnapi/releases/latest)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi/Changelog.md)
</releaseNotes>
]]></description>
<releaseNotes>[Software Changelog](https://github.com/QNapi/qnapi/releases/tag/0.2.3)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi.install/Changelog.md)</releaseNotes>
<dependencies>
<dependency id="chocolatey-core.extension" version="1.3.3" />
</dependencies>
Expand Down
4 changes: 2 additions & 2 deletions automatic/qnapi.install/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\"
file = "$toolsPath\QNapi-0.2.3-setup.exe"
softwareName = 'qnapi*'
silentArgs = '/S'
validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" } }
Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
4 changes: 2 additions & 2 deletions automatic/qnapi.install/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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)" }
}
4 changes: 3 additions & 1 deletion automatic/qnapi.portable/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# ![QNapi (Portable) Changelog](https://img.shields.io/badge/QNapi%20(Portable)-Package%20Changelog-blue.svg?style=for-the-badge)

## UPCOMING
## Version: 0.2.3 (2018-01-08)
- Added new package

2 changes: 1 addition & 1 deletion automatic/qnapi.portable/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/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png" height="48" width="48" /> ![QNapi (Portable)](https://img.shields.io/chocolatey/v/qnapi.portable.svg?label=QNapi%20(Portable)&style=for-the-badge)](https://chocolatey.org/packages/qnapi.portable)
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png" height="48" width="48" /> ![QNapi (Portable)](https://img.shields.io/chocolatey/v/qnapi.portable.svg?label=QNapi%20(Portable)&style=for-the-badge)](https://chocolatey.org/packages/qnapi.portable)

QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.

Expand Down
6 changes: 3 additions & 3 deletions automatic/qnapi.portable/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://qnapi.github.io/#download>
and can be verified by doing the following:

1. Download the following <>
1. Download the following <https://github.com/QNapi/qnapi/releases/download/0.2.3/QNapi-0.2.3-portable.zip>
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: 03CF7BF82565DE8B31745B1862F751EC9EE789F8E50AF41D361EE9246F99F827

The file 'LICENSE.txt' has been obtained from <https://github.com/QNapi/qnapi/blob/master/doc/LICENSE>
15 changes: 6 additions & 9 deletions automatic/qnapi.portable/qnapi.portable.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>qnapi.portable</id>
<version>0.0</version>
<version>0.2.3</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/qnapi</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>QNapi (Portable)</title>
<authors>Piotr Krzemiński</authors>
<projectUrl>https://qnapi.github.io/</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png</iconUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png</iconUrl>
<copyright>© QNapi 2008-2017. All rights reserved.</copyright>
<licenseUrl>https://github.com/QNapi/qnapi/blob/master/doc/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -18,8 +18,7 @@
<tags>qnapi subtitles movies</tags>
<summary>A software for downloading and automatic matching subtitles to movies.</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>
QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
<description><![CDATA[QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
## Features
- matching subtitles for specific movie file
Expand All @@ -30,11 +29,9 @@ QNapi is free software for automatic fetching subtitles for given movie file. It
- directory scanning and batch subtitles download
- subtitles post-processing: change file encoding, set file permissions
- provides nice command-line interface
</description>
<releaseNotes>
[Software Changelog](https://github.com/QNapi/qnapi/releases/latest)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi/Changelog.md)
</releaseNotes>
]]></description>
<releaseNotes>[Software Changelog](https://github.com/QNapi/qnapi/releases/tag/0.2.3)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi.portable/Changelog.md)</releaseNotes>

<!-- The following metadata doesn't yet exist, but maybe it does in the future and then we don't need to add these then -->
<provides>qnapi</provides>
Expand Down
6 changes: 3 additions & 3 deletions automatic/qnapi.portable/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
packageName = $env:ChocolateyPackageName
file = "$toolsPath\"
file = "$toolsPath\QNapi-0.2.3-portable.zip"
destination = "$toolsPath"
}

Install-ChocolateyZipPackage @packageArgs

ls $toolsPath\*.zip | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" } }
Get-ChildItem $toolsPath\*.zip | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }

ls $toolsPath -Filter "7za.exe" -Recurse | % { "" | Out-File "$($_.FullName).ignore"}
Get-ChildItem $toolsPath -Filter "7za.exe" -Recurse | ForEach-Object { "" | Out-File "$($_.FullName).ignore"}
2 changes: 1 addition & 1 deletion automatic/qnapi/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/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png" height="48" width="48" /> ![QNapi](https://img.shields.io/chocolatey/v/qnapi.svg?label=QNapi&style=for-the-badge)](https://chocolatey.org/packages/qnapi)
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png" height="48" width="48" /> ![QNapi](https://img.shields.io/chocolatey/v/qnapi.svg?label=QNapi%20(Install)&style=for-the-badge)](https://chocolatey.org/packages/qnapi)

QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.

Expand Down
17 changes: 7 additions & 10 deletions automatic/qnapi/qnapi.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>qnapi</id>
<version>0.0</version>
<version>0.2.3</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/qnapi</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>QNapi</title>
<authors>Piotr Krzemiński</authors>
<projectUrl>https://qnapi.github.io/</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/e22951a2f623905613b880e72574ec94b034455b/icons/qnapi.png</iconUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/90ab7556eb3b37bdd33afd55f9241708e5982093/icons/qnapi.png</iconUrl>
<copyright>© QNapi 2008-2017. All rights reserved.</copyright>
<licenseUrl>https://github.com/QNapi/qnapi/blob/master/doc/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -18,8 +18,7 @@
<tags>qnapi subtitles movies</tags>
<summary>A software for downloading and automatic matching subtitles to movies.</summary>
<!-- Do not touch the description here in the nuspec file. Description is imported during update from the Readme.md file -->
<description>
QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
<description><![CDATA[QNapi is free software for automatic fetching subtitles for given movie file. It uses online databases such as NapiProjekt, OpenSubtitles and Napisy24. It is based on Qt5 library, so it can be launched on any supported operating system, including Windows, OSX and Linux.
## Features
- matching subtitles for specific movie file
Expand All @@ -30,13 +29,11 @@ QNapi is free software for automatic fetching subtitles for given movie file. It
- directory scanning and batch subtitles download
- subtitles post-processing: change file encoding, set file permissions
- provides nice command-line interface
</description>
<releaseNotes>
[Software Changelog](https://github.com/QNapi/qnapi/releases/latest)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi.install/Changelog.md)
</releaseNotes>
]]></description>
<releaseNotes>[Software Changelog](https://github.com/QNapi/qnapi/releases/tag/0.2.3)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/qnapi.install/Changelog.md)</releaseNotes>
<dependencies>
<dependency id="qnapi.install" version="0.0" />
<dependency id="qnapi.install" version="[0.2.3]" />
</dependencies>
</metadata>
<files />
Expand Down

0 comments on commit 6e7ab9b

Please sign in to comment.