mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/font-awesome: make it visible by fontconfig
This commit creates a symlink that ensures fontconfig will find the
fonts installed by the font-awesome package.
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 0979a9e13c)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
c6e486cf1e
commit
0990b46f52
@@ -13,6 +13,8 @@ define FONT_AWESOME_INSTALL_TARGET_CMDS
|
|||||||
mkdir -p $(TARGET_DIR)/usr/share/font-awesome/
|
mkdir -p $(TARGET_DIR)/usr/share/font-awesome/
|
||||||
$(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\
|
$(foreach d,$(FONT_AWESOME_DIRECTORIES_LIST),\
|
||||||
cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep))
|
cp -dpfr $(@D)/$(d) $(TARGET_DIR)/usr/share/font-awesome$(sep))
|
||||||
|
mkdir -p $(TARGET_DIR)/usr/share/fonts/
|
||||||
|
ln -sf ../font-awesome $(TARGET_DIR)/usr/share/fonts/font-awesome
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user