mpv_kit_libs 0.1.0-dev.3 copy "mpv_kit_libs: ^0.1.0-dev.3" to clipboard
mpv_kit_libs: ^0.1.0-dev.3 copied to clipboard

Prebuilt LGPL libmpv (mpv 0.41 with the mpv_kit Vulkan render patch, FFmpeg 8.1) for mpv_kit, delivered through a Dart build hook with sha256 verification. Windows, Linux and macOS on x64 and arm64.

mpv_kit_libs #

Prebuilt LGPL libmpv for mpv_kit: mpv 0.41.0 with the mpv_kit Vulkan render patch, FFmpeg 8.1.3 built from source without GPL/nonfree components, for Windows, Linux and macOS on x64 and arm64.

dependencies:
  mpv_kit: ^0.1.0-dev.3
  mpv_kit_libs: ^0.1.0-dev.3

The package's build hook downloads the release bundle for the target platform from GitHub Releases, verifies the archive against a sha256 pinned in this package and every file against the bundle's own manifest, and bundles the libraries into the app (next to the executable on Windows and Linux, as frameworks on macOS). Nothing is executed during the build.

Using your own libmpv #

Point the hook at a local bundle (a libmpv-<target>.tar.gz produced by native/build/package.sh, or its extracted directory containing lib/) in the application's pubspec.yaml:

hooks:
  user_defines:
    mpv_kit_libs:
      libmpv_bundle: third_party/libmpv-windows-x64

Alternatively skip this package and set MPV_KIT_LIBMPV_PATH.

License #

The hook code is MIT. The bundled libraries are LGPL-2.1-or-later (libmpv, FFmpeg) or permissive; each bundle contains LICENSE.LGPL and the mpv patch it was built with.

0
likes
140
points
25
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Prebuilt LGPL libmpv (mpv 0.41 with the mpv_kit Vulkan render patch, FFmpeg 8.1) for mpv_kit, delivered through a Dart build hook with sha256 verification. Windows, Linux and macOS on x64 and arm64.

Repository (GitHub)
View/report issues

Topics

#mpv #video #ffi #native-assets

License

MIT (license)

Dependencies

code_assets, crypto, hooks

More

Packages that depend on mpv_kit_libs