libbluray: add optional fontconfig dependency
authorBaruch Siach <baruch@tkos.co.il>
Tue, 29 Sep 2015 12:58:22 +0000 (15:58 +0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 29 Sep 2015 17:36:38 +0000 (19:36 +0200)
Fixes:
http://autobuild.buildroot.net/results/dbf/dbfbf09f48e7ec09be34a3a40d3c859b74379eaf/
http://autobuild.buildroot.net/results/3fb/3fb9c077d4fe772774f53c7611b4dcbaad361312/
http://autobuild.buildroot.net/results/f9c/f9c1f3cf8bfa9eeacb7719459c22bdf7dea26ddb/

and more.

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/libbluray/libbluray.mk

index e10f7dbc8c73a7745d1e177af3d1660ca7c4e290..f6a501a1083f54c5d43d3e4c3b4e9871fdfa1987 100644 (file)
@@ -24,6 +24,12 @@ else
 LIBBLURAY_CONF_OPTS += --without-freetype
 endif
 
+ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
+LIBBLURAY_DEPENDENCIES += fontconfig
+else
+LIBBLURAY_CONF_OPTS += --without-fontconfig
+endif
+
 ifeq ($(BR2_PACKAGE_LIBXML2),y)
 LIBBLURAY_DEPENDENCIES += libxml2
 else