Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libass: Fix fontconfig detection
@ 2015-12-13 16:57 Bernd Kuhls
  2015-12-13 17:34 ` Yann E. MORIN
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2015-12-13 16:57 UTC (permalink / raw)
  To: buildroot

This patch is a combination of the approaches by Vicente and Yann
discussed in http://patchwork.ozlabs.org/patch/553448/ to fix the
configure bug due to fontconfig being disabled.

Fixes
http://autobuild.buildroot.net/results/923/923e8688ab6a294b51fa146cd2ed23db20fe7341/
and many others

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 package/libass/libass.mk | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/package/libass/libass.mk b/package/libass/libass.mk
index 83939e2..72770e2 100644
--- a/package/libass/libass.mk
+++ b/package/libass/libass.mk
@@ -24,6 +24,15 @@ ifeq ($(BR2_i386)$(BR2_x86_64),y)
 LIBASS_DEPENDENCIES += host-yasm
 endif
 
+# libass uses the concept of a "system font provider", in the linux case
+# this is currently only fontconfig. If fontconfig is disabled we need
+# the following configure option to avoid a configure error. This option
+# can be appended in the future when other linux packages are taking care
+# of the role as "system font provider".
+ifneq ($(BR2_PACKAGE_FONTCONFIG),y)
+LIBASS_CONF_OPTS = --disable-require-system-font-provider
+endif
+
 ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
 LIBASS_DEPENDENCIES += fontconfig
 LIBASS_CONF_OPTS += --enable-fontconfig
-- 
2.6.2

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

end of thread, other threads:[~2015-12-13 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-13 16:57 [Buildroot] [PATCH 1/1] package/libass: Fix fontconfig detection Bernd Kuhls
2015-12-13 17:34 ` Yann E. MORIN

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