2020-12-04 15:17:37 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# wqy-zenhei
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
WQY_ZENHEI_VERSION = 0.9.45
|
|
|
|
WQY_ZENHEI_SITE = https://downloads.sourceforge.net/project/wqy/wqy-zenhei/$(WQY_ZENHEI_VERSION)%20%28Fighting-state%20RC1%29
|
2021-11-29 08:16:37 +01:00
|
|
|
WQY_ZENHEI_LICENSE = GPL-2.0-with-font-exception
|
2020-12-04 15:17:37 +01:00
|
|
|
WQY_ZENHEI_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_FONTCONFIG),y)
|
|
|
|
define WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS
|
|
|
|
$(INSTALL) -D -m 0644 $(@D)/43-wqy-zenhei-sharp.conf \
|
2021-11-29 08:16:37 +01:00
|
|
|
$(TARGET_DIR)/usr/share/fontconfig/conf.avail/43-wqy-zenhei-sharp.conf
|
2020-12-04 15:17:37 +01:00
|
|
|
$(INSTALL) -D -m 0644 $(@D)/44-wqy-zenhei.conf \
|
2021-11-29 08:16:37 +01:00
|
|
|
$(TARGET_DIR)/usr/share/fontconfig/conf.avail/44-wqy-zenhei.conf
|
2020-12-04 15:17:37 +01:00
|
|
|
endef
|
|
|
|
endif
|
|
|
|
|
|
|
|
define WQY_ZENHEI_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0644 $(@D)/wqy-zenhei.ttc \
|
|
|
|
$(TARGET_DIR)/usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc
|
|
|
|
$(WQY_ZENHEI_FONTCONFIG_CONF_INSTALL_CMDS)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|