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-dejavu_2.23.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-dejavu_2.23.bb')
-rw-r--r-- | meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb index d7b39771f..eead861bc 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.23.bb | |||
@@ -5,14 +5,14 @@ HOMEPAGE = "http://dejavu.sourceforge.net/wiki/" | |||
5 | LICENSE = "Bitstream Vera" | 5 | LICENSE = "Bitstream Vera" |
6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/dejavu-fonts-ttf-${PV}/LICENSE;md5=9f867da7a73fad2715291348e80d0763" | 6 | LIC_FILES_CHKSUM = "file://${WORKDIR}/dejavu-fonts-ttf-${PV}/LICENSE;md5=9f867da7a73fad2715291348e80d0763" |
7 | 7 | ||
8 | # all subpackages except ${PN}-dbg and ${PN}-common itself rdepends on ${PN}-common | 8 | # all subpackages except ${PN}-common itself rdepends on ${PN}-common |
9 | RDEPENDS_${PN}-sans = "${PN}-common" | 9 | RDEPENDS_${PN}-sans = "${PN}-common" |
10 | RDEPENDS_${PN}-sans-mono = "${PN}-common" | 10 | RDEPENDS_${PN}-sans-mono = "${PN}-common" |
11 | RDEPENDS_${PN}-sans-condensed = "${PN}-common" | 11 | RDEPENDS_${PN}-sans-condensed = "${PN}-common" |
12 | RDEPENDS_${PN}-serif = "${PN}-common" | 12 | RDEPENDS_${PN}-serif = "${PN}-common" |
13 | RDEPENDS_${PN}-serif-condensed = "${PN}-common" | 13 | RDEPENDS_${PN}-serif-condensed = "${PN}-common" |
14 | RDEPENDS_${PN}-common = "" | 14 | RDEPENDS_${PN}-common = "" |
15 | PR = "r5" | 15 | PR = "r6" |
16 | 16 | ||
17 | SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ | 17 | SRC_URI = "${SOURCEFORGE_MIRROR}/dejavu/dejavu-fonts-ttf-${PV}.tar.bz2 \ |
18 | file://30-dejavu-aliases.conf" | 18 | file://30-dejavu-aliases.conf" |
@@ -24,14 +24,14 @@ do_install_append () { | |||
24 | install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ | 24 | install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ |
25 | } | 25 | } |
26 | 26 | ||
27 | PACKAGES = "${PN}-dbg \ | 27 | PACKAGES = "\ |
28 | ${PN}-sans \ | 28 | ${PN}-sans \ |
29 | ${PN}-sans-mono \ | 29 | ${PN}-sans-mono \ |
30 | ${PN}-sans-condensed \ | 30 | ${PN}-sans-condensed \ |
31 | ${PN}-serif \ | 31 | ${PN}-serif \ |
32 | ${PN}-serif-condensed \ | 32 | ${PN}-serif-condensed \ |
33 | ${PN}-common" | 33 | ${PN}-common" |
34 | RRECOMMENDS_${PN}-dbg = "" | 34 | UPDATE_FONTS_PACKAGES = "${PN}-sans ${PN}-sans-mono ${PN}-sans-condensed ${PN}-serif ${PN}-serif-condensed" |
35 | 35 | ||
36 | FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" | 36 | FILES_${PN}-sans = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf" |
37 | FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf" | 37 | FILES_${PN}-sans-mono = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf" |