diff options
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" | ||
