Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DESCRIPTION = "Gnuplot is a portable command-line driven interactive datafile \ |
| 2 | (text or binary) and function plotting utility." |
| 3 | HOMEPAGE = "http://www.gnuplot.info/" |
| 4 | SECTION = "console/scientific" |
| 5 | LICENSE = "gnuplot" |
| 6 | LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" |
| 7 | DEPENDS = "virtual/libx11 gd readline" |
| 8 | |
| 9 | inherit autotools distro_features_check |
| 10 | # depends on virtual/libx11 |
| 11 | REQUIRED_DISTRO_FEATURES = "x11" |
| 12 | |
| 13 | acpaths = "" |
| 14 | |
| 15 | PACKAGECONFIG ??= "cairo" |
| 16 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" |
| 17 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 18 | # there's compilation failure if qt4 is enabled |
| 19 | PACKAGECONFIG[qt4] = "--with-qt,--without-qt,qt4-x11-free" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 20 | |
| 21 | EXTRA_OECONF = "--with-readline=${STAGING_LIBDIR}/.. \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 22 | --without-tutorial \ |
| 23 | --disable-wxwidgets" |
| 24 | |
| 25 | do_compile_prepend() { |
| 26 | install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/ |
| 27 | } |
| 28 | |
| 29 | do_install_append() { |
| 30 | install -d ${D}${datadir}/applications/ |
| 31 | install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/ |
| 32 | install -d ${D}${datadir}/pixmaps/ |
| 33 | install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/ |
| 34 | } |
| 35 | |
| 36 | PACKAGES =+ "${PN}-x11-dbg ${PN}-x11" |
| 37 | DESCRIPTION_${PN}-x11 = "X11 display terminal for Gnuplot." |
| 38 | SECTION_${PN}-x11 = "x11/scientific" |
| 39 | FILES_${PN}-x11 = "${libexecdir} ${datadir}/applications ${datadir}/pixmaps ${libdir}/X11 " |
| 40 | |
| 41 | FILES_${PN} += "${datadir}/texmf" |
| 42 | FILES_${PN}-x11-dbg += "${libexecdir}/gnuplot/*/.debug" |