mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-21 05:57:05 +00:00
PACKAGES_DYNAMIC: use regexp not glob
* bitbake uses PACKAGES_DYNAMIC as regexp
^ could make matching faster (and it will be more clear that we're expecting regexp not glob)
* made all those last '-' optional, use .* (or nothing)
* use += instead of = in most cases to keep ${PN}-locale from
bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*"
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -35,7 +35,7 @@ python populate_packages_prepend() {
|
||||
|
||||
PACKAGES =+ "${PN}-gtk"
|
||||
|
||||
PACKAGES_DYNAMIC = "libcanberra-*"
|
||||
PACKAGES_DYNAMIC += "^libcanberra-.*"
|
||||
|
||||
FILES_${PN}-gtk = "\
|
||||
${sysconfdir}/gconf \
|
||||
|
||||
@@ -73,5 +73,5 @@ python populate_packages_prepend() {
|
||||
do_split_packages(d, plugindir, '(.*)\.so$', 'lcdd-driver-%s', 'LCDd driver for %s', prepend=True)
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "lcdd-driver-*"
|
||||
PACKAGES_DYNAMIC += "^lcdd-driver-.*"
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ EXTRA_OECONF += "--with-plugins=none"
|
||||
|
||||
PACKAGES =+ "${PN}-core ${PN}-lxde ${PN}-gnome"
|
||||
|
||||
PACKAGES_DYNAMIC += "${PN}-theme-*"
|
||||
PACKAGES_DYNAMIC += "^${PN}-theme-.*"
|
||||
|
||||
python populate_packages_prepend() {
|
||||
theme_dir = bb.data.expand('${datadir}/themes/', d)
|
||||
|
||||
@@ -119,4 +119,4 @@ python populate_packages_prepend() {
|
||||
allow_links=True)
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "lib(av(codec|device|filter|format|util)|postproc)*"
|
||||
PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util)|postproc).*"
|
||||
|
||||
@@ -23,7 +23,7 @@ PACKAGES =+ "libfreerdp"
|
||||
LEAD_SONAME = "libfreerdp.so"
|
||||
FILES_libfreerdp = "${libdir}/lib*${SOLIBS}"
|
||||
|
||||
PACKAGES_DYNAMIC = "libfreerdp-plugin-*"
|
||||
PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
freerdp_root = bb.data.expand('${libdir}/freerdp', d)
|
||||
|
||||
@@ -249,7 +249,7 @@ pkg_prerm_${PN}-slapd () {
|
||||
update-rc.d $D openldap remove
|
||||
}
|
||||
|
||||
PACKAGES_DYNAMIC = "openldap-backends openldap-backend-*"
|
||||
PACKAGES_DYNAMIC += "^openldap-backends.* ^openldap-backend-.*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
backend_dir = bb.data.expand('${libexecdir}/openldap', d)
|
||||
|
||||
@@ -56,7 +56,7 @@ RRECOMMENDS_${PN} = "${PN}-data libpurple-plugin-ssl-gnutls libpurple-protocol-i
|
||||
FILES_${PN}-data = "${datadir}/pixmaps ${datadir}/sounds ${datadir}/icons"
|
||||
FILES_${PN}-dev += "${libdir}/${PN}/*.la"
|
||||
|
||||
PACKAGES_DYNAMIC = "libpurple-protocol-* libpurple-plugin-* pidgin-plugin-* finch-plugin-*"
|
||||
PACKAGES_DYNAMIC += "^libpurple-protocol-.* ^libpurple-plugin-.* ^pidgin-plugin-.* ^finch-plugin-.*"
|
||||
|
||||
python populate_packages_prepend () {
|
||||
pidgroot = bb.data.expand('${libdir}/pidgin', d)
|
||||
|
||||
Reference in New Issue
Block a user