kumquat-buildroot/package/fontconfig/fontconfig.mk

33 lines
1.0 KiB
Makefile
Raw Normal View History

################################################################################
2007-01-14 04:39:53 +01:00
#
# fontconfig
#
################################################################################
FONTCONFIG_VERSION = 2.13.1
2008-03-06 19:09:37 +01:00
FONTCONFIG_SITE = http://fontconfig.org/release
FONTCONFIG_SOURCE = fontconfig-$(FONTCONFIG_VERSION).tar.bz2
# 0002-add-pthread-as-a-dependency-of-a-static-lib.patch
FONTCONFIG_AUTORECONF = YES
FONTCONFIG_INSTALL_STAGING = YES
FONTCONFIG_DEPENDENCIES = freetype expat host-pkgconf host-gperf \
package/fontconfig: fix build with NLS Add TARGET_NLS_DEPENDENCIES and host-gettext dependency to avoid the following build failure in a per-package-directorie build with host-cairo raised because fontconfig installs its ITS files in the wrong directory (i.e. outside of gettext-tiny symlink): mkdir -p /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-fontconfig/host/ /tmp/instance-0/output-1/per-package/host-fontconfig/host/ /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-freetype/host/ /tmp/instance-0/output-1/per-package/host-freetype/host/ /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-libglib2/host/ /tmp/instance-0/output-1/per-package/host-libglib2/host/ /tmp/instance-0/output-1/per-package/host-cairo/host cannot delete non-empty directory: share/gettext could not make way for new symlink: share/gettext This only happens with per-package directories because then the rsync is done. Otherwise the fontconfig installation will simply follow the symlink. The error of course exists for target as well, but doesn't occur in autobuilders since it already fails for host. Fixes: - http://autobuild.buildroot.org/results/00e29958cecfffa4e994ab549637117dd8f55c30 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-13 23:16:48 +02:00
$(if $(BR2_PACKAGE_UTIL_LINUX_LIBS),util-linux-libs,util-linux) \
$(TARGET_NLS_DEPENDENCIES)
HOST_FONTCONFIG_DEPENDENCIES = \
package/fontconfig: fix build with NLS Add TARGET_NLS_DEPENDENCIES and host-gettext dependency to avoid the following build failure in a per-package-directorie build with host-cairo raised because fontconfig installs its ITS files in the wrong directory (i.e. outside of gettext-tiny symlink): mkdir -p /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-fontconfig/host/ /tmp/instance-0/output-1/per-package/host-fontconfig/host/ /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-freetype/host/ /tmp/instance-0/output-1/per-package/host-freetype/host/ /tmp/instance-0/output-1/per-package/host-cairo/host rsync -a --link-dest=/tmp/instance-0/output-1/per-package/host-libglib2/host/ /tmp/instance-0/output-1/per-package/host-libglib2/host/ /tmp/instance-0/output-1/per-package/host-cairo/host cannot delete non-empty directory: share/gettext could not make way for new symlink: share/gettext This only happens with per-package directories because then the rsync is done. Otherwise the fontconfig installation will simply follow the symlink. The error of course exists for target as well, but doesn't occur in autobuilders since it already fails for host. Fixes: - http://autobuild.buildroot.org/results/00e29958cecfffa4e994ab549637117dd8f55c30 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-08-13 23:16:48 +02:00
host-freetype host-expat host-pkgconf host-gperf host-util-linux \
host-gettext
FONTCONFIG_LICENSE = fontconfig license
FONTCONFIG_LICENSE_FILES = COPYING
FONTCONFIG_CPE_ID_VENDOR = fontconfig_project
2008-03-06 19:09:37 +01:00
FONTCONFIG_CONF_OPTS = \
--with-arch=$(GNU_TARGET_NAME) \
--with-cache-dir=/var/cache/fontconfig \
--disable-docs
2007-01-14 04:39:53 +01:00
HOST_FONTCONFIG_CONF_OPTS = \
--disable-static
2009-03-18 22:22:04 +01:00
$(eval $(autotools-package))
$(eval $(host-autotools-package))