All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/4] package/python-pillow: add lcms2 support
Date: Sat, 22 May 2021 19:41:56 +0200	[thread overview]
Message-ID: <20210522174159.278657-1-fontaine.fabrice@gmail.com> (raw)

lcms2 is an optional dependency since version 2.3.0 and
https://github.com/python-pillow/Pillow/commit/6d9f34914021951bba42ffe5b6cd80147e7f538f

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 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 f71fa156e2..3018758b48 100644
--- a/package/python-pillow/python-pillow.mk
+++ b/package/python-pillow/python-pillow.mk
@@ -28,6 +28,13 @@ else
 PYTHON_PILLOW_BUILD_OPTS += --disable-jpeg
 endif
 
+ifeq ($(BR2_PACKAGE_LCMS2),y)
+PYTHON_PILLOW_DEPENDENCIES += lcms2
+PYTHON_PILLOW_BUILD_OPTS += --enable-lcms
+else
+PYTHON_PILLOW_BUILD_OPTS += --disable-lcms
+endif
+
 ifeq ($(BR2_PACKAGE_OPENJPEG),y)
 PYTHON_PILLOW_DEPENDENCIES += openjpeg
 PYTHON_PILLOW_BUILD_OPTS += --enable-jpeg2000
-- 
2.30.2

             reply	other threads:[~2021-05-22 17:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-22 17:41 Fabrice Fontaine [this message]
2021-05-22 17:41 ` [Buildroot] [PATCH 2/4] package/python-pillow: add xcb support Fabrice Fontaine
2021-05-24  8:52   ` Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-22 17:41 ` [Buildroot] [PATCH 3/4] package/python-pillow: add webpmux support Fabrice Fontaine
2021-05-24  8:56   ` Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-22 17:41 ` [Buildroot] [PATCH 4/4] package/python-pillow: security bump to version 8.2.0 Fabrice Fontaine
2021-05-24  8:56   ` Yann E. MORIN
2021-06-08  8:25   ` Peter Korsgaard
2021-05-24  8:52 ` [Buildroot] [PATCH 1/4] package/python-pillow: add lcms2 support Yann E. MORIN
2021-06-08  8:25 ` Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210522174159.278657-1-fontaine.fabrice@gmail.com \
    --to=fontaine.fabrice@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.