diff mbox series

[meta-python,master] python3-mpv: Add recipe

Message ID 20251201104550.175387-1-jan.claussen10@web.de
State Accepted
Headers show
Series [meta-python,master] python3-mpv: Add recipe | expand

Commit Message

Jan Claußen Dec. 1, 2025, 10:45 a.m. UTC
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

Comments

Khem Raj Dec. 2, 2025, 7:45 a.m. UTC | #1
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']


On Mon, Dec 1, 2025 at 2:45 AM Jan Claußen via lists.openembedded.org
<jan.claussen10=web.de@lists.openembedded.org> wrote:

> 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
>
> diff --git a/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
> b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
> new file mode 100644
> index 0000000000..c11ad4a118
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
> @@ -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 \
> +"
> --
> 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
new file mode 100644
index 0000000000..c11ad4a118
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
@@ -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 \
+"