mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-19 16:40:46 -09:00
package/freetype: add harfbuzz optional dependency
harfbuzz is an optional dependency (enabled by default) since version
2.5.3 and
https://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=86026a47b345a8c254dd5e6be77bf116737cdafb
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 939e714393)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
73ce759aa4
commit
d78ea69ceb
@@ -15,7 +15,11 @@ FREETYPE_DEPENDENCIES = host-pkgconf
|
|||||||
FREETYPE_CONFIG_SCRIPTS = freetype-config
|
FREETYPE_CONFIG_SCRIPTS = freetype-config
|
||||||
|
|
||||||
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
|
HOST_FREETYPE_DEPENDENCIES = host-pkgconf
|
||||||
HOST_FREETYPE_CONF_OPTS = --without-zlib --without-bzip2 --without-png
|
HOST_FREETYPE_CONF_OPTS = \
|
||||||
|
--without-bzip2 \
|
||||||
|
--without-harfbuzz \
|
||||||
|
--without-png \
|
||||||
|
--without-zlib
|
||||||
|
|
||||||
# since 2.9.1 needed for freetype-config install
|
# since 2.9.1 needed for freetype-config install
|
||||||
FREETYPE_CONF_OPTS += --enable-freetype-config
|
FREETYPE_CONF_OPTS += --enable-freetype-config
|
||||||
@@ -35,6 +39,13 @@ else
|
|||||||
FREETYPE_CONF_OPTS += --without-bzip2
|
FREETYPE_CONF_OPTS += --without-bzip2
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_HARFBUZZ),y)
|
||||||
|
FREETYPE_DEPENDENCIES += harfbuzz
|
||||||
|
FREETYPE_CONF_OPTS += --with-harbuzz
|
||||||
|
else
|
||||||
|
FREETYPE_CONF_OPTS += --without-harfbuzz
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||||
FREETYPE_DEPENDENCIES += libpng
|
FREETYPE_DEPENDENCIES += libpng
|
||||||
FREETYPE_CONF_OPTS += --with-png
|
FREETYPE_CONF_OPTS += --with-png
|
||||||
|
|||||||
Reference in New Issue
Block a user