Skip to contentSkip to conversation

python3-mpv: Add recipe

PATCH In review Jan Claußen 2 participants 2 messages Dec 1, 2025 – Dec 2, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-mpv: Add recipe

python-mpv is a ctypes-based python interface to the mpv media player.

---
 .../recipes-devtools/python/python3-mpv_1.0.8.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb new file +16 -0
new file mode 100644
index 0000000000..c11ad4a118
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for mpv"
+DESCRIPTION = "python-mpv is a ctypes-based python interface to the mpv media player"
+HOMEPAGE = "https://github.com/jaseg/python-mpv"
+SECTION = "devel/python"
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+SRC_URI[sha256sum] = "95dbd4d869cd8de7a27914ad33e776accc0f01cb82a6d5b31ca439ade2208ffb"
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += "\
+    mpv \
+    python3-ctypes \
+"
Signature · 1 line
2.52.0
#1 lore raw

It results in YP-compatible tests failing

ERROR: Nothing PROVIDES 'ffmpeg' (but /srv/pokybuild/yocto-worker/meta-oe/build/meta-openembedded/meta-oe/recipes-multimedia/mplayer/mpv_0.40.0.bb DEPENDS on or otherwise requires it)
ffmpeg was skipped: Has a restricted license 'commercial' which is not
listed in your LICENSE_FLAGS_ACCEPTED.
NOTE: Runtime target 'mpv' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mpv', 'ffmpeg']
ERROR: Required build target 'meta-world-pkgdata' has no buildable providers.
Missing or unbuildable dependency chain was: ['meta-world-pkgdata',
'python3-mpv', 'mpv', 'ffmpeg']

Quoted 48 lines · Jan Claußen via lists.openembedded.org

python-mpv is a ctypes-based python interface to the mpv media player.

---
 .../recipes-devtools/python/python3-mpv_1.0.8.bb | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/

python3-mpv_1.0.8.bb

meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb new file +2 -0
new file mode 100644
index 0000000000..c11ad4a118
@@ -0,0 +1,16 @@
+SUMMARY = "Python bindings for mpv"
+DESCRIPTION = "python-mpv is a ctypes-based python interface to the mpv

media player"

meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb new file +5 -0
+HOMEPAGE = "https://github.com/jaseg/python-mpv"
+SECTION = "devel/python"
+
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM =

"file://LICENSE.GPL;md5=b234ee4d69f5fce4486a80fdaf4a4263"

meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb new file +2 -0
+
+SRC_URI[sha256sum] =

"95dbd4d869cd8de7a27914ad33e776accc0f01cb82a6d5b31ca439ade2208ffb"

meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb new file +7 -1
+
+inherit pypi python_setuptools_build_meta
+
+RDEPENDS:${PN} += "\
+    mpv \
+    python3-ctypes \
+"
--

2.52.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#122201):
https://lists.openembedded.org/g/openembedded-devel/message/122201
Mute This Topic: https://lists.openembedded.org/mt/116553801/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-