[Buildroot] [PATCH 2/4] package/python-pillow: add xcb support
Yann E. MORIN
yann.morin.1998 at free.fr
Mon May 24 08:52:51 UTC 2021
Fabrice, All,
On 2021-05-22 19:41 +0200, Fabrice Fontaine spake thusly:
> libxcb is an optional dependency since version 7.1.0 and
> https://github.com/python-pillow/Pillow/commit/3c39e6fcf6a11b18eec0d1c66710bcd35033d069
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
This is fixing a hiodden dependency, so: applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/python-pillow/python-pillow.mk | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/package/python-pillow/python-pillow.mk b/package/python-pillow/python-pillow.mk
> index 3018758b48..ab52f38df1 100644
> --- a/package/python-pillow/python-pillow.mk
> +++ b/package/python-pillow/python-pillow.mk
> @@ -35,6 +35,13 @@ else
> PYTHON_PILLOW_BUILD_OPTS += --disable-lcms
> endif
>
> +ifeq ($(BR2_PACKAGE_LIBXCB),y)
> +PYTHON_PILLOW_DEPENDENCIES += libxcb
> +PYTHON_PILLOW_BUILD_OPTS += --enable-xcb
> +else
> +PYTHON_PILLOW_BUILD_OPTS += --disable-xcb
> +endif
> +
> ifeq ($(BR2_PACKAGE_OPENJPEG),y)
> PYTHON_PILLOW_DEPENDENCIES += openjpeg
> PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000
> --
> 2.30.2
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
More information about the buildroot
mailing list