diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-core/ncurses | |
parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
download | poky-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.inc | 38 |
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" | |||
5 | LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=5526f2f3a29edc95538b368a4771edda" | 5 | LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=5526f2f3a29edc95538b368a4771edda" |
6 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | DEPENDS = "ncurses-native" | 7 | DEPENDS = "ncurses-native" |
8 | DEPENDS_class-native = "" | 8 | DEPENDS:class-native = "" |
9 | 9 | ||
10 | BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \ | 10 | BINCONFIG = "${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" | |||
32 | BUILD_CPPFLAGS += "-D_GNU_SOURCE" | 32 | BUILD_CPPFLAGS += "-D_GNU_SOURCE" |
33 | 33 | ||
34 | # natives don't generally look in base_libdir | 34 | # natives don't generally look in base_libdir |
35 | base_libdir_class-native = "${libdir}" | 35 | base_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. |
40 | EXCONFIG_ARGS = "" | 40 | EXCONFIG_ARGS = "" |
41 | EXCONFIG_ARGS_class-native = " \ | 41 | EXCONFIG_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'" |
45 | EXCONFIG_ARGS_class-nativesdk = " \ | 45 | EXCONFIG_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. |
57 | EX_TERMCAP = "" | 57 | EX_TERMCAP = "" |
58 | EX_TERMCAP_class-native = ":/etc/termcap:/usr/share/misc/termcap" | 58 | EX_TERMCAP:class-native = ":/etc/termcap:/usr/share/misc/termcap" |
59 | EX_TERMCAP_class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap" | 59 | EX_TERMCAP:class-nativesdk = ":/etc/termcap:/usr/share/misc/termcap" |
60 | EX_TERMINFO = "" | 60 | EX_TERMINFO = "" |
61 | EX_TERMINFO_class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 61 | EX_TERMINFO:class-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
62 | EX_TERMINFO_class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" | 62 | EX_TERMINFO:class-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo" |
63 | EX_TERMLIB ?= "tinfo" | 63 | EX_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 | ||
261 | python populate_packages_prepend () { | 261 | python 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 | ||
273 | ALTERNATIVE_PRIORITY = "100" | 273 | ALTERNATIVE_PRIORITY = "100" |
274 | 274 | ||
275 | ALTERNATIVE_ncurses-tools_class-target = "clear reset" | 275 | ALTERNATIVE:ncurses-tools:class-target = "clear reset" |
276 | ALTERNATIVE_ncurses-terminfo_class-target = "st st-256color" | 276 | ALTERNATIVE:ncurses-terminfo:class-target = "st st-256color" |
277 | 277 | ||
278 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" | 278 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" |
279 | 279 | ||
@@ -287,7 +287,7 @@ PACKAGES += " \ | |||
287 | ${PN}-terminfo \ | 287 | ${PN}-terminfo \ |
288 | " | 288 | " |
289 | 289 | ||
290 | FILES_${PN} = "\ | 290 | FILES:${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 |
302 | FILES_${PN}-tools = "\ | 302 | FILES:${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 |
315 | RDEPENDS_${PN}-tools = "${PN} ${PN}-terminfo-base" | 315 | RDEPENDS:${PN}-tools = "${PN} ${PN}-terminfo-base" |
316 | 316 | ||
317 | FILES_${PN}-terminfo = "\ | 317 | FILES:${PN}-terminfo = "\ |
318 | ${datadir}/terminfo \ | 318 | ${datadir}/terminfo \ |
319 | " | 319 | " |
320 | 320 | ||
321 | FILES_${PN}-terminfo-base = "\ | 321 | FILES:${PN}-terminfo-base = "\ |
322 | ${sysconfdir}/terminfo \ | 322 | ${sysconfdir}/terminfo \ |
323 | " | 323 | " |
324 | 324 | ||
325 | RSUGGESTS_${PN}-libtinfo = "${PN}-terminfo" | 325 | RSUGGESTS:${PN}-libtinfo = "${PN}-terminfo" |
326 | RRECOMMENDS_${PN}-libtinfo = "${PN}-terminfo-base" | 326 | RRECOMMENDS:${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. |
331 | SYSROOT_DIRS_remove = "${datadir}" | 331 | SYSROOT_DIRS:remove = "${datadir}" |