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:28:25 +0100
commit9021db018b74f484109d5f62787fc957229933ba (patch)
tree4e7f02a17c340ecf220a3eb81a6417a2c1263f46
parent099313ef541920d4a84b801d9d8788a56ba7ec61 (diff)
downloadopenembedded-core-contrib-9021db018b74f484109d5f62787fc957229933ba.tar.gz
openembedded-core-contrib-9021db018b74f484109d5f62787fc957229933ba.tar.bz2
openembedded-core-contrib-9021db018b74f484109d5f62787fc957229933ba.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. 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)
}