2010-11-19 20:37:01 +00:00
|
|
|
SUMMARY = "Liberation(tm) Fonts"
|
2011-02-02 14:43:42 +00:00
|
|
|
DESCRIPTION = "The Liberation(tm) Fonts is a font family originally \
|
|
|
|
created by Ascender(c) which aims at metric compatibility with \
|
|
|
|
Arial, Times New Roman, Courier New."
|
2010-07-02 12:59:32 +00:00
|
|
|
HOMEPAGE = "https://fedorahosted.org/liberation-fonts/"
|
|
|
|
BUGTRACKER = "https://bugzilla.redhat.com/"
|
|
|
|
|
2007-06-26 09:54:36 +00:00
|
|
|
SECTION = "x11/fonts"
|
|
|
|
PRIORITY = "optional"
|
|
|
|
LICENSE = "GPLv2"
|
2010-11-23 06:07:08 +00:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
2007-06-26 09:54:36 +00:00
|
|
|
PACKAGE_ARCH = "all"
|
|
|
|
RDEPENDS = "fontconfig-utils"
|
2008-08-08 07:42:45 +00:00
|
|
|
PE = "1"
|
2007-06-26 09:54:36 +00:00
|
|
|
|
2008-08-08 07:42:45 +00:00
|
|
|
SRC_URI = "https://fedorahosted.org/releases/l/i/liberation-fonts/liberation-fonts-${PV}.tar.gz \
|
2007-06-26 09:54:36 +00:00
|
|
|
file://30-liberation-aliases.conf"
|
|
|
|
|
2010-12-08 04:06:29 +00:00
|
|
|
SRC_URI[md5sum] = "4846797ef0fc70b0cbaede2514677c58"
|
|
|
|
SRC_URI[sha256sum] = "0e0d0957c85b758561a3d4aef4ebcd2c39959e5328429d96ae106249d83531a1"
|
|
|
|
|
2010-07-02 12:59:32 +00:00
|
|
|
do_install () {
|
|
|
|
install -d ${D}${datadir}/fonts/ttf/
|
|
|
|
for i in *.ttf; do
|
|
|
|
install -m 0644 $i ${D}${prefix}/share/fonts/ttf/${i}
|
|
|
|
done
|
2007-06-26 09:54:36 +00:00
|
|
|
|
|
|
|
install -d ${D}${sysconfdir}/fonts/conf.d/
|
|
|
|
install -m 0644 ${WORKDIR}/30-liberation-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
|
|
|
|
|
2010-07-02 12:59:32 +00:00
|
|
|
install -d ${D}${prefix}/share/doc/${PN}/
|
2007-06-26 09:54:36 +00:00
|
|
|
install -m 0644 License.txt ${D}${datadir}/doc/${PN}/
|
2010-07-02 12:59:32 +00:00
|
|
|
}
|
2007-06-26 09:54:36 +00:00
|
|
|
|
2011-02-10 00:13:50 +00:00
|
|
|
pkg_postinst_${PN} () {
|
2007-06-26 09:54:36 +00:00
|
|
|
#!/bin/sh
|
2011-04-27 22:56:59 +00:00
|
|
|
if [ "x$D" != "x" ] ; then
|
|
|
|
exit 1
|
|
|
|
fi
|
2007-06-26 09:54:36 +00:00
|
|
|
fc-cache
|
|
|
|
}
|
|
|
|
|
|
|
|
PACKAGES = "${PN}"
|
|
|
|
FILES_${PN} += "${sysconfdir} ${datadir}"
|