Set mimimum requirement for lua to 5.3
authorColin Clark <colin.clark@cclark.uk>
Sat, 30 Jul 2022 14:24:31 +0000 (15:24 +0100)
committerColin Clark <colin.clark@cclark.uk>
Sat, 30 Jul 2022 14:24:31 +0000 (15:24 +0100)
geeqie-install-debian.sh
meson.build

index 06ef8b4..9b01854 100755 (executable)
@@ -8,7 +8,7 @@
 ## Dialogs allow the user to install additional features.
 ##
 
-version="2022-07-21"
+version="2022-07-30"
 description='
 Geeqie is an image viewer.
 This script will download, compile, and install Geeqie on Debian-based systems.
@@ -44,7 +44,7 @@ libgexiv2-dev
 evince (for print preview)
 evince
 lua (for --remote commands)
-liblua5.1-0-dev
+liblua5.3-dev
 libffmpegthumbnailer (for mpeg thumbnails)
 libffmpegthumbnailer-dev
 libtiff (for tiff support)
@@ -567,7 +567,7 @@ then
        ninja -C build install
 else
        meson setup build
-       meson configure build -Dgtk3=false
+       meson configure build
        printf '%b\n' "90 " > "$zen_pipe"
        printf '%b\n' "#Installing Geeqie..." > "$zen_pipe"
        ninja -C build install
index 0e31be1..f9ee8ab 100644 (file)
@@ -354,15 +354,15 @@ else
 endif
 
 lua_dep = []
-req_version = '>=5.1'
+req_version = '>=5.3'
 option = get_option('lua')
 if not option.disabled()
-    lua_dep = dependency('lua5.1',  version : req_version, required : get_option('lua'))
+    lua_dep = dependency('lua5.3',  version : req_version, required : get_option('lua'))
     if lua_dep.found()
         conf_data.set('HAVE_LUA', 1)
         summary({'lua' : ['lua supported:', true]}, section : 'Configuration', bool_yn : true)
     else
-        summary({'lua' : ['lua5.1 ' + req_version + ' not found - lua supported:', false]}, section : 'Configuration', bool_yn : true)
+        summary({'lua' : ['lua5.3 ' + req_version + ' not found - lua supported:', false]}, section : 'Configuration', bool_yn : true)
     endif
 else
     summary({'lua' : ['disabled - lua supported:', false]}, section : 'Configuration', bool_yn : true)