Patchwork [meta-oe,meta-efl,meta-gnome,05/10] ttf-droid: add LIC_FILES_CHKSUM, switch to github.com

login
register
mail settings
Submitter Martin Jansa
Date Oct. 17, 2011, 11:35 p.m.
Message ID <7714140fe7fd7411a497f61abfce8c89c8a38cd6.1318894479.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/13385/
State Accepted
Commit 7714140fe7fd7411a497f61abfce8c89c8a38cd6
Headers show

Comments

Martin Jansa - Oct. 17, 2011, 11:35 p.m.
* 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>
---
 .../recipes-graphics/ttf-fonts/ttf-droid_git.bb    |   14 ++++++--------
 1 files changed, 6 insertions(+), 8 deletions(-)

Patch

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 a23170a..e0a6c65 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
 DESCRIPTION = "Droid fonts - TTF Edition"
 HOMEPAGE = "http://www.droidfonts.com/"
 LICENSE = "Apache-2.0"
-PR = "r1"
-# git magic below - SRCREV is an ID of /data/fonts subtree
-# (so we don't need to fetch full platform/frameworks/base.git)
-SRCREV = "31f255e44e618ff3b923f332e8fcb83403fd39f5"
-PV = "0.0+${PR}+gitr${SRCREV}"
+LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc"
+SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e"
+PV = "0.1+gitr${SRCPV}"
 
-SRC_URI = "git://android.git.kernel.org/platform/frameworks/base.git;protocol=git;branch=master"
+SRC_URI = "git://github.com/android/platform_frameworks_base.git;protocol=git;branch=master"
 
-S = "${WORKDIR}/git"
+S = "${WORKDIR}/git/data/fonts"
 
 do_install_prepend() {
-	rm ${S}/Ahem.ttf # we're not packaging it
+	rm ${S}/Ahem.ttf MTLc3m.ttf DroidSansArabic.ttf DroidSansThai.ttf Clockopia.ttf MTLmr3m.ttf DroidSansHebrew.ttf DroidSansFallbackLegacy.ttf # we're not packaging it
 }
 
 PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \