summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Madison <matt@madison.systems>2021-04-03 09:36:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-04-05 15:29:02 +0100
commit58bda8b1c2ad82bfd1246ded03f43e38b0cb945f (patch)
treef7e5f57353090f60ed4ec8024712e9fd8af0bb0d
parentbbe14ab3311591caeadaaee1b2b9ed55c890a202 (diff)
downloadpoky-58bda8b1c2ad82bfd1246ded03f43e38b0cb945f.tar.gz
poky-58bda8b1c2ad82bfd1246ded03f43e38b0cb945f.tar.bz2
poky-58bda8b1c2ad82bfd1246ded03f43e38b0cb945f.zip
libxcb: use PN for naming dynamic packages
so an explicit runtime dependency on one of the library packages doesn't generate a message about libxcb and libxcb-native both being providers. (From OE-Core rev: 9021db018b74f484109d5f62787fc957229933ba) Signed-off-by: Matt Madison <matt@madison.systems> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-graphics/xorg-lib/libxcb_1.14.bb4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb b/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
index e9f6051b6e..f0a223a19c 100644
--- a/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
+++ b/meta/recipes-graphics/xorg-lib/libxcb_1.14.bb
@@ -19,7 +19,7 @@ BBCLASSEXTEND = "native nativesdk"
DEPENDS = "xcb-proto xorgproto libxau libpthread-stubs libxdmcp"
-PACKAGES_DYNAMIC = "^libxcb-.*"
+PACKAGES_DYNAMIC = "^${PN}-.*"
FILES_${PN} = "${libdir}/libxcb.so.*"
@@ -35,5 +35,5 @@ do_install_append () {
}
python populate_packages_prepend () {
- do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', 'libxcb-%s', 'XCB library module for %s', allow_links=True)
+ do_split_packages(d, '${libdir}', r'^libxcb-(.*)\.so\..*$', '${PN}-%s', 'XCB library module for %s', allow_links=True)
}