summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/ttf-fonts
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-01-31 10:35:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-02-06 09:37:24 +0000
commitbe82ae98ef7a8525a850a1724426a5ff51932775 (patch)
tree54fcb8583d16b75fc2fe3f9cc0ed106f547648b5 /meta/recipes-graphics/ttf-fonts
parente46f33688c011e5e087267a18437316c05b22f14 (diff)
downloadpoky-be82ae98ef7a8525a850a1724426a5ff51932775.tar.gz
liberation-fonts: use the new fontcache.bbclass
This will add the proper postinst/postrm scriptlets. [YOCTO #2599] (From OE-Core rev: 94b53e5f996a09b9f1f73d0f90b65261a76c0cbe) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/ttf-fonts')
-rw-r--r--meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb14
1 files changed, 4 insertions, 10 deletions
diff --git a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
index b0a8242d82..67e36e2a01 100644
--- a/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
+++ b/meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb
@@ -9,10 +9,12 @@ SECTION = "x11/fonts"
9LICENSE = "GPLv2" 9LICENSE = "GPLv2"
10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" 10LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
11RDEPENDS_${PN} = "fontconfig-utils" 11RDEPENDS_${PN} = "fontconfig-utils"
12PR = "r2" 12PR = "r3"
13PE = "1" 13PE = "1"
14 14
15inherit allarch 15inherit allarch fontcache
16
17FONT_PACKAGES = "${PN}"
16 18
17SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ 19SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \
18 file://30-liberation-aliases.conf" 20 file://30-liberation-aliases.conf"
@@ -33,13 +35,5 @@ do_install () {
33 install -m 0644 License.txt ${D}${datadir}/doc/${PN}/ 35 install -m 0644 License.txt ${D}${datadir}/doc/${PN}/
34} 36}
35 37
36pkg_postinst_${PN} () {
37#!/bin/sh
38if [ "x$D" != "x" ] ; then
39 exit 1
40fi
41fc-cache
42}
43
44PACKAGES = "${PN}" 38PACKAGES = "${PN}"
45FILES_${PN} += "${sysconfdir} ${datadir}" 39FILES_${PN} += "${sysconfdir} ${datadir}"