forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-11-20 520ec20d74dfd87f62fd58b921b7209d6daed94a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
###############################################################################
#
# Noto Sans SC
#
###############################################################################
 
NOTO_SANS_TC_VERSION = 1.1
NOTO_SANS_TC_SOURCE = NotoSansTC.zip
NOTO_SANS_TC_SITE = https://noto-website-2.storage.googleapis.com/pkgs
NOTO_SANS_TC_LICENSE = LICENSE_OFL.txt
NOTO_SANS_TC_DEPENDENCIES = host-zip
 
define NOTO_SANS_TC_EXTRACT_CMDS
   unzip $(DL_DIR)/$(NOTO_SANS_TC_SOURCE) -d $(@D)/
endef
 
define NOTO_SANS_TC_INSTALL_TARGET_CMDS
   mkdir -p $(TARGET_DIR)/usr/share/fonts/noto-sans-tc/
   cp -r $(@D)/*.otf $(TARGET_DIR)/usr/share/fonts/noto-sans-tc/
   $(NOTO_INSTALL_FONTCONFIG_CONF)
endef
 
$(eval $(generic-package))