diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-02-02 10:17:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-03 15:56:34 +0000 |
commit | 954a0bf236bf04455b4d4e0daa69fa2fa713a4ae (patch) | |
tree | c5f7d21c4af4b5a9616a729a20e6441850634a52 /meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb | |
parent | cba606f2600824998bf9c4e914046cc9830e0100 (diff) | |
download | poky-954a0bf236bf04455b4d4e0daa69fa2fa713a4ae.tar.gz |
rxvt-unicode: Update to 9.15
(From OE-Core rev: 75789868df9cfc5cb74edfc3fe7d773cfa272ce6)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb')
-rw-r--r-- | meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb new file mode 100644 index 0000000000..2415ba53c4 --- /dev/null +++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.15.bb | |||
@@ -0,0 +1,68 @@ | |||
1 | SECTION = "x11/utils" | ||
2 | DESCRIPTION = "rxvt-unicode is a clone of the well known \ | ||
3 | terminal emulator rxvt, modified to store text in Unicode \ | ||
4 | (either UCS-2 or UCS-4) and to use locale-correct input and \ | ||
5 | output. It also supports mixing multiple fonts at the \ | ||
6 | same time, including Xft fonts." | ||
7 | LICENSE = "GPLv2+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
9 | file://src/main.C;beginline=1;endline=31;md5=775485398a09fa7aee6f90464af88432" | ||
10 | |||
11 | DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf" | ||
12 | |||
13 | PR = "r0" | ||
14 | |||
15 | SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \ | ||
16 | file://xwc.patch \ | ||
17 | file://rxvt.desktop \ | ||
18 | file://rxvt.png" | ||
19 | |||
20 | SRC_URI[md5sum] = "15595aa326167ac5eb68c28d95432faf" | ||
21 | SRC_URI[sha256sum] = "ec1aa2932da844979ed8140bd92223defb12042aa5e877e05ac31139ca81f2b1" | ||
22 | |||
23 | inherit autotools update-alternatives | ||
24 | |||
25 | PROVIDES = "virtual/x-terminal-emulator" | ||
26 | ALTERNATIVE_NAME = "x-terminal-emulator" | ||
27 | ALTERNATIVE_PATH = "${bindir}/rxvt" | ||
28 | |||
29 | CFLAGS_append = " -fpermissive" | ||
30 | |||
31 | # This is necessary so that the "tic" command executed during the install can | ||
32 | # link with the correct libary in staging. | ||
33 | export LD_LIBRARY_PATH = "${STAGING_LIBDIR_NATIVE}" | ||
34 | |||
35 | EXTRA_OECONF = "--enable-menubar --enable-xim \ | ||
36 | --enable-utmp --enable-wtmp --enable-lastlog \ | ||
37 | --disable-strings --with-term=rxvt --enable-keepscrolling \ | ||
38 | --enable-xft --with-name=rxvt --enable-frills \ | ||
39 | --enable-swapscreen --enable-transparency \ | ||
40 | --with-codesets=eu \ | ||
41 | --enable-cursor-blink --enable-pointer-blank \ | ||
42 | --enable-text-blink --enable-rxvt-scroll \ | ||
43 | --enable-combining --enable-shared \ | ||
44 | --enable-xgetdefault \ | ||
45 | --disable-perl \ | ||
46 | --with-x=${STAGING_DIR_HOST}${prefix}" | ||
47 | |||
48 | do_configure_prepend () { | ||
49 | cp aclocal.m4 acinclude.m4 | ||
50 | } | ||
51 | |||
52 | do_compile_prepend () { | ||
53 | echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h | ||
54 | echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h | ||
55 | echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h | ||
56 | echo '#define HAVE_XLOCALE 1' >> config.h | ||
57 | } | ||
58 | |||
59 | do_install_append () { | ||
60 | install -d ${D}/${datadir} | ||
61 | install -d ${D}/${datadir}/applications | ||
62 | install -d ${D}/${datadir}/pixmaps/ | ||
63 | |||
64 | install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps | ||
65 | install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications | ||
66 | } | ||
67 | |||
68 | FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" | ||