Files
Arch-R/packages/python/graphics/Pillow/package.mk
heitbaum 8107fa46f8 Pillow: update to 8.4.0
update 8.1.2 (2021-03-06) to 8.4.0 (2021-10-15)

Pillow is released quarterly on January 2nd, April 1st, July 1st and
October 15th. Patch releases are created if the latest release contains
severe bugs, or if security fixes are put together before a scheduled
release. See Versioning for more information.

Regular October 15th (2021) quarterly release - This is a Main Release.

release notes:
- https://pillow.readthedocs.io/en/latest/releasenotes/8.4.0.html
- https://github.com/python-pillow/Pillow/releases
2021-10-16 19:33:55 +11:00

33 lines
983 B
Makefile

# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2009-2016 Stephan Raue (stephan@openelec.tv)
# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="Pillow"
PKG_VERSION="8.4.0"
PKG_SHA256="a726a4246cf1f26a5024b57c5d5fa0e98789262799860ed554ec028e2698f2c0"
PKG_LICENSE="BSD"
PKG_SITE="https://python-pillow.org/"
PKG_URL="https://github.com/python-pillow/${PKG_NAME}/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain Python3 distutilscross:host zlib freetype libjpeg-turbo tiff"
PKG_LONGDESC="The Python Imaging Library adds image processing capabilities to your Python interpreter."
PKG_TOOLCHAIN="manual"
pre_make_target() {
export PYTHONXCPREFIX="${SYSROOT_PREFIX}/usr"
export LDSHARED="${CC} -shared"
}
make_target() {
python3 setup.py build --cross-compile
}
makeinstall_target() {
python3 setup.py install --root=${INSTALL} --prefix=/usr
}
post_makeinstall_target() {
python_remove_source
rm -rf ${INSTALL}/usr/bin
}