uc-debian-emojifont/fontbuild.sh

27 lines
706 B
Bash
Raw Normal View History

2024-07-21 00:25:13 +00:00
#!/bin/bash
cd /
git clone https://github.com/googlefonts/noto-emoji.git noto
cd noto
git checkout v2018-01-02-flag-update
cd /
git clone https://salsa.debian.org/fonts-team/fonts-noto-color-emoji.git debfont
cd debfont
cp /noto/svg/emoji_u1f52b.svg svg/emoji_u1f52b.svg
cp /noto/png/128/emoji_u1f52b.png png/128/emoji_u1f52b.png
rm png/32/emoji_u1f52b.png
rm png/72/emoji_u1f52b.png
rm png/512/emoji_u1f52b.png
rm -rf venv # in case you have an old borked venv!
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python size_check.py
2024-07-21 00:48:34 +00:00
# BYPASS_SEQUENCE_CHECK... necessary why?
#rm -rf build/ && time make -j 48
2024-07-21 00:25:13 +00:00
rm -rf build/ && time make BYPASS_SEQUENCE_CHECK='True' -j 48