mirror of https://github.com/pyodide/pyodide.git
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
YAML
package:
|
|
name: Pillow
|
|
version: 10.0.0
|
|
top-level:
|
|
- PIL
|
|
source:
|
|
sha256: 9c82b5b3e043c7af0d95792d0d20ccf68f61a1fec6b3530e718b688422727396
|
|
url: https://files.pythonhosted.org/packages/0f/8b/2ebaf9adcf4260c00f842154865f8730cf745906aa5dd499141fb6063e26/Pillow-10.0.0.tar.gz
|
|
patches:
|
|
- patches/0001-Enable-image-formats.patch
|
|
build:
|
|
# RELOCATABLE flag is required because if affects how emscripten build ports.
|
|
cflags: |
|
|
-s RELOCATABLE=1
|
|
-s USE_ZLIB=1
|
|
-s USE_FREETYPE=1
|
|
-s USE_LIBPNG=1
|
|
-s USE_LIBJPEG=1
|
|
ldflags: |
|
|
-ljpeg
|
|
backend-flags: |
|
|
platform-guessing=disable
|
|
zlib=True
|
|
jpeg=True
|
|
freetype=True
|
|
webp=True
|
|
tiff=True
|
|
lcms=False
|
|
xcb=False
|
|
webpmux=False
|
|
jpeg2000=False
|
|
imagequant=False
|
|
|
|
requirements:
|
|
# Pillow will use `pkg-config` to find and link these libraries.
|
|
host:
|
|
- libwebp
|
|
- libtiff
|
|
about:
|
|
home: https://python-pillow.org
|
|
PyPI: https://pypi.org/project/Pillow
|
|
summary: Python Imaging Library (Fork)
|
|
license: HPND
|