summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>2025-02-28 14:04:51 +0100
committerKhem Raj <raj.khem@gmail.com>2025-02-28 18:48:27 -0800
commit7d46922407eb3d8009c592e61dccf4bb9eaf8df7 (patch)
treec101a6111c0dda7ec0d812601077bcaa6899b31e
parent641e11b0eb6877763bbf783d8d41d5b4ba770036 (diff)
downloadmeta-openembedded-7d46922407eb3d8009c592e61dccf4bb9eaf8df7.tar.gz
gnuplot: add x11 PACKAGECONFIG
Currently, gnuplot recipe requires the x11 distro feature to be built. However, X11 is not needed for running gnuplot as long as we don't use a gnuplot X11 terminal. This commit adds the x11 package config used to make the need of x11 distro feature optional to build gnuplot. `features_check` inherit is removed as any of the functionalities of this class is now used. Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-extended/gnuplot/gnuplot_5.4.3.bb8
1 files changed, 4 insertions, 4 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 a293048a21..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/"
5SECTION = "console/scientific" 5SECTION = "console/scientific"
6LICENSE = "gnuplot" 6LICENSE = "gnuplot"
7LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f" 7LIC_FILES_CHKSUM = "file://Copyright;md5=243a186fc2fd3b992125d60d5b1bab8f"
8DEPENDS = "${BPN}-native virtual/libx11 gd readline" 8DEPENDS = "${BPN}-native gd readline"
9 9
10inherit autotools features_check pkgconfig 10inherit autotools pkgconfig
11# depends on virtual/libx11 11# depends on virtual/libx11
12REQUIRED_DISTRO_FEATURES = "x11"
13 12
14SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${PV}/${BP}.tar.gz;name=archive \ 13SRC_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
41PACKAGECONFIG ??= "cairo" 40PACKAGECONFIG ??= "cairo ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
42PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango" 41PACKAGECONFIG[cairo] = "--with-cairo,--without-cairo,cairo pango"
43PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua" 42PACKAGECONFIG[lua] = "--with-lua,--without-lua,lua"
44PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native" 43PACKAGECONFIG[qt5] = "--with-qt --with-qt5nativesysroot=${STAGING_DIR_NATIVE},--without-qt,qtbase-native qtbase qtsvg qttools-native"
44PACKAGECONFIG[x11] = "--with-x,--without-x,virtual/libx11"
45 45
46EXTRA_OECONF = " \ 46EXTRA_OECONF = " \
47 --with-readline=${STAGING_LIBDIR}/.. \ 47 --with-readline=${STAGING_LIBDIR}/.. \