From 61911b23099c2658186179504ded318c987b5276 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Mon, 4 Feb 2013 18:05:04 +0100 Subject: 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 --- meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb') diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb index 3c49e2483..1e21e1476 100644 --- a/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb +++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-gentium_1.02.bb @@ -6,7 +6,7 @@ LICENSE = "OFL" LICENSE_URL = "http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&item_id=OFL" LIC_FILES_CHKSUM = "file://OFL;md5=33a5bf7b98a9c0ae87430760ba762295 \ " -PR = "r6" +PR = "r7" SRC_URI = "${DEBIAN_MIRROR}/main/t/ttf-gentium/ttf-gentium_${PV}.orig.tar.gz " @@ -22,15 +22,16 @@ do_install_append() { } -PACKAGES = "${PN}-dbg ${PN} ${PN}-alt" +PACKAGES = "${PN} ${PN}-alt" +UPDATE_FONTS_PACKAGES = "${PN} ${PN}-alt" -FILES_ttf-gentium-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ - ${datadir}/fonts/truetype/GenAR*.ttf \ - ${datadir}/doc/ttf-gentium-alt/*" +FILES_${PN}-alt = "${datadir}/fonts/truetype/GenAI*.ttf \ + ${datadir}/fonts/truetype/GenAR*.ttf \ + ${datadir}/doc/ttf-gentium-alt/*" FILES_${PN} = "${datadir}/fonts/truetype/GenI*.ttf \ ${datadir}/fonts/truetype/GenR*.ttf \ - ${datadir}/doc/ttf-gentium/*" + ${datadir}/doc/ttf-gentium/*" SRC_URI[md5sum] = "4c3e6ae586be277537ebb68f2a45b883" SRC_URI[sha256sum] = "4746c04c9a4ad9e0788a38e0a2f81919a630d8070ceabc89f156b6d41d8ceb37" -- cgit v1.2.3-54-g00ecf