rrdtool: takes graph only with x11 or wayland
PATCH 1/1 rrdtool: takes graph only with x11 or wayland
From: Louis Rannou <[email protected]>
rrdtool package configuration 'graph' relies on graphical support. Ignore it if none of x11 org wayland is in the distro features.
Signed-off-by Louis Rannou <[email protected]>
--- meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta-oe/recipes-extended/rrdtool/rrdtool_1.9.0.bb +5 -1
@@ -25,7 +25,11 @@ AUTOTOOLS_AUXDIR = "${S}/conftools" EXTRA_AUTORECONF = "-I m4 --exclude=autopoint" -PACKAGECONFIG ??= "perl graph ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" +PACKAGECONFIG ??= " \ + perl \ + ${@bb.utils.contains_any('DISTRO_FEATURES', 'x11 wayland', 'graph', '', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ +" PACKAGECONFIG[python] = "--enable-python=yes \ am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages \
---
base-commit: 3c5711e73245e913cfec9444e626dda9ad89fd76
change-id: 20260227-rrdtool-graph-2cf28a25fd23
Best regards,
Signature · 1 line
Louis Rannou <[email protected]>