Message ID | 20241104220333.3914910-1-raj.khem@gmail.com |
---|---|
State | New |
Headers | show |
Series | [meta-oe] gtkwave: Add packageconfig knob for tcl support | expand |
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"
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 <raj.khem@gmail.com> --- meta-oe/recipes-graphics/gtkwave/gtkwave_3.3.121.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)