summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-01-13 10:36:50 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-01-16 23:08:24 +0000
commit2e1bdfffdfdd893518825964f8fa9705c0450a43 (patch)
tree946c9a070fa091a64ec0621faf8e6d2394fb0a03 /meta
parent586c5bdfa47f7fcb248c44dd891adc4fda8a3233 (diff)
downloadpoky-2e1bdfffdfdd893518825964f8fa9705c0450a43.tar.gz
rxvt-unicode: Add Upgraded version 9.21
Keep older 9.20 due to newer version being GPLv3 (From OE-Core rev: 16c03661374093c4825dcf1381c2e907b97a483e) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.21.bb65
1 files changed, 65 insertions, 0 deletions
diff --git a/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.21.bb b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.21.bb
new file mode 100644
index 0000000000..239fbeda4d
--- /dev/null
+++ b/meta/recipes-sato/rxvt-unicode/rxvt-unicode_9.21.bb
@@ -0,0 +1,65 @@
1SECTION = "x11/utils"
2SUMMARY = "rxvt terminal clone supporting unicode"
3DESCRIPTION = "rxvt-unicode is a clone of the well known \
4terminal emulator rxvt, modified to store text in Unicode \
5(either UCS-2 or UCS-4) and to use locale-correct input and \
6output. It also supports mixing multiple fonts at the \
7same time, including Xft fonts."
8LICENSE = "GPLv3"
9LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
10 file://src/main.C;beginline=1;endline=31;md5=7dac0395806570856e037f98aba8513b"
11
12DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf"
13
14SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
15 file://xwc.patch \
16 file://rxvt.desktop \
17 file://rxvt.png"
18
19SRC_URI[md5sum] = "a9a06c608258c5fd247c3725d8f44582"
20SRC_URI[sha256sum] = "75270ed72bc5895a64a1d7392bf45a622204192371c3965bd3dd978dc088956b"
21
22inherit autotools update-alternatives
23
24PROVIDES = "virtual/x-terminal-emulator"
25ALTERNATIVE_${PN} = "x-terminal-emulator"
26ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"
27
28CFLAGS_append = " -fpermissive"
29
30EXTRA_OECONF = "--enable-menubar --enable-xim \
31 --enable-utmp --enable-wtmp --enable-lastlog \
32 --disable-strings --with-term=rxvt --enable-keepscrolling \
33 --enable-xft --with-name=rxvt --enable-frills \
34 --enable-swapscreen --enable-transparency \
35 --with-codesets=eu \
36 --enable-cursor-blink --enable-pointer-blank \
37 --enable-text-blink --enable-rxvt-scroll \
38 --enable-combining --enable-shared \
39 --enable-xgetdefault \
40 --disable-perl \
41 --with-x=${STAGING_DIR_HOST}${prefix}"
42
43do_configure_prepend () {
44 if [ ! -e ${S}/acinclude.m4 ]; then
45 cp ${S}/aclocal.m4 ${S}/acinclude.m4
46 fi
47}
48
49do_compile_prepend () {
50 echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
51 echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
52 echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
53 echo '#define HAVE_XLOCALE 1' >> config.h
54}
55
56do_install_append () {
57 install -d ${D}/${datadir}
58 install -d ${D}/${datadir}/applications
59 install -d ${D}/${datadir}/pixmaps/
60
61 install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps
62 install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
63}
64
65FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png"