From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/freetype: add brotli optional dependency
Date: Thu, 1 Oct 2020 22:26:26 +0200 [thread overview]
Message-ID: <20201001202626.1354496-3-fontaine.fabrice@gmail.com> (raw)
In-Reply-To: <20201001202626.1354496-1-fontaine.fabrice@gmail.com>
brotli is an optional dependency (enabled by default) since version
2.10.2 and
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=9443a1bc3e6cfa315db976ff80f6c5e91b12b387
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
package/freetype/freetype.mk | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index b0aba78c51..e6463c30b6 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -16,6 +16,7 @@ FREETYPE_CONFIG_SCRIPTS = freetype-config
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
HOST_FREETYPE_CONF_OPTS = \
+ --without-brotli \
--without-bzip2 \
--without-harfbuzz \
--without-png \
@@ -32,6 +33,13 @@ else
FREETYPE_CONF_OPTS += --without-zlib
endif
+ifeq ($(BR2_PACKAGE_BROTLI),y)
+FREETYPE_DEPENDENCIES += brotli
+FREETYPE_CONF_OPTS += --with-brotli
+else
+FREETYPE_CONF_OPTS += --without-brotli
+endif
+
ifeq ($(BR2_PACKAGE_BZIP2),y)
FREETYPE_DEPENDENCIES += bzip2
FREETYPE_CONF_OPTS += --with-bzip2
--
2.28.0
next prev parent reply other threads:[~2020-10-01 20:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 20:26 [Buildroot] [PATCH 1/3] package/freetype: drop libpng workaround Fabrice Fontaine
2020-10-01 20:26 ` [Buildroot] [PATCH 2/3] package/freetype: add harfbuzz optional dependency Fabrice Fontaine
2020-10-03 6:50 ` Peter Korsgaard
2020-10-01 20:26 ` Fabrice Fontaine [this message]
2020-10-03 6:49 ` [Buildroot] [PATCH 3/3] package/freetype: add brotli " Peter Korsgaard
2020-10-01 20:58 ` [Buildroot] [PATCH 1/3] package/freetype: drop libpng workaround Yann E. MORIN
2020-10-03 6:49 ` 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=20201001202626.1354496-3-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox