mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-26 21:50:11 +00:00
Fixes the following build error: > ERROR: ./lib/python3.11/site-packages/PIL/_imaging.cpython-311.so contains undefined symbols: > 89: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND log > 109: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fmod > 111: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND hypot > 113: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND sincos > 114: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND sin > ERROR: ./lib/python3.11/site-packages/PIL/_imagingmath.cpython-311.so contains undefined symbols: > 12: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND pow > 14: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND fmod > 15: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND powf
20 lines
878 B
Bash
20 lines
878 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="10.3.0"
|
|
TERMUX_PKG_REVISION=1
|
|
TERMUX_PKG_SRCURL=https://github.com/python-pillow/Pillow/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=5a2f1a812237bf9bd57f283422f46ca97a1c3d43d5f67b9bf8a0d499c4b97c85
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="freetype, libimagequant, libjpeg-turbo, libraqm, libtiff, libwebp, libxcb, littlecms, openjpeg, python, zlib"
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE"
|
|
TERMUX_PKG_PYTHON_COMMON_DEPS="wheel, 'setuptools==67.8'"
|
|
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
|
|
}
|