blob: 88f534ccf7d44111d232bb707dd1a09bf46b1c5f [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Xorg minimal fonts data"
2DESCRIPTION = "Minimal fonts required by X.org."
3HOMEPAGE = "http://www.x.org"
4
5SECTION = "x11/fonts"
6
7LICENSE = "PD"
8LIC_FILES_CHKSUM = "file://../misc/fonts.dir;md5=82a143d94d6a974aafe97132d2d519ab \
9 file://../misc/cursor.pcf.gz;md5=40bc81001fef4c21ca08df4305014a2a"
10
11SRC_URI = "file://misc"
12
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060013SOURCE_DATE_EPOCH = "1613559011"
14
Patrick Williamsc124f4f2015-09-15 14:41:29 -050015PE = "1"
Andrew Geissler90fd73c2021-03-05 15:25:55 -060016PR = "r4"
17# remove at next version upgrade or when output changes
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060018HASHEQUIV_HASH_VERSION .= ".1"
19
Brad Bishop6dbb3162019-11-25 09:41:34 -050020inherit allarch features_check
Patrick Williamsc124f4f2015-09-15 14:41:29 -050021
22# The font-alias requires x11 in DISTRO_FEATURES
23REQUIRED_DISTRO_FEATURES = "x11"
24
25S = "${WORKDIR}/misc"
26
27PACKAGES = "${PN}"
Patrick Williams213cb262021-08-07 19:21:33 -050028FILES:${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/"
29RDEPENDS:${PN} += "font-alias"
Patrick Williamsc124f4f2015-09-15 14:41:29 -050030
31do_install() {
32 install -d ${D}/${datadir}/fonts/X11/misc
33 install -m 0644 ${S}/* ${D}/${datadir}/fonts/X11/misc/
Andrew Geissler9b4d8b02021-02-19 12:26:16 -060034 # Pick a date/time as otherwise it would be the git checkout/modify time
35 touch -d @1613559011 ${D}/${datadir}/fonts/X11/misc/*
Patrick Williamsc124f4f2015-09-15 14:41:29 -050036 install -d ${D}/${libdir}/X11
37 ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s
38}