diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2012-10-12 12:46:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-19 18:02:26 +0100 |
commit | 33b31640bf485bcfefee015e9df81aa9989b322c (patch) | |
tree | 8289b56e8d7055252d26d5eb496f74217986acec /meta/recipes-qt | |
parent | e9938516240e7ef3b5aeb47690828dd574ba2d8e (diff) | |
download | poky-33b31640bf485bcfefee015e9df81aa9989b322c.tar.gz |
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)
(From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-qt')
-rw-r--r-- | meta/recipes-qt/qt-apps/qmmp_0.6.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4-embedded.inc | 2 | ||||
-rw-r--r-- | meta/recipes-qt/qt4/qt4.inc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb b/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb index 9522d88e12..15273f7873 100644 --- a/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb +++ b/meta/recipes-qt/qt-apps/qmmp_0.6.1.bb | |||
@@ -26,7 +26,7 @@ export EXTRA_OECMAKE = "-DQT_QMAKE_EXECUTABLE=${OE_QMAKE_QMAKE} \ | |||
26 | -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ | 26 | -DQT_HEADERS_DIR=${OE_QMAKE_INCDIR_QT} \ |
27 | -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ | 27 | -DQT_QTCORE_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT}/QtCore \ |
28 | " | 28 | " |
29 | PACKAGES_DYNAMIC = "qmmp-plugin-* " | 29 | PACKAGES_DYNAMIC = "^qmmp-plugin-.* " |
30 | 30 | ||
31 | 31 | ||
32 | python populate_packages_prepend () { | 32 | python populate_packages_prepend () { |
diff --git a/meta/recipes-qt/qt4/qt4-embedded.inc b/meta/recipes-qt/qt4/qt4-embedded.inc index 3b3768904c..afca7f881f 100644 --- a/meta/recipes-qt/qt4/qt4-embedded.inc +++ b/meta/recipes-qt/qt4/qt4-embedded.inc | |||
@@ -59,7 +59,7 @@ RRECOMMENDS_${QT_BASE_NAME}-demos += " \ | |||
59 | ${QT_BASE_NAME}-fonts" | 59 | ${QT_BASE_NAME}-fonts" |
60 | 60 | ||
61 | ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1" | 61 | ALLOW_EMPTY_${QT_BASE_NAME}-fonts = "1" |
62 | PACKAGES_DYNAMIC += "${QT_BASE_NAME}-fonts-*" | 62 | PACKAGES_DYNAMIC += "^${QT_BASE_NAME}-fonts-.*" |
63 | 63 | ||
64 | FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf" | 64 | FILES_${QT_BASE_NAME}-fonts-ttf-vera = "${libdir}/fonts/Vera*.ttf" |
65 | FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" | 65 | FILES_${QT_BASE_NAME}-fonts-ttf-dejavu = "${libdir}/fonts/DejaVu*.ttf" |
diff --git a/meta/recipes-qt/qt4/qt4.inc b/meta/recipes-qt/qt4/qt4.inc index 35748f86a4..5bc7956120 100644 --- a/meta/recipes-qt/qt4/qt4.inc +++ b/meta/recipes-qt/qt4/qt4.inc | |||
@@ -124,7 +124,7 @@ PACKAGES += " \ | |||
124 | ${STATICDEV_PACKAGES} \ | 124 | ${STATICDEV_PACKAGES} \ |
125 | ${OTHER_PACKAGES}" | 125 | ${OTHER_PACKAGES}" |
126 | 126 | ||
127 | PACKAGES_DYNAMIC = "${QT_BASE_NAME}-plugin-* ${QT_BASE_NAME}-translation-* ${QT_BASE_NAME}-phrasebook-*" | 127 | PACKAGES_DYNAMIC = "^${QT_BASE_NAME}-plugin-.* ^${QT_BASE_NAME}-translation-.* ^${QT_BASE_NAME}-phrasebook-.*" |
128 | 128 | ||
129 | ALLOW_EMPTY_${PN} = "1" | 129 | ALLOW_EMPTY_${PN} = "1" |
130 | FILES_${PN} = "" | 130 | FILES_${PN} = "" |