Skip to content

feat: publish the FFmpeg libraries for nsgo build to package - #32

Merged
oneo-me merged 1 commit into
mainfrom
agiox/publish-ffmpeg-natives
Nov 23, 2026
Merged

oneo-me merged 1 commit into
mainfrom
agiox/publish-ffmpeg-natives

Conversation

@oneo-me

@oneo-me oneo-me commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #17

The FFmpeg libraries tools/ffmpeg builds for each desktop target are published as release ffmpeg-9.0.2-1 and declared in internal/ffmpeg/library/nsgo-natives.yaml, so nsgo build (NSGo v0.3.0, nsgo-dev/nsgo#1908) downloads, packages, signs and puts them into installers. No bundle step and no -installers=false on desktops.

  • go run ./tools/ffmpeg -natives internal/ffmpeg/library writes the release's assets (each desktop library as <target>-<file>, every archive, FFmpeg's source and ffmpeg.patch) and the manifest with each library's URL, SHA-256 and notices: COPYING.LGPLv2.1 and the target's NOTICE-BUILD.txt, plus COPYING.libxml2 and NOTICE-ffmpeg.patch for libavformat. They reach the app's THIRD_PARTY_NOTICES.txt.
  • bundle now serves iOS alone and skips desktop packages.
  • NSGo is upgraded to v0.3.0 in both modules.
  • docs/ffmpeg.md (with what an app that ships them owes), both READMEs, the website's docs, ARCHITECTURE, requirements and AGENTS.md describe the new way.

Verification

  • With the release's URLs and an empty cache, nsgo build -target macos_universal with installers gave NSGo Player's app and DMG with universal libraries in Contents/Frameworks, passing codesign --verify --deep --strict (ad hoc); Windows x64 and Linux x64 packages hold the libraries beside the executable.
  • The demo from its DMG loaded the libraries from its Frameworks opening a clip; nsgo dev puts them into the dev app.
  • nsgo test -target macos_arm64 runs the pipeline (DASH included) and player tests with the declared libraries; go test ./..., the app's tests and nsgo check pass.
  • Developer ID signing and notarization are untried.

🤖 Generated with Claude Code

@oneo-me oneo-me self-assigned this Nov 23, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@oneo-me
oneo-me force-pushed the agiox/publish-ffmpeg-natives branch from a76fb9e to 649054d Compare November 23, 2026 16:55
@oneo-me oneo-me changed the title feat: publish the FFmpeg libraries for nsgo build feat: publish the FFmpeg libraries for nsgo build to package Nov 23, 2026
@oneo-me
oneo-me marked this pull request as ready for review November 23, 2026 16:56
@oneo-me
oneo-me merged commit 6778ffa into main Nov 23, 2026
2 checks passed
@oneo-me
oneo-me deleted the agiox/publish-ffmpeg-natives branch November 23, 2026 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Packaging: publish the FFmpeg libraries for nsgo build

1 participant