Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | require recipes-graphics/xorg-app/xorg-app-common.inc |
| 2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 4 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=c7faceb872d90115e7c0ad90e90c390d" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 6 | |
| 7 | SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz" |
| 8 | |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 9 | SRC_URI[md5sum] = "05340ef6eabb96826953346c64b35225" |
| 10 | SRC_URI[sha256sum] = "8b1f5121dbf3690de9d85a3b9329e3357021705dd7c21da192e47542769275be" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | PACKAGECONFIG ?= "" |
| 12 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" |
| 13 | |
| 14 | EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} \ |
| 15 | --x-libraries=${STAGING_LIBDIR} \ |
| 16 | FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \ |
| 17 | --disable-imake \ |
| 18 | --disable-rpath-hack \ |
Brad Bishop | 26bdd44 | 2019-08-16 17:08:17 -0400 | [diff] [blame] | 19 | --disable-setuid \ |
| 20 | --with-app-defaults=${datadir}/X11/app-defaults \ |
| 21 | " |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 22 | |
| 23 | B = "${S}" |
| 24 | |
| 25 | do_configure() { |
| 26 | gnu-configize --force |
| 27 | sed -e "s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g" -i configure |
| 28 | oe_runconf |
| 29 | } |
| 30 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 31 | # busybox can supply resize too |
| 32 | inherit update-alternatives |
| 33 | |
| 34 | ALTERNATIVE_${PN} = "resize" |