summaryrefslogtreecommitdiff
path: root/meta
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:35:03 +0000
commit94b53e5f996a09b9f1f73d0f90b65261a76c0cbe (patch)
treec79b8c72bfb030b9a43fec73fdfaea0715fa4fcc /meta
parentb675e9917b0a1e774c95ee7a946f515c5a996b59 (diff)
downloadopenembedded-core-94b53e5f996a09b9f1f73d0f90b65261a76c0cbe.tar.gz
openembedded-core-94b53e5f996a09b9f1f73d0f90b65261a76c0cbe.tar.bz2
openembedded-core-94b53e5f996a09b9f1f73d0f90b65261a76c0cbe.zip
liberation-fonts: use the new fontcache.bbclass
This will add the proper postinst/postrm scriptlets. [YOCTO #2599] Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta')
-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"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
RDEPENDS_${PN} = "fontconfig-utils"
-PR = "r2"
+PR = "r3"
PE = "1"
-inherit allarch
+inherit allarch fontcache
+
+FONT_PACKAGES = "${PN}"
SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \
file://30-liberation-aliases.conf"
@@ -33,13 +35,5 @@ do_install () {
install -m 0644 License.txt ${D}${datadir}/doc/${PN}/
}
-pkg_postinst_${PN} () {
-#!/bin/sh
-if [ "x$D" != "x" ] ; then
- exit 1
-fi
-fc-cache
-}
-
PACKAGES = "${PN}"
FILES_${PN} += "${sysconfdir} ${datadir}"