summaryrefslogtreecommitdiffstats
path: root/recipes-sato/rxvt-unicode/rxvt-unicode.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-29 23:59:42 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-30 00:02:10 +0100
commit80747190ccce6628ce8815cf856f6ab867a00b5d (patch)
tree07be151fe85a5cf4207b8606fbe566e339e105e5 /recipes-sato/rxvt-unicode/rxvt-unicode.inc
parent27eafbb395fd4f607249b2e57085012e40283926 (diff)
downloadmeta-gplv2-80747190ccce6628ce8815cf856f6ab867a00b5d.tar.gz
meta-gplv2: Convert to new override syntax
This converts the layer to the new override syntax. This was done using <oe-core>/scripts/contrib/convert-overrides.py <this-layer> with no manual fixes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-sato/rxvt-unicode/rxvt-unicode.inc')
-rw-r--r--recipes-sato/rxvt-unicode/rxvt-unicode.inc12
1 files changed, 6 insertions, 6 deletions
diff --git a/recipes-sato/rxvt-unicode/rxvt-unicode.inc b/recipes-sato/rxvt-unicode/rxvt-unicode.inc
index b568f04..4da2596 100644
--- a/recipes-sato/rxvt-unicode/rxvt-unicode.inc
+++ b/recipes-sato/rxvt-unicode/rxvt-unicode.inc
@@ -15,10 +15,10 @@ SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2
15inherit autotools pkgconfig update-alternatives 15inherit autotools pkgconfig update-alternatives
16 16
17PROVIDES = "virtual/x-terminal-emulator" 17PROVIDES = "virtual/x-terminal-emulator"
18ALTERNATIVE_${PN} = "x-terminal-emulator" 18ALTERNATIVE:${PN} = "x-terminal-emulator"
19ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt" 19ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"
20 20
21CFLAGS_append = " -fpermissive" 21CFLAGS:append = " -fpermissive"
22 22
23EXTRA_OECONF = "--enable-xim \ 23EXTRA_OECONF = "--enable-xim \
24 --enable-utmp --enable-wtmp --enable-lastlog \ 24 --enable-utmp --enable-wtmp --enable-lastlog \
@@ -33,20 +33,20 @@ EXTRA_OECONF = "--enable-xim \
33PACKAGECONFIG ??= "" 33PACKAGECONFIG ??= ""
34PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification," 34PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification,"
35 35
36do_configure_prepend () { 36do_configure:prepend () {
37 if [ ! -e ${S}/acinclude.m4 ]; then 37 if [ ! -e ${S}/acinclude.m4 ]; then
38 cp ${S}/aclocal.m4 ${S}/acinclude.m4 38 cp ${S}/aclocal.m4 ${S}/acinclude.m4
39 fi 39 fi
40} 40}
41 41
42do_compile_prepend () { 42do_compile:prepend () {
43 echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h 43 echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
44 echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h 44 echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
45 echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h 45 echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
46 echo '#define HAVE_XLOCALE 1' >> config.h 46 echo '#define HAVE_XLOCALE 1' >> config.h
47} 47}
48 48
49do_install_append () { 49do_install:append () {
50 install -d ${D}/${datadir} 50 install -d ${D}/${datadir}
51 install -d ${D}/${datadir}/applications 51 install -d ${D}/${datadir}/applications
52 install -d ${D}/${datadir}/pixmaps/ 52 install -d ${D}/${datadir}/pixmaps/
@@ -55,4 +55,4 @@ do_install_append () {
55 install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications 55 install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
56} 56}
57 57
58FILES_${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png" 58FILES:${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png"