Skip to contentSkip to conversation

gtkwave: Add packageconfig knob for tcl support

PATCH New Khem Raj 1 participant 1 message Nov 4, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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.

---
 meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb +5 -2
index c0777c3314..3f94933e6a 100644
@@ -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"