tio: update to version 3.9
authorNikolay Manev <redacted>
Sat, 31 May 2025 09:34:05 +0000 (12:34 +0300)
committerJosef Schlehofer <redacted>
Wed, 11 Jun 2025 15:57:00 +0000 (17:57 +0200)
* update to version 3.9
* added lua as build dependency
* added glib as build dependency
* removed libinih as dependency
* disable bash-completion and man pages
* added test.sh file for ci testing

Signed-off-by: Nikolay Manev <redacted>
utils/tio/Makefile
utils/tio/test.sh [new file with mode: 0644]

index 4ea14255d48d87e1264a8cbf14f24a84730231ec..2382e03e060b2e5f2676f60b3776a0a945c8d8c5 100644 (file)
@@ -8,17 +8,19 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tio
-PKG_VERSION:=2.7
+PKG_VERSION:=3.9
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/tio/tio/releases/download/v$(PKG_VERSION)
-PKG_HASH:=bf8fe434848c2c1b6540af0b42503c986068176ddc1a988cf02e521e7de5daa5
+PKG_HASH:=06fe0c22e3e75274643c017928fbc85e86589bc1acd515d92f98eecd4bbab11b
 
 PKG_MAINTAINER:=
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 
+PKG_BUILD_FLAGS:=no-mips16
+
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/meson.mk
 
@@ -28,13 +30,17 @@ define Package/tio
   SUBMENU:=Terminal
   TITLE:=A simple TTY terminal I/O application
   URL:=https://tio.github.io/
-  DEPENDS:=+libinih
+  DEPENDS:=+lua +glib2
 endef
 
 define Package/tio/description
   A small and simple TTY terminal I/O application
 endef
 
+MESON_ARGS += \
+       -Dbashcompletiondir=no \
+       -Dinstall_man_pages=false
+
 define Package/tio/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/tio $(1)/usr/sbin/
diff --git a/utils/tio/test.sh b/utils/tio/test.sh
new file mode 100644 (file)
index 0000000..6a9e11e
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+tio --version | grep "$PKG_VERSION"
git clone https://git.99rst.org/PROJECT