2 DEPENDS = "x11 xt libxft"
3 DESCRIPTION = "rxvt-unicode is a clone of the well known \
4 terminal emulator rxvt, modified to store text in Unicode \
5 (either UCS-2 or UCS-4) and to use locale-correct input and \
6 output. It also supports mixing multiple fonts at the \
7 same time, including Xft fonts."
9 SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
10 file://xwc.patch;patch=1 \
11 file://signedchar.patch;patch=1"
13 inherit autotools update-alternatives
15 PROVIDES = "virtual/x-terminal-emulator"
16 ALTERNATIVE_NAME = "x-terminal-emulator"
17 ALTERNATIVE_PATH = "${bindir}/rxvt"
19 CFLAGS_append = " -fpermissive"
21 EXTRA_OECONF = "--enable-menubar --enable-xim \
22 --enable-utmp --enable-wtmp --enable-lastlog \
23 --disable-strings --with-term=rxvt --enable-keepscrolling \
24 --enable-xft --with-name=rxvt --enable-frills \
25 --enable-swapscreen --enable-transparency \
27 --enable-cursor-blink --enable-pointer-blank \
28 --enable-text-blink --enable-plain-scroll \
29 --enable-combining --enable-shared \
30 --enable-xgetdefault \
31 --with-x=${STAGING_LIBDIR}/.."
32 EXTRA_OEMAKE = "'XINC=-I${STAGING_INCDIR}' \
33 'XLIB=-L${STAGING_LIBDIR} -lX11'"
36 mv autoconf/configure.in . || true
37 rm autoconf/libtool.m4
39 autotools_do_configure
40 echo '#define RXVT_UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
41 echo '#define RXVT_WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
42 echo '#define RXVT_LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
43 echo '#define HAVE_XLOCALE 1' >> config.h
47 if test -e ${S}/${HOST_SYS}-libtool; then
48 LIBTOOL=${S}/${HOST_SYS}-libtool
52 # docs need "yodl" and I have no idea what that is
53 oe_runmake -C src "LIBTOOL=$LIBTOOL"