qtsystems: Remove examples.pro file from packages
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 26 May 2014 14:01:18 +0000 (11:01 -0300)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:45:51 +0000 (08:45 -0800)
The examples.pro file is useless as we don't deploy the
source code. Remove it from the packages.

(From meta-qt5 rev: 48311c05e264ee52d6a8cb7ef8d004345777dfda)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-qt5/recipes-qt/qt5/qtsystems.inc

index 8b2a770..6cdfc8e 100644 (file)
@@ -8,3 +8,8 @@ LIC_FILES_CHKSUM = "file://${S}/src/imports/systeminfo/qsysteminfo.cpp;endline=4
                     file://${S}/examples/systeminfo/qml-storageinfo/content/ProgressBar.qml;endline=39;md5=5213e8171c07d54db7107f29ac2f7b5e \
                     file://${S}/doc/src/systeminfo/systeminfo.qdoc;endline=26;md5=757f4eda130ceff3ca0985dde715af07 \
 "
+
+do_install_append() {
+    # Remove example.pro file as it is useless
+    rm -f ${D}${OE_QMAKE_PATH_EXAMPLES}/examples.pro   
+}