Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
config BR2_PACKAGE_PYTHON_PILLOW
bool "python-pillow"
depends on BR2_INSTALL_LIBSTDCPP # python-pybind
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
Lundh and Contributors.
Pillow relies on external libraries to provide support
various image formats. Select the corresponding package(s)
to get this support. Pillow can use jpeg, zlib (for PNG),
tiff, freetype, webp, and openjpeg (JPEG-2000).
https://pypi.python.org/pypi/Pillow/
comment "python-pillow needs a toolchain w/ C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/pillow/json
md5 a7432f8c473441996d72efdefbc49d40 pillow-12.0.0.tar.gz
sha256 87d4f8125c9988bfbed67af47dd7a953e2fc7b0cc1e7800ec6d2080d490bb353 pillow-12.0.0.tar.gz
# Locally computed sha256 checksums
sha256 17f240ae101143707e5e7303a5d800450d9ccc7475b463cedb555cefdb3c6ece LICENSE

View File

@@ -0,0 +1,86 @@
################################################################################
#
# python-pillow
#
################################################################################
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
PYTHON_PILLOW_CPE_ID_VENDOR = python
PYTHON_PILLOW_CPE_ID_PRODUCT = pillow
PYTHON_PILLOW_SETUP_TYPE = setuptools
PYTHON_PILLOW_DEPENDENCIES = host-pkgconf python-pybind
PYTHON_PILLOW_BUILD_OPTS = \
--skip-dependency-check \
-Cplatform-guessing=disable \
-Cimagequant=disable \
-Craqm=disable
ifeq ($(BR2_PACKAGE_FREETYPE),y)
PYTHON_PILLOW_DEPENDENCIES += freetype
PYTHON_PILLOW_BUILD_OPTS += -Cfreetype=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Cfreetype=disable
endif
ifeq ($(BR2_PACKAGE_JPEG),y)
PYTHON_PILLOW_DEPENDENCIES += jpeg
PYTHON_PILLOW_BUILD_OPTS += -Cjpeg=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Cjpeg=disable
endif
ifeq ($(BR2_PACKAGE_LCMS2),y)
PYTHON_PILLOW_DEPENDENCIES += lcms2
PYTHON_PILLOW_BUILD_OPTS += -Clcms=enable
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
else
PYTHON_PILLOW_BUILD_OPTS += -Cxcb=disable
endif
ifeq ($(BR2_PACKAGE_OPENJPEG),y)
PYTHON_PILLOW_DEPENDENCIES += openjpeg
PYTHON_PILLOW_BUILD_OPTS += -Cjpeg2000=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Cjpeg2000=disable
endif
ifeq ($(BR2_PACKAGE_TIFF),y)
PYTHON_PILLOW_DEPENDENCIES += tiff
PYTHON_PILLOW_BUILD_OPTS += -Ctiff=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Ctiff=disable
endif
ifeq ($(BR2_PACKAGE_WEBP)$(BR2_PACKAGE_WEBP_DEMUX)$(BR2_PACKAGE_WEBP_MUX),yyy)
PYTHON_PILLOW_DEPENDENCIES += webp
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Cwebp=disable
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
PYTHON_PILLOW_DEPENDENCIES += zlib
PYTHON_PILLOW_BUILD_OPTS += -Czlib=enable
else
PYTHON_PILLOW_BUILD_OPTS += -Czlib=disable
endif
$(eval $(python-package))