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" |
| 8 | PV = "0.1+gitr${SRCPV}" |
| 9 | PR = "r3" |
| 10 | |
| 11 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;branch=master" |
| 12 | |
| 13 | S = "${WORKDIR}/git/data/fonts" |
| 14 | |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 15 | do_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 Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ |
| 24 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 25 | FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 26 | |
| 27 | FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" |
| 28 | FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" |
| 29 | FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf" |
| 30 | FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf" |
| 31 | FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf" |