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 <raj.khem@gmail.com>
This commit is contained in:
Khem Raj 2024-11-04 14:02:08 -08:00
parent 347ab0f9e2
commit 33f00322cb
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"