blob: cc9213ec5b6f3971e4db03a2d95b5aa98a2a21e5 [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"
Patrick Williams73bd93f2024-02-20 08:07:48 -06008PV = "0.1+git"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05009
Andrew Geissler595f6302022-01-24 19:11:47 +000010SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011
12S = "${WORKDIR}/git/data/fonts"
13
Patrick Williams213cb262021-08-07 19:21:33 -050014do_install:append() {
Brad Bishop19323692019-04-05 15:28:33 -040015 for f in Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf \
16 Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf \
17 DroidSansFallbackLegacy.ttf; do
18 rm -f ${D}${datadir}/fonts/truetype/$f
19 done
Patrick Williamsb48b7b42016-08-17 15:04:38 -050020}
21
22PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \
23 ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif"
24FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif"
25
Patrick Williams213cb262021-08-07 19:21:33 -050026FILES:ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf"
27FILES:ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf"
28FILES:ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf"
29FILES:ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf"
30FILES:ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf"