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-devtools/pkgconfig/pkgconfig_git.bb | |
| 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-devtools/pkgconfig/pkgconfig_git.bb')
| -rw-r--r-- | meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb index 964d85fa38..aa2692b922 100644 --- a/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb +++ b/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb | |||
| @@ -30,8 +30,8 @@ inherit autotools | |||
| 30 | EXTRA_OECONF += "--disable-indirect-deps" | 30 | EXTRA_OECONF += "--disable-indirect-deps" |
| 31 | 31 | ||
| 32 | PACKAGECONFIG ??= "glib" | 32 | PACKAGECONFIG ??= "glib" |
| 33 | PACKAGECONFIG_class-native = "" | 33 | PACKAGECONFIG:class-native = "" |
| 34 | PACKAGECONFIG_class-nativesdk = "" | 34 | PACKAGECONFIG:class-nativesdk = "" |
| 35 | 35 | ||
| 36 | PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" | 36 | PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" |
| 37 | 37 | ||
| @@ -42,17 +42,17 @@ BBCLASSEXTEND = "native nativesdk" | |||
| 42 | # Set an empty dev package to ensure the base PN package gets | 42 | # Set an empty dev package to ensure the base PN package gets |
| 43 | # the pkg.m4 macros, pkgconfig does not deliver any other -dev | 43 | # the pkg.m4 macros, pkgconfig does not deliver any other -dev |
| 44 | # files. | 44 | # files. |
| 45 | FILES_${PN}-dev = "" | 45 | FILES:${PN}-dev = "" |
| 46 | FILES_${PN} += "${datadir}/aclocal/pkg.m4" | 46 | FILES:${PN} += "${datadir}/aclocal/pkg.m4" |
| 47 | 47 | ||
| 48 | # When using the RPM generated automatic package dependencies, some packages | 48 | # When using the RPM generated automatic package dependencies, some packages |
| 49 | # will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by | 49 | # will end up requiring 'pkgconfig(pkg-config)'. Allow this behavior by |
| 50 | # specifying an appropriate provide. | 50 | # specifying an appropriate provide. |
| 51 | RPROVIDES_${PN} += "pkgconfig(pkg-config)" | 51 | RPROVIDES:${PN} += "pkgconfig(pkg-config)" |
| 52 | 52 | ||
| 53 | # Install a pkg-config-native wrapper that will use the native sysroot instead | 53 | # Install a pkg-config-native wrapper that will use the native sysroot instead |
| 54 | # of the MACHINE sysroot, for using pkg-config when building native tools. | 54 | # of the MACHINE sysroot, for using pkg-config when building native tools. |
| 55 | do_install_append_class-native () { | 55 | do_install:append:class-native () { |
| 56 | sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ | 56 | sed -e "s|@PATH_NATIVE@|${PKG_CONFIG_PATH}|" \ |
| 57 | -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \ | 57 | -e "s|@LIBDIR_NATIVE@|${PKG_CONFIG_LIBDIR}|" \ |
| 58 | < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native | 58 | < ${WORKDIR}/pkg-config-native.in > ${B}/pkg-config-native |
| @@ -72,4 +72,4 @@ pkgconfig_sstate_fixup_esdk () { | |||
| 72 | fi | 72 | fi |
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconfig_sstate_fixup_esdk" | 75 | SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconfig_sstate_fixup_esdk" |
