Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | require ttf.inc |
| 2 | |
| 3 | SUMMARY = "Droid fonts - TTF Edition" |
| 4 | HOMEPAGE = "http://www.droidfonts.com/" |
| 5 | LICENSE = "Apache-2.0" |
| 6 | LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc" |
| 7 | SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e" |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 8 | PV = "0.1+git" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 10 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master;protocol=https" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | |
| 12 | S = "${WORKDIR}/git/data/fonts" |
| 13 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 14 | do_install:append() { |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | 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 Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | } |
| 21 | |
| 22 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ |
| 23 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 24 | FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 25 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | FILES:ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" |
| 27 | FILES:ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" |
| 28 | FILES:ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf" |
| 29 | FILES:ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf" |
| 30 | FILES:ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf" |