summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/xorg-app/xterm_367.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/xorg-app/xterm_367.bb')
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm_367.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_367.bb b/meta-oe/recipes-graphics/xorg-app/xterm_367.bb
new file mode 100644
index 0000000000..e0d3dcec13
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_367.bb
@@ -0,0 +1,48 @@
1require recipes-graphics/xorg-app/xorg-app-common.inc
2SUMMARY = "xterm is the standard terminal emulator for the X Window System"
3DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native"
4
5LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=987de9787175385203a1ea2482246a17"
6
7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
8 file://0001-Add-configure-time-check-for-setsid.patch \
9 "
10
11SRC_URI[sha256sum] = "27f1a8b1c756e269fd5684e60802b545f0be9b36b8b5d6bdbc840c6b000dc51f"
12
13PACKAGECONFIG ?= ""
14PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"
15
16# Let xterm install .desktop files
17inherit mime-xdg
18
19EXTRA_OECONF = " --x-includes=${STAGING_INCDIR} \
20 --x-libraries=${STAGING_LIBDIR} \
21 FREETYPE_CONFIG=${STAGING_BINDIR_CROSS}/freetype-config \
22 --disable-imake \
23 --disable-rpath-hack \
24 --disable-setuid \
25 --with-app-defaults=${datadir}/X11/app-defaults \
26 "
27
28B = "${S}"
29
30do_configure() {
31 gnu-configize --force
32 sed -e "s%/usr/contrib/X11R6%${STAGING_LIBDIR}%g" -i configure
33 oe_runconf
34}
35
36do_install_append() {
37 oe_runmake install-desktop DESTDIR="${D}" DESKTOP_FLAGS="--dir=${D}${DESKTOPDIR}"
38}
39
40RPROVIDES_${PN} = "virtual/x-terminal-emulator"
41
42# busybox can supply resize too
43inherit update-alternatives
44
45ALTERNATIVE_${PN} = "resize x-terminal-emulator"
46ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/xterm"
47# rxvt-unicode defaults to priority 10. Let's be one point lower to let it override xterm.
48ALTERNATIVE_PRIORITY[x-terminal-emulator] = "9"