summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/ncurses
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc38
1 files changed, 19 insertions, 19 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index ef59bc3b0a..cbb12ca275 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -5,7 +5,7 @@ LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=5526f2f3a29edc95538b368a4771edda" 5LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=5526f2f3a29edc95538b368a4771edda"
6SECTION = "libs" 6SECTION = "libs"
7DEPENDS = "ncurses-native" 7DEPENDS = "ncurses-native"
8DEPENDS_class-native = "" 8DEPENDS:class-native = ""
9 9
10BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ 10BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \
11 ${bindir}/ncurses6-config ${bindir}/ncursesw6-config" 11 ${bindir}/ncurses6-config ${bindir}/ncursesw6-config"
@@ -32,17 +32,17 @@ ENABLE_WIDEC ?= "true"
32BUILD_CPPFLAGS += "-D_GNU_SOURCE" 32BUILD_CPPFLAGS += "-D_GNU_SOURCE"
33 33
34# natives don't generally look in base_libdir 34# natives don't generally look in base_libdir
35base_libdir_class-native = "${libdir}" 35base_libdir:class-native = "${libdir}"
36 36
37# Display corruption occurs on 64 bit hosts without these settings 37# Display corruption occurs on 64 bit hosts without these settings
38# This was derrived from the upstream debian ncurses which uses 38# This was derrived from the upstream debian ncurses which uses
39# these settings for 32 and 64 bit hosts. 39# these settings for 32 and 64 bit hosts.
40EXCONFIG_ARGS = "" 40EXCONFIG_ARGS = ""
41EXCONFIG_ARGS_class-native = " \ 41EXCONFIG_ARGS:class-native = " \
42 --disable-lp64 \ 42 --disable-lp64 \
43 --with-chtype='long' \ 43 --with-chtype='long' \
44 --with-mmask-t='long'" 44 --with-mmask-t='long'"
45EXCONFIG_ARGS_class-nativesdk = " \ 45EXCONFIG_ARGS:class-nativesdk = " \
46 --disable-lp64 \ 46 --disable-lp64 \
47 --with-chtype='long' \ 47 --with-chtype='long' \
48 --with-mmask-t='long'" 48 --with-mmask-t='long'"
@@ -55,11 +55,11 @@ PACKAGES_DYNAMIC = "^${PN}-lib.*"
55# because the sstate had a hard coded search path. Until this is fixed 55# because the sstate had a hard coded search path. Until this is fixed
56# another way this is deemed good enough. 56# another way this is deemed good enough.
57EX_TERMCAP = "" 57EX_TERMCAP = ""
58EX_TERMCAP_class-native = ":/etc/termcap:/usr/share/misc/termcap" 58EX_TERMCAP:class-native = ":/etc/termcap:/usr/share/misc/termcap"
59EX_TERMCAP_class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap" 59EX_TERMCAP:class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
60EX_TERMINFO = "" 60EX_TERMINFO = ""
61EX_TERMINFO_class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" 61EX_TERMINFO:class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
62EX_TERMINFO_class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" 62EX_TERMINFO:class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
63EX_TERMLIB ?= "tinfo" 63EX_TERMLIB ?= "tinfo"
64 64
65# Helper function for do_configure to allow multiple configurations 65# Helper function for do_configure to allow multiple configurations
@@ -258,7 +258,7 @@ do_install() {
258 oe_multilib_header curses.h 258 oe_multilib_header curses.h
259} 259}
260 260
261python populate_packages_prepend () { 261python populate_packages:prepend () {
262 libdir = d.expand("${libdir}") 262 libdir = d.expand("${libdir}")
263 base_libdir = d.expand("${base_libdir}") 263 base_libdir = d.expand("${base_libdir}")
264 pnbase = d.expand("${PN}-lib%s") 264 pnbase = d.expand("${PN}-lib%s")
@@ -272,8 +272,8 @@ inherit update-alternatives
272 272
273ALTERNATIVE_PRIORITY = "100" 273ALTERNATIVE_PRIORITY = "100"
274 274
275ALTERNATIVE_ncurses-tools_class-target = "clear reset" 275ALTERNATIVE:ncurses-tools:class-target = "clear reset"
276ALTERNATIVE_ncurses-terminfo_class-target = "st st-256color" 276ALTERNATIVE:ncurses-terminfo:class-target = "st st-256color"
277 277
278ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" 278ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
279 279
@@ -287,7 +287,7 @@ PACKAGES += " \
287 ${PN}-terminfo \ 287 ${PN}-terminfo \
288" 288"
289 289
290FILES_${PN} = "\ 290FILES:${PN} = "\
291 ${bindir}/tput \ 291 ${bindir}/tput \
292 ${bindir}/tset \ 292 ${bindir}/tset \
293 ${bindir}/ncurses5-config \ 293 ${bindir}/ncurses5-config \
@@ -299,7 +299,7 @@ FILES_${PN} = "\
299 299
300# This keeps only tput/tset in ncurses 300# This keeps only tput/tset in ncurses
301# clear/reset are in already busybox 301# clear/reset are in already busybox
302FILES_${PN}-tools = "\ 302FILES:${PN}-tools = "\
303 ${bindir}/tic \ 303 ${bindir}/tic \
304 ${bindir}/toe \ 304 ${bindir}/toe \
305 ${bindir}/infotocap \ 305 ${bindir}/infotocap \
@@ -312,20 +312,20 @@ FILES_${PN}-tools = "\
312" 312"
313 313
314# 'reset' is a symlink to 'tset' which is in the 'ncurses' package 314# 'reset' is a symlink to 'tset' which is in the 'ncurses' package
315RDEPENDS_${PN}-tools = "${PN} ${PN}-terminfo-base" 315RDEPENDS:${PN}-tools = "${PN} ${PN}-terminfo-base"
316 316
317FILES_${PN}-terminfo = "\ 317FILES:${PN}-terminfo = "\
318 ${datadir}/terminfo \ 318 ${datadir}/terminfo \
319" 319"
320 320
321FILES_${PN}-terminfo-base = "\ 321FILES:${PN}-terminfo-base = "\
322 ${sysconfdir}/terminfo \ 322 ${sysconfdir}/terminfo \
323" 323"
324 324
325RSUGGESTS_${PN}-libtinfo = "${PN}-terminfo" 325RSUGGESTS:${PN}-libtinfo = "${PN}-terminfo"
326RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base" 326RRECOMMENDS:${PN}-libtinfo = "${PN}-terminfo-base"
327 327
328# Putting terminfo into the sysroot adds around 2800 files to 328# Putting terminfo into the sysroot adds around 2800 files to
329# each recipe specific sysroot. We can live without this, particularly 329# each recipe specific sysroot. We can live without this, particularly
330# as many recipes may have native and target copies. 330# as many recipes may have native and target copies.
331SYSROOT_DIRS_remove = "${datadir}" 331SYSROOT_DIRS:remove = "${datadir}"