Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] freetype: Add config option for bzip2 compressed font support
@ 2014-10-18  2:39 Maarten ter Huurne
  2014-10-18 12:48 ` Maxime Hadjinlian
  2014-10-18 13:12 ` Arnout Vandecappelle
  0 siblings, 2 replies; 6+ messages in thread
From: Maarten ter Huurne @ 2014-10-18  2:39 UTC (permalink / raw)
  To: buildroot

If bzip2 is available, it might still be preferable to not include
support for bzip2 compressed fonts, for example to reduce the number
of libraries loaded when running a GUI application.

Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
---
 package/freetype/Config.in   | 9 +++++++++
 package/freetype/freetype.mk | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/package/freetype/Config.in b/package/freetype/Config.in
index ded8738..f245b14 100644
--- a/package/freetype/Config.in
+++ b/package/freetype/Config.in
@@ -4,3 +4,12 @@ config BR2_PACKAGE_FREETYPE
 	  a free, high-quality and portable font engine.
 
 	  http://www.freetype.org/
+
+if BR2_PACKAGE_FREETYPE
+
+config BR2_PACKAGE_FREETYPE_BZIP2
+	bool "support bzip2 compressed fonts"
+	depends on BR2_PACKAGE_BZIP2
+	default y
+
+endif
diff --git a/package/freetype/freetype.mk b/package/freetype/freetype.mk
index b85d0ec..b2d999f 100644
--- a/package/freetype/freetype.mk
+++ b/package/freetype/freetype.mk
@@ -37,7 +37,7 @@ else
 FREETYPE_CONF_OPTS += --without-zlib
 endif
 
-ifeq ($(BR2_PACKAGE_BZIP2),y)
+ifeq ($(BR2_PACKAGE_FREETYPE_BZIP2),y)
 FREETYPE_DEPENDENCIES += bzip2
 FREETYPE_CONF_OPTS += --with-bzip2
 else
-- 
1.8.4.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-02-03 15:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-18  2:39 [Buildroot] [PATCH] freetype: Add config option for bzip2 compressed font support Maarten ter Huurne
2014-10-18 12:48 ` Maxime Hadjinlian
2014-10-18 13:12 ` Arnout Vandecappelle
2014-10-19  0:49   ` Maarten ter Huurne
2014-10-19 20:39     ` Arnout Vandecappelle
2015-02-03 15:59       ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox