From: Baruch Siach Date: Tue, 29 Sep 2015 12:58:22 +0000 (+0300) Subject: libbluray: add optional fontconfig dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6397f7aa2bc52b395e5a1eb35ba780a5ecbd73a6;p=buildroot.git libbluray: add optional fontconfig dependency 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 Signed-off-by: Baruch Siach Signed-off-by: Thomas Petazzoni --- diff --git a/package/libbluray/libbluray.mk b/package/libbluray/libbluray.mk index e10f7dbc8c..f6a501a108 100644 --- a/package/libbluray/libbluray.mk +++ b/package/libbluray/libbluray.mk @@ -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