summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
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/gettext
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/gettext')
-rw-r--r--meta/recipes-core/gettext/gettext_0.21.bb42
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+"
9LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e" 9LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e"
10 10
11DEPENDS = "gettext-native virtual/libiconv" 11DEPENDS = "gettext-native virtual/libiconv"
12DEPENDS_class-native = "gettext-minimal-native" 12DEPENDS:class-native = "gettext-minimal-native"
13PROVIDES = "virtual/libintl virtual/gettext" 13PROVIDES = "virtual/libintl virtual/gettext"
14PROVIDES_class-native = "virtual/gettext-native" 14PROVIDES:class-native = "virtual/gettext-native"
15RCONFLICTS_${PN} = "proxy-libintl" 15RCONFLICTS:${PN} = "proxy-libintl"
16SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 16SRC_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 "
42EXTRA_OECONF_append_class-target = " \ 42EXTRA_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
50PACKAGECONFIG ??= "croco glib libxml" 50PACKAGECONFIG ??= "croco glib libxml"
51PACKAGECONFIG_class-native = "" 51PACKAGECONFIG:class-native = ""
52PACKAGECONFIG_class-nativesdk = "" 52PACKAGECONFIG:class-nativesdk = ""
53 53
54PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco" 54PACKAGECONFIG[croco] = "--without-included-libcroco,--with-included-libcroco,libcroco"
55PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0" 55PACKAGECONFIG[glib] = "--without-included-glib,--with-included-glib,glib-2.0"
@@ -62,7 +62,7 @@ PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--
62acpaths = '-I ${S}/gettext-runtime/m4 \ 62acpaths = '-I ${S}/gettext-runtime/m4 \
63 -I ${S}/gettext-tools/m4' 63 -I ${S}/gettext-tools/m4'
64 64
65do_install_append_libc-musl () { 65do_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
81PACKAGES =+ "libgettextlib libgettextsrc" 81PACKAGES =+ "libgettextlib libgettextsrc"
82FILES_libgettextlib = "${libdir}/libgettextlib-*.so*" 82FILES:libgettextlib = "${libdir}/libgettextlib-*.so*"
83FILES_libgettextsrc = "${libdir}/libgettextsrc-*.so*" 83FILES:libgettextsrc = "${libdir}/libgettextsrc-*.so*"
84 84
85PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc" 85PACKAGES =+ "gettext-runtime gettext-runtime-dev gettext-runtime-doc"
86 86
87FILES_${PN} += "${libdir}/${BPN}/*" 87FILES:${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.
92FILES_${PN} += "${datadir}/${BPN}-*/*" 92FILES:${PN} += "${datadir}/${BPN}-*/*"
93 93
94FILES_gettext-runtime = "${bindir}/gettext \ 94FILES: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 "
101FILES_gettext-runtime-dev += "${libdir}/libasprintf.a \ 101FILES:gettext-runtime-dev += "${libdir}/libasprintf.a \
102 ${includedir}/autosprintf.h \ 102 ${includedir}/autosprintf.h \
103 " 103 "
104FILES_gettext-runtime-doc = "${mandir}/man1/gettext.* \ 104FILES: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
119do_install_append() { 119do_install:append() {
120 rm -f ${D}${libdir}/preloadable_libintl.so 120 rm -f ${D}${libdir}/preloadable_libintl.so
121} 121}
122 122
123do_install_append_class-native () { 123do_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
177RDEPENDS_${PN}-ptest += "make xz" 177RDEPENDS:${PN}-ptest += "make xz"
178RDEPENDS_${PN}-ptest_append_libc-glibc = "\ 178RDEPENDS:${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
199RRECOMMENDS_${PN}-ptest_append_libc-glibc = "\ 199RRECOMMENDS:${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
204INSANE_SKIP_${PN}-ptest += "ldflags" 204INSANE_SKIP:${PN}-ptest += "ldflags"
205INSANE_SKIP_${PN}-ptest += "rpaths" 205INSANE_SKIP:${PN}-ptest += "rpaths"
206 206
207BBCLASSEXTEND = "native nativesdk" 207BBCLASSEXTEND = "native nativesdk"