diff mbox series

[meta-oe] tio: upgrade 2.7 -> 3.8

Message ID 20250318111836.114574-1-fathi.boudra@linaro.org
State Accepted
Headers show
Series [meta-oe] tio: upgrade 2.7 -> 3.8 | expand

Commit Message

Fathi Boudra March 18, 2025, 11:18 a.m. UTC
* Added LUA support
* Replaced inih dependency by glib:
 All configuration file parsing has been reworked.
 The options parsing has been cleaned up.

 Compared to previously, configuration files now requires any default
 configurations to be put in a group/section named [default].

 Configuration file keywords such as "enable", "disable", "on",
 "off", "yes", "no", "0", "1" have been retired.
 Now only "true" and "false" apply to boolean configuration options.

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
---
 meta-oe/recipes-support/tio/{tio_2.7.bb => tio_3.8.bb} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
 rename meta-oe/recipes-support/tio/{tio_2.7.bb => tio_3.8.bb} (74%)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/tio/tio_2.7.bb b/meta-oe/recipes-support/tio/tio_3.8.bb
similarity index 74%
rename from meta-oe/recipes-support/tio/tio_2.7.bb
rename to meta-oe/recipes-support/tio/tio_3.8.bb
index 59c772b5d0..93c116d984 100644
--- a/meta-oe/recipes-support/tio/tio_2.7.bb
+++ b/meta-oe/recipes-support/tio/tio_3.8.bb
@@ -2,18 +2,17 @@  SUMMARY = "tio - a simple serial device I/O tool"
 DESCRIPTION = "tio is a simple serial device tool which features a \
     straightforward command-line and configuration file interface to easily \
     connect to serial TTY devices for basic I/O operations."
-
 LICENSE = "GPL-2.0-or-later"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=0e1a95b7892d3015ecd6d0016f601f2c"
+DEPENDS += " glib-2.0 lua"
+SRCREV = "01e637cdf4d2d781a87a2fa68e49e7f8fccd0552"
 
 SRC_URI = "git://github.com/tio/tio;protocol=https;branch=master"
-SRCREV = "1c32555c2a4f26b60f94757656825fc6684d6892"
 
 S = "${WORKDIR}/git"
 
 inherit meson pkgconfig
 
-DEPENDS += " libinih"
-RDEPENDS:${PN} += " libinih"
+RDEPENDS:${PN} += " lua"
 
-FILES:${PN} += " /usr/share/bash-completion/completions/tio "
+FILES:${PN} += " ${datadir}/bash-completion/completions/tio"