gtkwave: Add packageconfig knob for tcl support
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.
Signed-off-by Khem Raj <[email protected]>
--- 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
@@ -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"