mirror of
https://github.com/openwrt/packages.git
synced 2026-10-12 05:57:04 +04:00
tio: use Lua 5.4
tio embeds Lua for its scripting support, which is not optional. It looks Lua up through pkg-config as lua-5.4, lua-5.3, lua-5.2, lua-5.1 and lua, in this order, with no option to select the version. The package depends on lua (5.1), which tio has found as lua.pc so far. Since lua5.4 stages lua-5.4.pc, tio finds Lua 5.4 first and links liblua5.4 without depending on it. Depend on liblua5.4, the version tio looks up first, instead of lua, which is the documented preferred version anyway. Only the library is needed; tio does not run the lua interpreter. Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
This commit is contained in:
1 parent
fe3a534718
commit
c9a8662432
1 file changed
+2
-2
+2
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=tio
|
||||
PKG_VERSION:=3.9
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://github.com/tio/tio/releases/download/v$(PKG_VERSION)
|
||||
@@ -30,7 +30,7 @@ define Package/tio
|
||||
SUBMENU:=Terminal
|
||||
TITLE:=A simple TTY terminal I/O application
|
||||
URL:=https://tio.github.io/
|
||||
DEPENDS:=+lua +glib2
|
||||
DEPENDS:=+liblua5.4 +glib2
|
||||
endef
|
||||
|
||||
define Package/tio/description
|
||||
|
||||
Reference in new issue
Block a user