Skip to content

Commit 9576169

Browse files
m_igashim_igashi
authored andcommitted
feat: add Windows package manager support (Scoop, winget)
- Add Scoop manifest with autoupdate support - Add winget manifest files for Windows Package Manager - Update README with Scoop and winget installation instructions - Update roadmap to reflect completed package manager goals Closes #9
1 parent 3c7e2b0 commit 9576169

File tree

6 files changed

+105
-3
lines changed

6 files changed

+105
-3
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,18 @@ mp3rgain adjusts MP3 volume without re-encoding by modifying the `global_gain` f
2424

2525
### Windows
2626

27-
**Download and extract** (recommended for most users):
27+
**Scoop** (recommended):
28+
```powershell
29+
scoop bucket add mp3rgain https://github.com/M-Igashi/scoop-bucket
30+
scoop install mp3rgain
31+
```
32+
33+
**winget**:
34+
```powershell
35+
winget install M-Igashi.mp3rgain
36+
```
37+
38+
**Download and extract**:
2839

2940
1. Download the latest release from [GitHub Releases](https://github.com/M-Igashi/mp3rgain/releases):
3041
- `mp3rgain-*-windows-x86_64.zip` (most Windows PCs)

docs/roadmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ All core functionality complete:
5151

5252
### v1.2.0 - Package Manager Expansion
5353

54-
- [ ] Scoop package (Windows) - *in progress*
55-
- [ ] winget package (Windows Package Manager)
54+
- [x] Scoop package (Windows)
55+
- [x] winget package (Windows Package Manager)
5656
- [ ] Homebrew core inclusion
5757
- [ ] AUR package (Arch Linux)
5858
- [ ] Nix package

packages/scoop/mp3rgain.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"version": "1.1.0",
3+
"description": "Lossless MP3 volume adjustment - a modern mp3gain replacement written in Rust",
4+
"homepage": "https://github.com/M-Igashi/mp3rgain",
5+
"license": "MIT",
6+
"architecture": {
7+
"64bit": {
8+
"url": "https://github.com/M-Igashi/mp3rgain/releases/download/v1.1.0/mp3rgain-v1.1.0-windows-x86_64.zip",
9+
"hash": "50018229acef9ea9fd388b46edeef94d3f9d7889f2a021167dc241810c235d1e"
10+
},
11+
"arm64": {
12+
"url": "https://github.com/M-Igashi/mp3rgain/releases/download/v1.1.0/mp3rgain-v1.1.0-windows-arm64.zip",
13+
"hash": "d56c1a27bdf4cf376014f33ec4ed7082282facf1d0c52706dbd3a8527cb3ab00"
14+
}
15+
},
16+
"bin": "mp3rgain.exe",
17+
"checkver": "github",
18+
"autoupdate": {
19+
"architecture": {
20+
"64bit": {
21+
"url": "https://github.com/M-Igashi/mp3rgain/releases/download/v$version/mp3rgain-v$version-windows-x86_64.zip"
22+
},
23+
"arm64": {
24+
"url": "https://github.com/M-Igashi/mp3rgain/releases/download/v$version/mp3rgain-v$version-windows-arm64.zip"
25+
}
26+
},
27+
"hash": {
28+
"url": "$url.sha256"
29+
}
30+
}
31+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json
2+
3+
PackageIdentifier: M-Igashi.mp3rgain
4+
PackageVersion: 1.1.0
5+
Platform:
6+
- Windows.Desktop
7+
MinimumOSVersion: 10.0.0.0
8+
InstallerType: zip
9+
NestedInstallerType: portable
10+
NestedInstallerFiles:
11+
- RelativeFilePath: mp3rgain.exe
12+
PortableCommandAlias: mp3rgain
13+
Installers:
14+
- Architecture: x64
15+
InstallerUrl: https://github.com/M-Igashi/mp3rgain/releases/download/v1.1.0/mp3rgain-v1.1.0-windows-x86_64.zip
16+
InstallerSha256: 50018229ACEF9EA9FD388B46EDEEF94D3F9D7889F2A021167DC241810C235D1E
17+
- Architecture: arm64
18+
InstallerUrl: https://github.com/M-Igashi/mp3rgain/releases/download/v1.1.0/mp3rgain-v1.1.0-windows-arm64.zip
19+
InstallerSha256: D56C1A27BDF4CF376014F33EC4ED7082282FACF1D0C52706DBD3A8527CB3AB00
20+
ManifestType: installer
21+
ManifestVersion: 1.6.0
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json
2+
3+
PackageIdentifier: M-Igashi.mp3rgain
4+
PackageVersion: 1.1.0
5+
PackageLocale: en-US
6+
Publisher: Masanari Higashi
7+
PublisherUrl: https://github.com/M-Igashi
8+
Author: Masanari Higashi
9+
PackageName: mp3rgain
10+
PackageUrl: https://github.com/M-Igashi/mp3rgain
11+
License: MIT
12+
LicenseUrl: https://github.com/M-Igashi/mp3rgain/blob/master/LICENSE
13+
ShortDescription: Lossless MP3 volume adjustment - a modern mp3gain replacement written in Rust
14+
Description: |-
15+
mp3rgain adjusts MP3 volume without re-encoding by modifying the global_gain field in each frame's side information.
16+
This preserves audio quality while achieving permanent volume changes.
17+
Features include ReplayGain analysis, AAC/M4A support, and full mp3gain command-line compatibility.
18+
Moniker: mp3rgain
19+
Tags:
20+
- audio
21+
- cli
22+
- gain
23+
- lossless
24+
- mp3
25+
- music
26+
- replaygain
27+
- rust
28+
- volume
29+
ReleaseNotesUrl: https://github.com/M-Igashi/mp3rgain/releases/tag/v1.1.0
30+
ManifestType: defaultLocale
31+
ManifestVersion: 1.6.0
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Created using winget CLI
2+
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json
3+
4+
PackageIdentifier: M-Igashi.mp3rgain
5+
PackageVersion: 1.1.0
6+
DefaultLocale: en-US
7+
ManifestType: version
8+
ManifestVersion: 1.6.0

0 commit comments

Comments
 (0)