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 | |
| 15 | do_install_prepend() { |
| 16 | rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it |
| 17 | } |
| 18 | |
| 19 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ |
| 20 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 21 | FONT_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
| 22 | |
| 23 | FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" |
| 24 | FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" |
| 25 | FILES_ttf-droid-sans-fallback = "${datadir}/fonts/truetype/DroidSansFallback.ttf" |
| 26 | FILES_ttf-droid-sans-japanese = "${datadir}/fonts/truetype/DroidSansJapanese.ttf" |
| 27 | FILES_ttf-droid-serif = "${datadir}/fonts/truetype/DroidSerif*.ttf" |