Files
termux-pacman-bot 0b51c8bdd1 bump(main/python-pillow): 12.1.1
This commit has been automatically submitted by Github Actions.
2026-02-11 06:50:59 +00:00

19 lines
839 B
Bash

TERMUX_PKG_HOMEPAGE=https://python-pillow.org/
TERMUX_PKG_DESCRIPTION="Python Imaging Library"
TERMUX_PKG_LICENSE="custom"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="12.1.1"
TERMUX_PKG_SRCURL=https://github.com/python-pillow/Pillow/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=d29fefc0ba637833b59cafc7649e1237186741c31b210178b0a4e9cd9e01ffdf
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="freetype, libimagequant, libjpeg-turbo, libraqm, libtiff, libwebp, libxcb, littlecms, openjpeg, python, python-pip, zlib"
TERMUX_PKG_LICENSE_FILE="LICENSE"
TERMUX_PKG_SETUP_PYTHON=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_post_make_install() {
if [ ! -e "$TERMUX_PYTHON_HOME/site-packages/pillow-$TERMUX_PKG_VERSION.dist-info" ]; then
termux_error_exit "Package ${TERMUX_PKG_NAME} doesn't build properly."
fi
}