meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb
Yoann Congal 48ada00ee1
python3-pillow-heif: remove native&nativesdk
Through the dependecy of libheif, enabling native&nativesdk for
python3-pillow-heif means enabling it for the whole codec ecosystem
(e.g. x265, ffmpeg, ...) which might be hard to do. So, disable the
native&nativesdk variants that never built in the first place.

Fixes these warnings from AB[0]:
WARNING: Nothing PROVIDES 'nativesdk-libheif' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing PROVIDES 'libheif-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb DEPENDS on or otherwise requires it). Close matches:
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow-heif-dev' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'nativesdk-python3-pillow-heif' (but virtual:nativesdk:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'python3-pillow-heif-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)
WARNING: Nothing RPROVIDES 'python3-pillow-heif-dev-native' (but virtual:native:[...]/meta-openembedded/meta-multimedia/recipes-devtools/python/python3-pillow-heif_0.22.0.bb RDEPENDS on or otherwise requires it)

[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Cc: Leon Anavi <leon.anavi@konsulko.com>
Cc: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 17:12:11 -07:00

19 lines
594 B
BlitzBasic

DESCRIPTION = "Python interface for libheif library"
HOMEPAGE = "https://github.com/bigcat88/pillow_heif"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b6c07a92aed67c33bc346748d7c7e991"
# While this item does not require it, it depends on libheif which does
LICENSE_FLAGS = "commercial"
PYPI_PACKAGE = "pillow_heif"
inherit pypi python_setuptools_build_meta
SRC_URI += "file://0001-setup.py-support-cross-compiling.patch"
SRC_URI[sha256sum] = "61d473929340d3073722f6316b7fbbdb11132faa6bac0242328e8436cc55b39a"
DEPENDS += "libheif"
RDEPENDS:${PN} += "python3-pillow"