From 58bda8b1c2ad82bfd1246ded03f43e38b0cb945f Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Sat, 3 Apr 2021 09:36:04 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-graphics/xorg-lib/libxcb_1.14.bb | 4 ++-- 1 file 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) } -- cgit v1.2.3-54-g00ecf