From 33f00322cbd29ae0d1e2c0a38b3bd3889a050cbc Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 4 Nov 2024 14:02:08 -0800 Subject: [PATCH] gtkwave: Add packageconfig knob for tcl support TCL 9.x is not supported and its coming to core, therefore make way for disabling it by adding the knob and keep is off by default. Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb index c0777c3314..3f94933e6a 100644 --- a/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb +++ b/meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb @@ -33,12 +33,15 @@ REQUIRED_DISTRO_FEATURES = "wayland x11" EXTRA_OECONF = " \ --enable-gtk3 \ - --with-tcl=${STAGING_BINDIR_CROSS} \ - --with-tk=${STAGING_BINDIR_CROSS} \ --with-tirpc \ --disable-mime-update \ " +PACKAGECONFIG = "" + +PACKAGECONFIG[tcl] = "--with-tcl=${STAGING_BINDIR_CROSS},--disable-tcl,tcl" +PACKAGECONFIG[tk] = "--with-tk=${STAGING_BINDIR_CROSS},--disable-tcl,tk" + FILES:${PN} = "${bindir} ${datadir}" RDEPENDS:${PN} += "tk-lib"