diff options
author | Andreas Müller <schnitzeltony@gmail.com> | 2019-01-30 12:41:40 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2019-02-08 22:20:26 +0000 |
commit | 7fe35bda54e244e9d81b08e7bb9e883207436d4a (patch) | |
tree | 56ef8d99cf556c7347500e033a0354449902cb80 /recipes-qt/qwt/qwt-qt5_6.1.4.bb | |
parent | bbc8f1bf0ce7814686e39b366cfd9e92d152ad8c (diff) | |
download | meta-qt5-master-next.tar.gz |
qwt-qt5: upgrade 6.1.3 -> 6.1.4master-next
Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Diffstat (limited to 'recipes-qt/qwt/qwt-qt5_6.1.4.bb')
-rw-r--r-- | recipes-qt/qwt/qwt-qt5_6.1.4.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/recipes-qt/qwt/qwt-qt5_6.1.4.bb b/recipes-qt/qwt/qwt-qt5_6.1.4.bb new file mode 100644 index 00000000..d8e1dcd2 --- /dev/null +++ b/recipes-qt/qwt/qwt-qt5_6.1.4.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Qt Widget Extension for Technical Applications" | ||
2 | SECTION = "libs" | ||
3 | HOMEPAGE = "http://qwt.sourceforge.net/index.html" | ||
4 | |||
5 | # LGPLv2.1 + some exceptions | ||
6 | LICENSE = "QWTv1.0" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88" | ||
8 | |||
9 | DEPENDS = "qtbase qtsvg qttools" | ||
10 | |||
11 | inherit qmake5 | ||
12 | |||
13 | SRC_URI = " \ | ||
14 | ${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ | ||
15 | file://0001-Remove-rpath-from-binaries-they-point-to-buuild-area.patch \ | ||
16 | " | ||
17 | SRC_URI[qwt.md5sum] = "4fb1852f694420e3ab9c583526edecc5" | ||
18 | SRC_URI[qwt.sha256sum] = "1529215329e51fc562e0009505a838f427919a18b362afff441f035b2d9b5bd9" | ||
19 | |||
20 | S = "${WORKDIR}/qwt-${PV}" | ||
21 | |||
22 | EXTRA_QMAKEVARS_PRE += " \ | ||
23 | QWT_CONFIG+=QwtPkgConfig \ | ||
24 | QWT_CONFIG+=QwtExamples \ | ||
25 | " | ||
26 | |||
27 | do_configure_prepend() { | ||
28 | sed -i \ | ||
29 | -e 's:/usr/local/qwt-$$QWT_VERSION:${prefix}:' \ | ||
30 | -e 's:^QWT_INSTALL_LIBS.*:QWT_INSTALL_LIBS = ${libdir}:' \ | ||
31 | ${S}/*.pri | ||
32 | export QWT_INSTALL_LIBS=${libdir} | ||
33 | } | ||
34 | |||
35 | do_install_append() { | ||
36 | # seems out of tree build confuses installation of examples | ||
37 | # so install them manually | ||
38 | install -d ${D}${bindir}/ | ||
39 | cp ${B}/examples/bin/* ${D}${bindir}/ | ||
40 | } | ||
41 | |||
42 | |||
43 | PACKAGES_prepend = "${PN}-examples ${PN}-features ${PN}-plugins " | ||
44 | FILES_${PN}-examples = "${bindir}/*" | ||
45 | FILES_${PN}-features = "${prefix}/features" | ||
46 | FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so" | ||
47 | FILES_${PN}-doc += "${prefix}/doc" | ||
48 | |||
49 | INSANE_SKIP_${PN}-plugins += "libdir" | ||
50 | INSANE_SKIP_${PN}-dbg += "libdir" | ||
51 | |||
52 | RPROVIDES_${PN}-dev = "libqwt-qt5-dev" | ||