mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
bbe14ab331
commit
58bda8b1c2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user