Files
meta-openembedded/meta-python/recipes-devtools/python/python3-mpv_1.0.8.bb
T
Khem Raj 2ba9dd8823 python3-mpv: propagate ffmpeg's commercial LICENSE_FLAGS
python3-mpv RDEPENDS on mpv, which requires ffmpeg (LICENSE_FLAGS =
"commercial"). With "commercial" not in LICENSE_FLAGS_ACCEPTED, parsing
the universe target - which ignores EXCLUDE_FROM_WORLD - reports:

  WARNING: Nothing RPROVIDES 'mpv' (but .../python3-mpv_1.0.8.bb
           RDEPENDS on or otherwise requires it)
  NOTE: Runtime target 'python3-mpv' is unbuildable, removing...

Now that mpv carries LICENSE_FLAGS = "commercial" and is skipped, carry
the same flag here so python3-mpv is likewise skipped cleanly in both
world and universe instead of surfacing as an unbuildable dependency.
The redundant EXCLUDE_FROM_WORLD is dropped.

Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-08-02 09:18:03 -07:00

22 lines
811 B
BlitzBasic

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 \
"
# RDEPENDS on mpv, which propagates ffmpeg's LICENSE_FLAGS = "commercial";
# carry the same flag so this recipe is cleanly skipped (in both world and
# universe) unless "commercial" is in LICENSE_FLAGS_ACCEPTED, rather than
# surfacing as an unbuildable "Nothing RPROVIDES 'mpv'" dependency.
LICENSE_FLAGS = "commercial"