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/gettext | |
| 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/gettext')
| -rw-r--r-- | meta/recipes-core/gettext/gettext_0.21.bb | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.21.bb b/meta/recipes-core/gettext/gettext_0.21.bb index b86e8d8381..4247b487ab 100644 --- a/meta/recipes-core/gettext/gettext_0.21.bb +++ b/meta/recipes-core/gettext/gettext_0.21.bb | |||
| @@ -9,10 +9,10 @@ LICENSE = "GPLv3+ & LGPL-2.1+" | |||
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" |
| 10 | 10 | ||
| 11 | DEPENDS = "gettext-native virtual/libiconv" | 11 | DEPENDS = "gettext-native virtual/libiconv" |
| 12 | DEPENDS_class-native = "gettext-minimal-native" | 12 | DEPENDS:class-native = "gettext-minimal-native" |
| 13 | PROVIDES = "virtual/libintl virtual/gettext" | 13 | PROVIDES = "virtual/libintl virtual/gettext" |
| 14 | PROVIDES_class-native = "virtual/gettext-native" | 14 | PROVIDES:class-native = "virtual/gettext-native" |
| 15 | RCONFLICTS_${PN} = "proxy-libintl" | 15 | RCONFLICTS:${PN} = "proxy-libintl" |
| 16 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ | 16 | SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ |
| 17 | file://parallel.patch \ | 17 | file://parallel.patch \ |
| 18 | file://use-pkgconfig.patch \ | 18 | file://use-pkgconfig.patch \ |
| @@ -39,7 +39,7 @@ EXTRA_OECONF += "--without-lispdir \ | |||
| 39 | --without-git \ | 39 | --without-git \ |
| 40 | --cache-file=${B}/config.cache \ | 40 | --cache-file=${B}/config.cache \ |
| 41 | " | 41 | " |
| 42 | EXTRA_OECONF_append_class-target = " \ | 42 | EXTRA_OECONF:append:class-target = " \ |
| 43 | --with-bisonlocaledir=${datadir}/locale \ | 43 | --with-bisonlocaledir=${datadir}/locale \ |
| 44 | gt_cv_locale_fr_utf8=fr_FR \ | 44 | gt_cv_locale_fr_utf8=fr_FR \ |
| 45 | gt_cv_locale_fr=fr_FR.ISO-8859-1 \ | 45 | gt_cv_locale_fr=fr_FR.ISO-8859-1 \ |
| @@ -48,8 +48,8 @@ EXTRA_OECONF_append_class-target = " \ | |||
| 48 | " | 48 | " |
| 49 | 49 | ||
| 50 | PACKAGECONFIG ??= "croco glib libxml" | 50 | PACKAGECONFIG ??= "croco glib libxml" |
| 51 | PACKAGECONFIG_class-native = "" | 51 | PACKAGECONFIG:class-native = "" |
| 52 | PACKAGECONFIG_class-nativesdk = "" | 52 | PACKAGECONFIG:class-nativesdk = "" |
| 53 | 53 | ||
| 54 | PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco" | 54 | PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco" |
| 55 | PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0" | 55 | PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0" |
| @@ -62,7 +62,7 @@ PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,-- | |||
| 62 | acpaths = '-I ${S}/gettext-runtime/m4 \ | 62 | acpaths = '-I ${S}/gettext-runtime/m4 \ |
| 63 | -I ${S}/gettext-tools/m4' | 63 | -I ${S}/gettext-tools/m4' |
| 64 | 64 | ||
| 65 | do_install_append_libc-musl () { | 65 | do_install:append:libc-musl () { |
| 66 | rm -f ${D}${libdir}/charset.alias | 66 | rm -f ${D}${libdir}/charset.alias |
| 67 | rm -f ${D}${includedir}/libintl.h | 67 | rm -f ${D}${includedir}/libintl.h |
| 68 | rm -f ${D}${libdir}/libintl.la | 68 | rm -f ${D}${libdir}/libintl.la |
| @@ -79,29 +79,29 @@ do_install_append_libc-musl () { | |||
| 79 | # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk | 79 | # 4 KiB /ep93xx/libgcc-s-dev_4.2.2-r2_ep93xx.ipk |
| 80 | 80 | ||
| 81 | PACKAGES =+ "libgettextlib libgettextsrc" | 81 | PACKAGES =+ "libgettextlib libgettextsrc" |
| 82 | FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" | 82 | FILES:libgettextlib = "${libdir}/libgettextlib-*.so*" |
| 83 | FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" | 83 | FILES:libgettextsrc = "${libdir}/libgettextsrc-*.so*" |
| 84 | 84 | ||
| 85 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" | 85 | PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" |
| 86 | 86 | ||
| 87 | FILES_${PN} += "${libdir}/${BPN}/*" | 87 | FILES:${PN} += "${libdir}/${BPN}/*" |
| 88 | 88 | ||
| 89 | # The its/Makefile.am has defined: | 89 | # The its/Makefile.am has defined: |
| 90 | # itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its | 90 | # itsdir = $(pkgdatadir)$(PACKAGE_SUFFIX)/its |
| 91 | # not itsdir = $(pkgdatadir), so use wildcard to match the version. | 91 | # not itsdir = $(pkgdatadir), so use wildcard to match the version. |
| 92 | FILES_${PN} += "${datadir}/${BPN}-*/*" | 92 | FILES:${PN} += "${datadir}/${BPN}-*/*" |
| 93 | 93 | ||
| 94 | FILES_gettext-runtime = "${bindir}/gettext \ | 94 | FILES:gettext-runtime = "${bindir}/gettext \ |
| 95 | ${bindir}/ngettext \ | 95 | ${bindir}/ngettext \ |
| 96 | ${bindir}/envsubst \ | 96 | ${bindir}/envsubst \ |
| 97 | ${bindir}/gettext.sh \ | 97 | ${bindir}/gettext.sh \ |
| 98 | ${libdir}/libasprintf.so* \ | 98 | ${libdir}/libasprintf.so* \ |
| 99 | ${libdir}/GNU.Gettext.dll \ | 99 | ${libdir}/GNU.Gettext.dll \ |
| 100 | " | 100 | " |
| 101 | FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ | 101 | FILES:gettext-runtime-dev += "${libdir}/libasprintf.a \ |
| 102 | ${includedir}/autosprintf.h \ | 102 | ${includedir}/autosprintf.h \ |
| 103 | " | 103 | " |
| 104 | FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ | 104 | FILES:gettext-runtime-doc = "${mandir}/man1/gettext.* \ |
| 105 | ${mandir}/man1/ngettext.* \ | 105 | ${mandir}/man1/ngettext.* \ |
| 106 | ${mandir}/man1/envsubst.* \ | 106 | ${mandir}/man1/envsubst.* \ |
| 107 | ${mandir}/man1/.* \ | 107 | ${mandir}/man1/.* \ |
| @@ -116,11 +116,11 @@ FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ | |||
| 116 | ${infodir}/autosprintf.info \ | 116 | ${infodir}/autosprintf.info \ |
| 117 | " | 117 | " |
| 118 | 118 | ||
| 119 | do_install_append() { | 119 | do_install:append() { |
| 120 | rm -f ${D}${libdir}/preloadable_libintl.so | 120 | rm -f ${D}${libdir}/preloadable_libintl.so |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | do_install_append_class-native () { | 123 | do_install:append:class-native () { |
| 124 | rm ${D}${datadir}/aclocal/* | 124 | rm ${D}${datadir}/aclocal/* |
| 125 | rm ${D}${datadir}/gettext/config.rpath | 125 | rm ${D}${datadir}/gettext/config.rpath |
| 126 | rm ${D}${datadir}/gettext/po/Makefile.in.in | 126 | rm ${D}${datadir}/gettext/po/Makefile.in.in |
| @@ -174,8 +174,8 @@ do_install_ptest() { | |||
| 174 | fi | 174 | fi |
| 175 | } | 175 | } |
| 176 | 176 | ||
| 177 | RDEPENDS_${PN}-ptest += "make xz" | 177 | RDEPENDS:${PN}-ptest += "make xz" |
| 178 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | 178 | RDEPENDS:${PN}-ptest:append:libc-glibc = "\ |
| 179 | glibc-gconv-big5 \ | 179 | glibc-gconv-big5 \ |
| 180 | glibc-charmap-big5 \ | 180 | glibc-charmap-big5 \ |
| 181 | glibc-gconv-cp1251 \ | 181 | glibc-gconv-cp1251 \ |
| @@ -196,12 +196,12 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | |||
| 196 | locale-base-fr-fr \ | 196 | locale-base-fr-fr \ |
| 197 | " | 197 | " |
| 198 | 198 | ||
| 199 | RRECOMMENDS_${PN}-ptest_append_libc-glibc = "\ | 199 | RRECOMMENDS:${PN}-ptest:append:libc-glibc = "\ |
| 200 | locale-base-de-de.iso-8859-1 \ | 200 | locale-base-de-de.iso-8859-1 \ |
| 201 | locale-base-fr-fr.iso-8859-1 \ | 201 | locale-base-fr-fr.iso-8859-1 \ |
| 202 | " | 202 | " |
| 203 | 203 | ||
| 204 | INSANE_SKIP_${PN}-ptest += "ldflags" | 204 | INSANE_SKIP:${PN}-ptest += "ldflags" |
| 205 | INSANE_SKIP_${PN}-ptest += "rpaths" | 205 | INSANE_SKIP:${PN}-ptest += "rpaths" |
| 206 | 206 | ||
| 207 | BBCLASSEXTEND = "native nativesdk" | 207 | BBCLASSEXTEND = "native nativesdk" |
