feat(classifypkg): add arch_map/os_map conf keys; use them for ffmpeg

Adds two new releases.conf keys:
  arch_map = x64:x86_64 ia32:x86   (upstream:canonical pairs)
  os_map   = win32:windows

The generic GitHub classifier now applies these after classify.Filename
so packages with non-standard naming don't need a custom classifier.

Also adds a .gz (single-file gunzip) branch to package-install.tpl.sh
so bare-binary-plus-.gz release patterns are fully handled.

Removes the ffmpegdist custom classifier — ffmpeg/releases.conf now
uses source = github with arch_map + os_map + version_prefix = b.
This commit is contained in:
AJ ONeal
2026-05-16 20:23:29 -06:00
parent 571a93cf06
commit 4d1fc7bb62
4 changed files with 51 additions and 86 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
source = ffmpegdist
source = github
github_releases = eugeneware/ffmpeg-static
asset_filter = ffmpeg
version_prefix = b
arch_map = x64:x86_64 ia32:x86 arm64:aarch64 arm:armv7
os_map = win32:windows