diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-04 18:05:04 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-06 15:16:01 +0100 |
commit | 61911b23099c2658186179504ded318c987b5276 (patch) | |
tree | aa06906b8a9f0e08253b560fd519a6f03f233d80 /meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |
parent | 4128325a4c87bcde6ac6ffe5dbf5d6d057ee4804 (diff) | |
download | meta-openembedded-61911b23099c2658186179504ded318c987b5276.tar.gz |
ttf: introduce update-fonts bbclass and change all ttf recipes to use it
* without this ttf.inc had to set RRECOMMENDS and
postinst/postrm without PN suffix to cover all
subpackages created in ttf recipes
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 | 6 |
1 files changed, 3 insertions, 3 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 2c3bf2e9a..1a04a5fb3 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-droid_git.bb | |||
@@ -6,7 +6,7 @@ LICENSE = "Apache-2.0" | |||
6 | LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc" | 6 | LIC_FILES_CHKSUM = "file://README.txt;md5=83544262a86f1f1ec761e75897df92bc" |
7 | SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e" | 7 | SRCREV = "21e6e2de1f0062f949fcc52d0b4559dfa3246e0e" |
8 | PV = "0.1+gitr${SRCPV}" | 8 | PV = "0.1+gitr${SRCPV}" |
9 | PR = "r1" | 9 | PR = "r2" |
10 | 10 | ||
11 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;protocol=git;branch=master" | 11 | SRC_URI = "git://github.com/android/platform_frameworks_base.git;protocol=git;branch=master" |
12 | 12 | ||
@@ -16,9 +16,9 @@ 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 | 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 | } | 17 | } |
18 | 18 | ||
19 | PACKAGES = "${PN}-dbg ttf-droid-sans ttf-droid-sans-mono \ | 19 | PACKAGES = "ttf-droid-sans ttf-droid-sans-mono \ |
20 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" | 20 | ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
21 | RRECOMMENDS_${PN}-dbg = "" | 21 | UPDATE_FONTS_PACKAGES = "ttf-droid-sans ttf-droid-sans-mono ttf-droid-sans-fallback ttf-droid-sans-japanese ttf-droid-serif" |
22 | 22 | ||
23 | FILES_ttf-droid-sans = "${datadir}/fonts/truetype/DroidSans.ttf ${datadir}/fonts/truetype/DroidSans-Bold.ttf" | 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" | 24 | FILES_ttf-droid-sans-mono = "${datadir}/fonts/truetype/DroidSansMono.ttf" |