mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/freetype: add brotli optional dependency
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>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 81ada4dff4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
4fce219fda
commit
96bd44e093
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user