Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "Xorg minimal fonts data" |
| 2 | DESCRIPTION = "Minimal fonts required by X.org." |
| 3 | HOMEPAGE = "http://www.x.org" |
| 4 | |
| 5 | SECTION = "x11/fonts" |
| 6 | |
| 7 | LICENSE = "PD" |
| 8 | LIC_FILES_CHKSUM = "file://../misc/fonts.dir;md5=82a143d94d6a974aafe97132d2d519ab \ |
| 9 | file://../misc/cursor.pcf.gz;md5=40bc81001fef4c21ca08df4305014a2a" |
| 10 | |
| 11 | SRC_URI = "file://misc" |
| 12 | |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 13 | SOURCE_DATE_EPOCH = "1613559011" |
| 14 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 15 | PE = "1" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 16 | PR = "r4" |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 17 | |
Brad Bishop | 6dbb316 | 2019-11-25 09:41:34 -0500 | [diff] [blame] | 18 | inherit allarch features_check |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 19 | |
| 20 | # The font-alias requires x11 in DISTRO_FEATURES |
| 21 | REQUIRED_DISTRO_FEATURES = "x11" |
| 22 | |
| 23 | S = "${WORKDIR}/misc" |
| 24 | |
| 25 | PACKAGES = "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 26 | FILES:${PN} = "${libdir}/X11/ ${datadir}/fonts/X11/" |
| 27 | RDEPENDS:${PN} += "font-alias" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 28 | |
| 29 | do_install() { |
| 30 | install -d ${D}/${datadir}/fonts/X11/misc |
| 31 | install -m 0644 ${S}/* ${D}/${datadir}/fonts/X11/misc/ |
Andrew Geissler | 9b4d8b0 | 2021-02-19 12:26:16 -0600 | [diff] [blame] | 32 | # Pick a date/time as otherwise it would be the git checkout/modify time |
| 33 | touch -d @1613559011 ${D}/${datadir}/fonts/X11/misc/* |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 34 | install -d ${D}/${libdir}/X11 |
| 35 | ln -sf ${datadir}/fonts/X11/ ${D}/${libdir}/X11/fonts -s |
| 36 | } |