Advertisement
Guest User

Untitled

a guest
Dec 6th, 2016
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. DESCRIPTION = "Qt Widget Extension for Technical Applications"
  2. SECTION = "libs"
  3.  
  4. # LGPLv2.1 + some exceptions
  5. LICENSE = "QWTv1.0"
  6. LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88"
  7.  
  8. require recipes-qt/qt5/qt5.inc
  9.  
  10. SRCREV = "${AUTOREV}"
  11. PV = "0.0.1"
  12. SRC_URI = "svn://svn.code.sf.net/p/qwt/code/branches/;module=qwt-6.1;protocol=svn"
  13.  
  14. S = "${WORKDIR}/qwt-6.1"
  15.  
  16. DEPENDS = "qtbase"
  17. RDEPENDS_${PN} = "qtbase"
  18.  
  19. do_configure_prepend () {
  20. sed -i -e 's:QWT_CONFIG += QwtDesigner:#QWT_CONFIG += QwtDesigner:' ${S}/qwtconfig.pri
  21. sed -i -e 's:QWT_CONFIG += QwtOpenGL:#QWT_CONFIG += QwtOpenGL:' ${S}/qwtconfig.pri
  22. sed -i -e 's:QWT_CONFIG += QwtExamples:#QWT_CONFIG += QwtExamples:' ${S}/qwtconfig.pri
  23. sed -i -e 's:QWT_CONFIG += QwtSvg:#QWT_CONFIG += QwtSvg:' ${S}/qwtconfig.pri
  24. }
  25.  
  26. do_install() {
  27. install -d ${D}${libdir}
  28. install -m 0755 lib/libqwt.so ${D}${libdir}
  29. install -m 0755 lib/libqwt.so.6 ${D}${libdir}
  30. install -m 0755 lib/libqwt.so.6.1 ${D}${libdir}
  31. install -m 0755 lib/libqwt.so.6.1.4 ${D}${libdir}
  32. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement