Repository navigation
recipes: new mpv recipe - #3420
Merged
Merged
Conversation
T-Dynamos
marked this pull request as draft
November 27, 2026 05:31
T-Dynamos
marked this pull request as ready for review
November 27, 2026 12:35
AndreMiras
reviewed
Nov 27, 2026
AndreMiras
left a comment
Member
There was a problem hiding this comment.
Looking good overall and it seems to build.
I've left a few comments trying to improve readability/maintainability
T-Dynamos
marked this pull request as draft
November 28, 2026 09:45
T-Dynamos
marked this pull request as ready for review
November 28, 2026 13:10
AndreMiras
approved these changes
Nov 29, 2026
AndreMiras
left a comment
Member
There was a problem hiding this comment.
LGTM, I left 2 minor comments that don't need to be addressed in this scope.
My suggestion is to merge as is and potentially follow up (or not).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds recipes for
mpv(python-mpv1.0.8patched for Androidlibmpv.solookup),libmpv(0.42.0), and its dependencies (libplacebo,libass,libfribidi), plus a Clang 19 diagnostic fix inharfbuzz.Used termux-packages (
mpv,libplacebo,libass,fribidi) as reference for the Android build configuration.mpv:PyProjectRecipeforpython-mpv(1.0.8, depends onlibmpv) with a minimalandroid.patch(CDLL('libmpv.so')fallback +mpv_androidhook) andmpv_android.pyhelper providingensure_android_java_vm()(supporting both SDL2SDL_AndroidGetJNIEnvand SDL3SDL_GetAndroidJNIEnv) andsdl_opengl_init_params().libmpv:MesonRecipe(skip_python=True)with-Dlibmpv=true,-Dgl=enabled,-Degl-android=enabled,-Dandroid-media-ndk=enabled,-Dopensles=enabled, and-Dvulkan=disabled.libplacebo:MesonRecipe(skip_python=True)viagit+URL (submodules) with OpenGL ES enabled and Vulkan disabled.libass+libfribidi: shared library builds for subtitle/OSD rendering.mediacodec-copy) and OpenGL ES FBO rendering tested onarm64-v8a(720p H.264, 4K 60fps H.264, and 4K 30fps HEVC).Example Kivy +
libmpvapp: https://github.com/T-Dynamos/mpv-kivy-example