libwebp: bump to version 1.3.1
[feed/packages.git] / lang / python / pillow / Makefile
1 #
2 # Copyright © 1997-2011 by Secret Labs AB
3 # Copyright © 1995-2011 by Fredrik Lundh
4 # Copyright © 2016 by Alex Clark and contributors
5 #
6
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=pillow
10 PKG_VERSION:=9.5.0
11 PKG_RELEASE:=2
12
13 PYPI_NAME:=Pillow
14 PKG_HASH:=bf548479d336726d7a0eceb6e767e179fbde37833ae42794602631a070d630f1
15
16 PKG_MAINTAINER:=Alexandru Ardelean <ardeleanalex@gmail.com>
17 PKG_LICENSE:=HPND
18 PKG_LICENSE_FILES:=LICENSE
19 PKG_CPE_ID:=cpe:/a:python:pillow
20
21 include ../pypi.mk
22 include $(INCLUDE_DIR)/package.mk
23 include ../python3-package.mk
24
25 define Package/python3-pillow
26 SUBMENU:=Python
27 SECTION:=lang
28 CATEGORY:=Languages
29 TITLE:=The friendly PIL fork
30 URL:=https://python-pillow.org/
31 DEPENDS:=+libfreetype +libjpeg +libtiff +zlib \
32 +libwebp +python3
33 endef
34
35 define Package/python3-pillow/description
36 The friendly PIL fork
37 endef
38
39 PYTHON3_PKG_BUILD_CONFIG_SETTINGS += \
40 --build-option=build_ext \
41 --build-option=--enable-zlib \
42 --build-option=--enable-jpeg \
43 --build-option=--enable-webp \
44 --build-option=--enable-webpmux \
45 --build-option=--enable-tiff \
46 --build-option=--enable-freetype \
47 --build-option=--disable-lcms \
48 --build-option=--disable-jpeg2000 \
49 --build-option=--disable-imagequant \
50 --build-option=--disable-platform-guessing
51
52 $(eval $(call Py3Package,python3-pillow))
53 $(eval $(call BuildPackage,python3-pillow))
54 $(eval $(call BuildPackage,python3-pillow-src))