mirror of
https://git.busybox.net/buildroot.git
synced 2025-01-19 19:03:47 +08:00
qt5base: install bundled fonts to target
If not using font-config, Qt 5 offers a set of standard fonts to use instead. Install these to target. Signed-off-by: Floris Bos <bos@je-eigen-domein.nl> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
6cd7b60f8b
commit
cdfa21b060
@ -172,9 +172,17 @@ define QT5BASE_INSTALL_TARGET_PLUGINS
|
|||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define QT5BASE_INSTALL_TARGET_FONTS
|
||||||
|
if [ -d $(STAGING_DIR)/usr/lib/fonts/ ] ; then \
|
||||||
|
mkdir -p $(TARGET_DIR)/usr/lib/fonts ; \
|
||||||
|
cp -dpfr $(STAGING_DIR)/usr/lib/fonts/* $(TARGET_DIR)/usr/lib/fonts ; \
|
||||||
|
fi
|
||||||
|
endef
|
||||||
|
|
||||||
define QT5BASE_INSTALL_TARGET_CMDS
|
define QT5BASE_INSTALL_TARGET_CMDS
|
||||||
$(QT5BASE_INSTALL_TARGET_LIBS)
|
$(QT5BASE_INSTALL_TARGET_LIBS)
|
||||||
$(QT5BASE_INSTALL_TARGET_PLUGINS)
|
$(QT5BASE_INSTALL_TARGET_PLUGINS)
|
||||||
|
$(QT5BASE_INSTALL_TARGET_FONTS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user