blob: 8dba7ee6fa140530c2f750ef576f34aaf664cbfe [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "Droid fonts - TTF Edition"
4HOMEPAGE = "http://www.droidfonts.com/"
5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc"
7SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e"
8PV = "0.1+gitr${SRCPV}"
9PR = "r3"
10
11SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master"
12
13S = "${WORKDIR}/git/data/fonts"
14
Brad Bishop19323692019-04-05 15:28:33 -040015do_install_append() {
16 for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \
17 Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf \
18 DroidSansFallbackLegacy.ttf; do
19 rm -f ${D}${datadir}/fonts/truetype/$f
20 done
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021}
22
23PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \
24 ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif"
25FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif"
26
27FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf"
28FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf"
29FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf"
30FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf"
31FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf"