mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 08:30:47 -09:00
package/python-pillow: bump to version 12.0.0
Add libavif support. Add new python-pybind build dependency. Set --skip-dependency-check since pybind isn't detected properly by the pep517 build frontend. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
0c1be092bc
commit
5f446a8d6d
@@ -2,6 +2,7 @@ config BR2_PACKAGE_PYTHON_PILLOW
|
||||
bool "python-pillow"
|
||||
select BR2_PACKAGE_PYTHON3_PYEXPAT # runtime
|
||||
select BR2_PACKAGE_PYTHON3_ZLIB
|
||||
select BR2_PACKAGE_PYTHON_PYBIND
|
||||
help
|
||||
Pillow is the "friendly" PIL fork by Alex Clark and
|
||||
Contributors. PIL is the Python Imaging Library by Fredrik
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# md5, sha256 from https://pypi.org/pypi/pillow/json
|
||||
md5 9464f92bed3be9c68293cb399ec1ec1a pillow-11.3.0.tar.gz
|
||||
sha256 3828ee7586cd0b2091b6209e5ad53e20d0649bbe87164a459d0676e035e8f523 pillow-11.3.0.tar.gz
|
||||
md5 a7432f8c473441996d72efdefbc49d40 pillow-12.0.0.tar.gz
|
||||
sha256 87d4f8125c9988bfbed67af47dd7a953e2fc7b0cc1e7800ec6d2080d490bb353 pillow-12.0.0.tar.gz
|
||||
# Locally computed sha256 checksums
|
||||
sha256 17f240ae101143707e5e7303a5d800450d9ccc7475b463cedb555cefdb3c6ece LICENSE
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PYTHON_PILLOW_VERSION = 11.3.0
|
||||
PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/f3/0d/d0d6dea55cd152ce3d6767bb38a8fc10e33796ba4ba210cbab9354b6d238
|
||||
PYTHON_PILLOW_VERSION = 12.0.0
|
||||
PYTHON_PILLOW_SITE = https://files.pythonhosted.org/packages/5a/b0/cace85a1b0c9775a9f8f5d5423c8261c858760e2466c79b2dd184638b056
|
||||
PYTHON_PILLOW_SOURCE = pillow-$(PYTHON_PILLOW_VERSION).tar.gz
|
||||
PYTHON_PILLOW_LICENSE = HPND
|
||||
PYTHON_PILLOW_LICENSE_FILES = LICENSE
|
||||
@@ -13,8 +13,9 @@ PYTHON_PILLOW_CPE_ID_VENDOR = python
|
||||
PYTHON_PILLOW_CPE_ID_PRODUCT = pillow
|
||||
PYTHON_PILLOW_SETUP_TYPE = setuptools
|
||||
|
||||
PYTHON_PILLOW_DEPENDENCIES = host-pkgconf
|
||||
PYTHON_PILLOW_DEPENDENCIES = host-pkgconf python-pybind
|
||||
PYTHON_PILLOW_BUILD_OPTS = \
|
||||
--skip-dependency-check \
|
||||
-Cplatform-guessing=disable \
|
||||
-Cimagequant=disable \
|
||||
-Craqm=disable
|
||||
@@ -40,6 +41,13 @@ else
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Clcms=disable
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAVIF),y)
|
||||
PYTHON_PILLOW_DEPENDENCIES += libavif
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Clibavif=enable
|
||||
else
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Clibavif=disable
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCB),y)
|
||||
PYTHON_PILLOW_DEPENDENCIES += libxcb
|
||||
PYTHON_PILLOW_BUILD_OPTS += -Cxcb=enable
|
||||
|
||||
Reference in New Issue
Block a user