diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 02:16:27 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-28 13:39:57 +0200 |
commit | d2d5b7804e5e2c5895439faf22fb378329261830 (patch) | |
tree | 12f456c2e3fa1bbb0deedb44fa826af4bab1477e /recipes-qt | |
parent | 38de259db85f43008db4bd2133791ee81f29a01c (diff) | |
download | meta-qt5-d2d5b7804e5e2c5895439faf22fb378329261830.tar.gz |
qt5: package files with and without QT_DIR_NAME prefix
* makes it easier to modify paths without QA warnings about unpackaged files
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r-- | recipes-qt/qt5/qt5.inc | 39 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase.inc | 2 |
2 files changed, 32 insertions, 9 deletions
diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 286f9188..711ad45e 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc | |||
@@ -82,13 +82,30 @@ do_install() { | |||
82 | oe_runmake install INSTALL_ROOT=${D} | 82 | oe_runmake install INSTALL_ROOT=${D} |
83 | } | 83 | } |
84 | 84 | ||
85 | PACKAGES =. "${PN}-tools ${PN}-plugins ${PN}-plugins-dbg ${PN}-mkspecs " | 85 | PACKAGES =. "${PN}-tools-dbg ${PN}-plugins-dbg ${PN}-tools ${PN}-plugins ${PN}-mkspecs " |
86 | FILES_${PN}-tools = "${bindir}/*" | 86 | FILES_${PN}-tools-dbg = " \ |
87 | FILES_${PN}-plugins = "${libdir}/${QT_DIR_NAME}/plugins/*/*${SOLIBSDEV}" | 87 | ${bindir}/${QT_DIR_NAME}/.debug \ |
88 | FILES_${PN}-plugins-dbg = "${libdir}/${QT_DIR_NAME}/plugins/*/.debug/*" | 88 | ${bindir}/.debug \ |
89 | 89 | " | |
90 | FILES_${PN}-plugins-dbg = " \ | ||
91 | ${libdir}/${QT_DIR_NAME}/plugins/*/.debug/* \ | ||
92 | ${libdir}/plugins/*/.debug/* \ | ||
93 | " | ||
94 | FILES_${PN}-tools = " \ | ||
95 | ${bindir}/${QT_DIR_NAME}/* \ | ||
96 | ${bindir}/* \ | ||
97 | " | ||
98 | FILES_${PN}-plugins = " \ | ||
99 | ${libdir}/${QT_DIR_NAME}/plugins/*/*${SOLIBSDEV} \ | ||
100 | ${libdir}/plugins/*/*${SOLIBSDEV} \ | ||
101 | " | ||
102 | FILES_${PN}-mkspecs += "\ | ||
103 | ${libdir}/${QT_DIR_NAME}/mkspecs \ | ||
104 | ${libdir}/mkspecs \ | ||
105 | " | ||
90 | FILES_${PN} += " \ | 106 | FILES_${PN} += " \ |
91 | ${libdir}/${QT_DIR_NAME}/lib*${SOLIBS} \ | 107 | ${libdir}/${QT_DIR_NAME}/lib*${SOLIBS} \ |
108 | ${libdir}/lib*${SOLIBS} \ | ||
92 | " | 109 | " |
93 | FILES_${PN}-dev += " \ | 110 | FILES_${PN}-dev += " \ |
94 | ${libdir}/${QT_DIR_NAME}/pkgconfig \ | 111 | ${libdir}/${QT_DIR_NAME}/pkgconfig \ |
@@ -97,14 +114,20 @@ FILES_${PN}-dev += " \ | |||
97 | ${libdir}/${QT_DIR_NAME}/*.la \ | 114 | ${libdir}/${QT_DIR_NAME}/*.la \ |
98 | ${datadir}/${QT_DIR_NAME}/* \ | 115 | ${datadir}/${QT_DIR_NAME}/* \ |
99 | ${includedir}/${QT_DIR_NAME}/* \ | 116 | ${includedir}/${QT_DIR_NAME}/* \ |
117 | ${libdir}/pkgconfig \ | ||
118 | ${libdir}/cmake/* \ | ||
119 | ${libdir}/*.prl \ | ||
120 | ${libdir}/*.la \ | ||
121 | ${datadir}/* \ | ||
122 | ${includedir}/* \ | ||
100 | " | 123 | " |
101 | FILES_${PN}-dbg += " \ | 124 | FILES_${PN}-dbg += " \ |
102 | ${libdir}/${QT_DIR_NAME}/.debug \ | 125 | ${libdir}/${QT_DIR_NAME}/.debug \ |
103 | ${libdir}/${QT_DIR_NAME}/lib*${SOLIBSDEV} \ | 126 | ${libdir}/${QT_DIR_NAME}/lib*${SOLIBSDEV} \ |
127 | ${libdir}/.debug \ | ||
128 | ${libdir}/lib*${SOLIBSDEV} \ | ||
104 | " | 129 | " |
105 | FILES_${PN}-staticdev += " \ | 130 | FILES_${PN}-staticdev += " \ |
106 | ${libdir}/${QT_DIR_NAME}/*.a \ | 131 | ${libdir}/${QT_DIR_NAME}/*.a \ |
107 | " | 132 | ${libdir}/*.a \ |
108 | FILES_${PN}-mkspecs += "\ | ||
109 | ${libdir}/${QT_DIR_NAME}/mkspecs \ | ||
110 | " | 133 | " |
diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc index bc95d244..9487f7e9 100644 --- a/recipes-qt/qt5/qtbase.inc +++ b/recipes-qt/qt5/qtbase.inc | |||
@@ -107,4 +107,4 @@ do_install_append() { | |||
107 | } | 107 | } |
108 | 108 | ||
109 | PACKAGES =. "${PN}-fonts " | 109 | PACKAGES =. "${PN}-fonts " |
110 | FILES_${PN}-fonts = "${libdir}/${QT_DIR_NAME}/fonts" | 110 | FILES_${PN}-fonts = "${libdir}/${QT_DIR_NAME}/fonts ${libdir}/fonts" |