| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights. = Black ExtraBold Bold SemiBold Neutral Medium Light ExtraLight Thin |
| 5 |
weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights. += Extrabold Semibold Extralight |
| 6 |
weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights. := $(weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights.) $(patsubstscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/patsubst. %,%Italic,$(weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights.)) |
| 7 |
weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights. := $(weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights.) $(foreachscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/foreach. distortion,ExtraCondensed Condensed SemiCondensed,$(patsubstscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/patsubst. %,$(distortionscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/distortion.)%,$(weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights.))) |
| 8 |
weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights. := $(patsubstscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/patsubst. Neutral,Regular,$(weightsscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/weights.)) |
| 9 |
|
| 10 |
|
| 11 |
EXTRA_WEIGHTSscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/EXTRA_WEIGHTS. := -XBlack -XExtraBold -XExtrabold -XSemiBold -XSemibold -XMedium -XLight -XExtraLight -XThin -XCondensed -XExtraCondensed |
| 12 |
|
| 13 |
SUBSTVARS_PKGSscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/SUBSTVARS_PKGS. := fonts-noto-core fonts-noto-extra fonts-noto-ui-core fonts-noto-ui-extra fonts-noto-unhinted |
| 14 |
|
| 15 |
%scip-debian debian fonts-noto 20201225-6 fonts-noto/rules/`%`().: |
| 16 |
dh $@ |
| 17 |
|
| 18 |
override_dh_bugfilesscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/override_dh_bugfiles().: |
| 19 |
|
| 20 |
dh_bugfilesscip-debian debian debhelper . dh_bugfiles(). --all |
| 21 |
|
| 22 |
override_dh_installscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/override_dh_install().: |
| 23 |
|
| 24 |
find . -path ./debian -prune -o \( \ |
| 25 |
-name "NotoSansSinhala-Regular.ttf" -o \ |
| 26 |
-name "NotoSansSinhala-Bold.ttf" -o \ |
| 27 |
-name "NotoSerifGujarati-Regular.ttf" -o \ |
| 28 |
-name "NotoSerifGujarati-Bold.ttf" \ |
| 29 |
\) -print | xargs -I {} dh_installscip-debian debian debhelper . dh_install(). -pfonts-noto-hinted-udeb {} usr/share/fonts/truetype/noto/ |
| 30 |
|
| 31 |
|
| 32 |
find . -path ./debian -prune -o -type f -name "*.ttf" -print | \ |
| 33 |
grep -E "Noto(Kufi|Looped|Music|Naskh|Nastaliq|Rashi|Sans|Serif|Traditional|Math|Mono|Symbols|TamilSupplement)" | \ |
| 34 |
grep -vE "(UI|VF|Condensed|Semi|Medium|Thin|Black|Light)" | \ |
| 35 |
grep -vE "NotoSansTibetan-(Bold|Regular)\.ttf" | \ |
| 36 |
grep -E "\-(Regular|Bold|Italic|BoldItalic|Slanted|Slanted-Bold)\.ttf$$" | \ |
| 37 |
sort | \ |
| 38 |
xargs -I {} dh_install -pfonts-noto-unhinted-udeb {} usr/share/fonts/truetype/noto/ |
| 39 |
|
| 40 |
|
| 41 |
dh_install -pfonts-noto-mono |
| 42 |
dh_install -pfonts-croscore |
| 43 |
dh_install -pfonts-noto-ui-core -XMono $(EXTRA_WEIGHTS) |
| 44 |
dh_install -pfonts-noto-core -XUI -XMono $(EXTRA_WEIGHTS) |
| 45 |
dh_install -pfonts-noto-extra -XUI |
| 46 |
dh_install -pfonts-noto-ui-extra |
| 47 |
dh_install --remaining-packages |
| 48 |
|
| 49 |
override_dh_gencontrolscip-debian debian fonts-noto 20201225-6 fonts-noto/rules/override_dh_gencontrol().: |
| 50 |
|
| 51 |
for pkg in $$(dh_listpackagesscip-debian debian debhelper . dh_listpackages().); do \ |
| 52 |
if [ -d debian/$$pkg/usr/share/fonts/truetype/noto ]; then \ |
| 53 |
LIST=$$(find debian/$$pkg/usr/share/fonts/truetype/noto -name "*.ttf" | \ |
| 54 |
xargs -r otfinfo -a | cut -d: -f2 | sed 's/^[[:space:]]*//;s/[[:space:]]*$$//' | LC_ALL=C sort -u | \ |
| 55 |
tr '\n' ',' | sed 's/,$$//; s/,/\$${Newline} * /g'); \ |
| 56 |
echo "fonts:familylist= * $$LIST" > debian/$$pkg.substvars; \ |
| 57 |
fi; \ |
| 58 |
done |
| 59 |
dh_gencontrolscip-debian debian debhelper . dh_gencontrol(). -- -Vfonts:scriptcount="103" |