[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/pil/pil.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] Imaging handling/processing for Python [T] The Python Imaging Library (PIL) adds image processing capabilities [T] to your Python interpreter. This library supports many file formats, [T] and provides powerful image processing and graphics capabilities. [U] https://pypi.org/project/pillow [A] Jeffrey A. Clark and contributors [M] The T2 Project [C] extra/multimedia [E] opt libwebp [L] MIT [S] Stable [V] 11.2.1 [P] X -----5---9 124.700 [CV-FLAGS] NO-PREFIX [D] 2215fc94b731e32999fac2ed1ddcf9df2201d4e32a95578c9c83216e pillow-11.2.1.tar.gz https://github.com/python-pillow/Pillow/archive/11.2.1/ pil_install_header() { pyver=`python -c "import sys; print sys.version[:3]"` pyinstalldir=`python -c "import sys; print sys.prefix"` cp -fv libImaging/Im*.h ${pyinstalldir}/include/python${pyver}/ } #hook_add postmake 5 pil_install_header pil_configure64() { sed -i -e 's/^JPEG_ROOT.*/JPEG_ROOT = "\/usr\/lib64"/' setup.py sed -i -e 's/^FREETYPE_ROOT.*/FREETYPE_ROOT = "\/usr\/lib64"/' setup.py sed -i -e 's/^TIFF_ROOT.*/TIFF_ROOT = "\/usr\/lib64"/' setup.py sed -i -e 's/^ZLIB_ROOT.*/ZLIB_ROOT = "\/lib64"/' setup.py sed -i -e 's/^TCL_ROOT.*/TCL_ROOT = "\/usr\/lib64"/' setup.py } [[ $libdir = *lib64 ]] && hook_add preconf 3 pil_configure64 [[ $libdir = *lib64 ]] && var_append GCC_WRAPPER_INSERT ' ' '-L/usr/lib64 -L/lib64 -lz'