diff options
-rw-r--r-- | meta/recipes-graphics/ttf-fonts/liberation-fonts_1.04.bb | 14 |
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" | |||
9 | LICENSE = "GPLv2" | 9 | LICENSE = "GPLv2" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
11 | RDEPENDS_${PN} = "fontconfig-utils" | 11 | RDEPENDS_${PN} = "fontconfig-utils" |
12 | PR = "r2" | 12 | PR = "r3" |
13 | PE = "1" | 13 | PE = "1" |
14 | 14 | ||
15 | inherit allarch | 15 | inherit allarch fontcache |
16 | |||
17 | FONT_PACKAGES = "${PN}" | ||
16 | 18 | ||
17 | SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \ | 19 | SRC_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 | ||
36 | pkg_postinst_${PN} () { | ||
37 | #!/bin/sh | ||
38 | if [ "x$D" != "x" ] ; then | ||
39 | exit 1 | ||
40 | fi | ||
41 | fc-cache | ||
42 | } | ||
43 | |||
44 | PACKAGES = "${PN}" | 38 | PACKAGES = "${PN}" |
45 | FILES_${PN} += "${sysconfdir} ${datadir}" | 39 | FILES_${PN} += "${sysconfdir} ${datadir}" |