diff options
Diffstat (limited to 'meta-oe/recipes-extended/gnuplot')
-rw-r--r-- | meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb b/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb index fe5e5c067d..679b1a7e98 100644 --- a/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb +++ b/meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb | |||
@@ -5,11 +5,10 @@ HOMEPAGE = "http://www.gnuplot.info/" | |||
5 | SECTION = "console/scientific" | 5 | SECTION = "console/scientific" |
6 | LICENSE = "gnuplot" | 6 | LICENSE = "gnuplot" |
7 | LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" | 7 | LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" |
8 | DEPENDS = "${BPN}-native virtual/libx11 gd readline" | 8 | DEPENDS = "${BPN}-native gd readline" |
9 | 9 | ||
10 | inherit autotools features_check pkgconfig | 10 | inherit autotools pkgconfig |
11 | # depends on virtual/libx11 | 11 | # depends on virtual/libx11 |
12 | REQUIRED_DISTRO_FEATURES = "x11" | ||
13 | 12 | ||
14 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \ | 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \ |
15 | http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \ | 14 | http://www.mneuroth.de/privat/zaurus/qtplot-0.2.tar.gz;name=qtplot \ |
@@ -38,10 +37,11 @@ do_install:class-native() { | |||
38 | rm ${D}${bindir}/*.o | 37 | rm ${D}${bindir}/*.o |
39 | } | 38 | } |
40 | 39 | ||
41 | PACKAGECONFIG ??= "cairo" | 40 | PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" |
42 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" | 41 | PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" |
43 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" | 42 | PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" |
44 | PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native" | 43 | PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native" |
44 | PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11" | ||
45 | 45 | ||
46 | EXTRA_OECONF = " \ | 46 | EXTRA_OECONF = " \ |
47 | --with-readline=${STAGING_LIBDIR}/.. \ | 47 | --with-readline=${STAGING_LIBDIR}/.. \ |
@@ -50,14 +50,14 @@ EXTRA_OECONF = " \ | |||
50 | " | 50 | " |
51 | 51 | ||
52 | do_compile:prepend() { | 52 | do_compile:prepend() { |
53 | install -m 0644 ${WORKDIR}/qtplot-0.2/qtopia.trm ${S}/term/ | 53 | install -m 0644 ${UNPACKDIR}/qtplot-0.2/qtopia.trm ${S}/term/ |
54 | } | 54 | } |
55 | 55 | ||
56 | do_install:append:class-target() { | 56 | do_install:append:class-target() { |
57 | install -d ${D}${datadir}/applications/ | 57 | install -d ${D}${datadir}/applications/ |
58 | install -m 0644 ${WORKDIR}/gnuplot.desktop ${D}${datadir}/applications/ | 58 | install -m 0644 ${UNPACKDIR}/gnuplot.desktop ${D}${datadir}/applications/ |
59 | install -d ${D}${datadir}/pixmaps/ | 59 | install -d ${D}${datadir}/pixmaps/ |
60 | install -m 0644 ${WORKDIR}/gnuplot.png ${D}${datadir}/pixmaps/ | 60 | install -m 0644 ${UNPACKDIR}/gnuplot.png ${D}${datadir}/pixmaps/ |
61 | } | 61 | } |
62 | 62 | ||
63 | PACKAGES =+ "${PN}-x11" | 63 | PACKAGES =+ "${PN}-x11" |