summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pkgconfig
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-devtools/pkgconfig
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-devtools/pkgconfig')
-rw-r--r--meta/recipes-devtools/pkgconfig/pkgconfig_git.bb14
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
30EXTRA_OECONF += "--disable-indirect-deps" 30EXTRA_OECONF += "--disable-indirect-deps"
31 31
32PACKAGECONFIG ??= "glib" 32PACKAGECONFIG ??= "glib"
33PACKAGECONFIG_class-native = "" 33PACKAGECONFIG:class-native = ""
34PACKAGECONFIG_class-nativesdk = "" 34PACKAGECONFIG:class-nativesdk = ""
35 35
36PACKAGECONFIG[glib] = "--without-internal-glib,--with-internal-glib,glib-2.0 pkgconfig-native" 36PACKAGECONFIG[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.
45FILES_${PN}-dev = "" 45FILES:${PN}-dev = ""
46FILES_${PN} += "${datadir}/aclocal/pkg.m4" 46FILES:${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.
51RPROVIDES_${PN} += "pkgconfig(pkg-config)" 51RPROVIDES:${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.
55do_install_append_class-native () { 55do_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
75SSTATEPOSTUNPACKFUNCS_append_class-native = " pkgconfig_sstate_fixup_esdk" 75SSTATEPOSTUNPACKFUNCS:append:class-native = " pkgconfig_sstate_fixup_esdk"