diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-17 14:20:12 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2011-10-18 01:31:11 +0200 |
commit | 7714140fe7fd7411a497f61abfce8c89c8a38cd6 (patch) | |
tree | 488f4c098b2cd37bc183a85e4a0155a099bf60b9 /meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |
parent | 2c5b1efcd1b66912b32ffd47013054c34955d33b (diff) | |
download | meta-openembedded-7714140fe7fd7411a497f61abfce8c89c8a38cd6.tar.gz |
ttf-droid: add LIC_FILES_CHKSUM, switch to github.com
* android.git.kernel.org seems not available
* SRCREV magic didn't work for me with fetch2
* PV changed to get upgradable path
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb')
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb index a23170abd..e0a6c65a2 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |||
@@ -3,18 +3,16 @@ require ttf.inc | |||
3 | DESCRIPTION = "Droid fonts - TTF Edition" | 3 | DESCRIPTION = "Droid fonts - TTF Edition" |
4 | HOMEPAGE = "http://www.droidfonts.com/" | 4 | HOMEPAGE = "http://www.droidfonts.com/" |
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | PR = "r1" | 6 | LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc" |
7 | # git magic below - SRCREV is an ID of /data/fonts subtree | 7 | SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e" |
8 | # (so we don't need to fetch full platform/frameworks/base.git) | 8 | PV = "0.1+gitr${SRCPV}" |
9 | SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5" | ||
10 | PV = "0.0+${PR}+gitr${SRCREV}" | ||
11 | 9 | ||
12 | SRC_URI = "git://android.git.kernel.org/platform/frameworks/base.git;protocol=git;branch=master" | 10 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;protocol=git;branch=master" |
13 | 11 | ||
14 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git/data/fonts" |
15 | 13 | ||
16 | do_install_prepend() { | 14 | do_install_prepend() { |
17 | rm ${S}/Ahem.ttf # we're not packaging it | 15 | rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it |
18 | } | 16 | } |
19 | 17 | ||
20 | PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \ | 18 | PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \ |